---
title: Power Automate for desktop で connpass API やってみた
tags: 
author: [ふらり](https://www.docswell.com/user/fworlddocs)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/KJ49L3XV71.jpg?width=480
description: Power Automate for desktop 勉強会 で登壇させて頂きました。 デスクトップフローで connpass API を使ってみるまで四苦八苦した話です。    イベント情報 Power Automate for desktop 勉強会 vol.8 https://powerautomatedesktop.connpass.com/event/326966/
published: August 28, 24
canonical: https://www.docswell.com/s/fworlddocs/582G9Q-2024-08-28-220000
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/KJ49L3XV71.jpg)

Power Automate for desktopで
connpass API やってみた
ふらり@ROBO BOY
Community イベントを
効率的にGetする方法を考えてみた
その後…
Power Automate for desktop 勉強会 vol.8
2024/08/28


# Page. 2

![Page Image](https://bcdn.docswell.com/page/LE1KL1N4JG.jpg)

ふらり @ ROBO BOY
Community : ふらっと純喫茶 、気ままに勉強会
X : https://twitter.com/flali_world
Blog : https://flali.hatenablog.com/
Docswell : https://www.docswell.com/user/fworlddocs
@flali_world
2


# Page. 3

![Page Image](https://bcdn.docswell.com/page/GEWDV84ZJ2.jpg)

はじめに
本資料に掲載されている内容は、
いつか人になりたいと思っている
の空想上の出来事です。
内容間違っていたらごめんなさい。
@flali_world
3


# Page. 4

![Page Image](https://bcdn.docswell.com/page/47ZG482LE3.jpg)

Microsoft Power Platform
Power BI
Power Apps
Power Automate
Power Pages
Copilot Studio
Business analytics
Application development
Workflow automation
Business website
Intelligent Copilots
• Canvas Apps
• Model-driven Apps
Power Fx
Managed
Environment
• Cloud Flows &amp; Teams Flows
• Business Process Flows
• Desktop Flows
Microsoft
Dataverse
Data Connecters
AI Builder
@flali_world
4


# Page. 5

![Page Image](https://bcdn.docswell.com/page/YJ6Y3PVM7V.jpg)

Microsoft Power Platform
Power BI
Power Apps
Power Automate
Power Pages
Copilot Studio
Business analytics
Application development
Workflow automation
Business website
Intelligent Copilots
• Canvas Apps
• Model-driven Apps
Power Fx
Managed
Environment
• Cloud Flows &amp; Teams Flows
• Business Process Flows
• Desktop Flows
Microsoft
Dataverse
Data Connecters
AI Builder
@flali_world
5


# Page. 6

![Page Image](https://bcdn.docswell.com/page/GJ5GLKDQJ4.jpg)

以前はクラウドフローでやっていました
有償の制限が入る前はクラウドフローですべてやっていました。
connpass API で直近のイベントを効率よくGetしてみた話 | ドクセル (docswell.com)
@flali_world
6


# Page. 7

![Page Image](https://bcdn.docswell.com/page/LE3RLZMZ75.jpg)

イベントサーチAPIの無料提供廃止
2024年5月23日をもって、イベントサーチAPIの無料提供が終了。
スクレイピングなどによる情報の取得もNGに…(2024年9月には明記されるとのこと)
お知らせ — connpassご利用ガイド ドキュメント
@flali_world
7


# Page. 8

![Page Image](https://bcdn.docswell.com/page/8EDYNR64EG.jpg)

connpass API
企業・法人向けは有償ですが、コミュニティ・個人向けは申請にて無償利用が可能。
ただし、固定IP(グローバルIPアドレス)が必要。
connpassのAPI利用について — connpassご利用ガイド ドキュメント
connpass API利用規約 — connpassご利用ガイド ドキュメント
@flali_world
8


# Page. 9

![Page Image](https://bcdn.docswell.com/page/V7P65WYVJ8.jpg)

Power Automate や Logic Apps 検討
クラウドフローやLogic Apps (従量課金、マルチテナント)では難しそう…
Logic Apps (スタンダード、シングルテナント)はできそうだけど、割高…
Power Automate
Logic Apps
Power Automate (クラウドフロー)
従量課金(マルチテナント)
スタンダード(シングルテナント)
複数のエンドポイントから疎通
複数のエンドポイントから疎通
VNET統合とNAT Gatewayで
固定IPから疎通可能
料金は月額固定
料金は使った分だけ
リソースの確保と従量課金
料金は割高
Standard ロジック アプリと従量課金ロジック アプリの違い - Azure Logic Apps | Microsoft Learn
Azure NAT Gateway とは | Microsoft Learn
制約と構成の参考ガイド - Azure Logic Apps | Microsoft Learn
@flali_world
9


# Page. 10

![Page Image](https://bcdn.docswell.com/page/2JV3P8GREQ.jpg)

ローカルで実行されるデスクトップフローならいけるかも
インターネット契約(ISP契約)で固定IPを取得して、デスクトップフローからAPIを叩けばいける
かも！
固定IP
NVR510
@flali_world
10


# Page. 11

![Page Image](https://bcdn.docswell.com/page/5EG3P5867L.jpg)

とりあえず、固定IPを契約
既存で契約しているISP(インターネットサービスプロバイダー)は、固定IPが取得できなかったの
で、ISP契約を追加してみました。
固定IPアドレスが欲しい方へ ｜ 固定IPならプロパイダーのインターリンク【公式】 (interlink.or.jp)
@flali_world
11


# Page. 12

![Page Image](https://bcdn.docswell.com/page/4JQ52Z927P.jpg)

ネットワーク構成の変更
変更前
IPv6 IPoE接続
NVR510
家庭内
IoT
学校
仕事 A
仕事 B
@flali_world
12


# Page. 13

![Page Image](https://bcdn.docswell.com/page/K749L3XPE1.jpg)

ネットワーク構成の変更
変更後。赤系統に繋ぐことで固定IPの回線から接続が可能
IPv6 IPoE接続
PPPoE接続(固定IP)
NVR510
家庭内
IoT
学校
仕事 A
仕事 B
@flali_world
13


# Page. 14

![Page Image](https://bcdn.docswell.com/page/LJ1KL1NX7G.jpg)

デスクトップフローのテスト
固定IPの系統から connpass API をたたいてみます。
今月と翌月を
yyyyMM形式で取得
JSONの中身を確認
しやすい
@flali_world
14


# Page. 15

![Page Image](https://bcdn.docswell.com/page/GJWDV84K72.jpg)

実際運用しているハイブリッドフロー
クラウドフローからデスクトップフローを呼び出し、APIコールした結果をクラウドフローで処
理してテキストデータに加工しています。
①ボタントリガー
クラウドフロー
デスクトップフロー
②デスクトップフロー呼び出し
③APIコール
⑤イベント情報(JSON)
④イベント情報取得(JSON)
JSON
データ結合
⑥
TEXTデータ形成
TEXTデータ出力
※クラウドフローからの実行には Power Automate Premium が必要です。
@flali_world
15


# Page. 16

![Page Image](https://bcdn.docswell.com/page/4EZG482NJ3.jpg)

さいごに


# Page. 17

![Page Image](https://bcdn.docswell.com/page/Y76Y3PV9EV.jpg)

まとめ
connpass API は有償！
コミュニティや個人向けは無償利用可！
※要固定IP、要申請 ※利用規約はよくよみましょう！
PADでも Web API を取り扱うことが可能！
クラウドフローとデスクトップフローの
得意なところを組み合わせると便利！
@flali_world
17


# Page. 18

![Page Image](https://bcdn.docswell.com/page/G75GLKDD74.jpg)

今回のデスクトップフローの作成のしかたは…
詳しくはWebで！
Power Automateデスクトップフローで今月と来月をyyyyMM形式で取得する
Power Automateでconnpass APIをつかってみた
@flali_world
18


# Page. 19

![Page Image](https://bcdn.docswell.com/page/9J2YL6MMJR.jpg)

Thank you !
※ Microsoft、Microsoft 365、Office 365、Microsoft Dynamics、Microsoft Azure 、Power Platform 、 Power Apps、Power Automate、Power BI、Microsoft Dataverse 及び関連する名称並びにそれぞれのロゴは、米国 Microsoft Corporationの米国
およびその他の国における登録商標です。※ QRコードの商標はデンソーウェーブの登録商標です。


