1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Qiitaのアクセス数取得自動化 Teams編③

1
Posted at

データ連携に奮闘中の皆様、いかがお過ごしでしょうか。

HULFT Square(Azureのテナント外部)からTeamsに通知するにあたり、方法が複数あります。例えば、「合言葉」と「トークン認証」です。

「トークン認証」でもよいと思いましたが、今回テストのため、「合言葉」を定期的に変えるのもよいかと思い、「合言葉」で作成していきます。

■Power Automateの設定
1.以下にアクセスし、ログインします(該当Teamsと同じ管理者)。
 make.powerautomate.com
2.左側のメニューから「マイフロー」をクリックし、「Webhookアラートを通知に送信する」をクリックします。
image.png
3.「Teams Webhook要求を受信したとき」のすぐ下の「+」を押します。
image.png
4.アクションを追加するの検索フィールドに「条件」と入力し、表示された「条件」を押します。
image.png
5.条件のウィンドウが表示されたら、「値を選択しますのフィールド」を押します。
image.png
6.「fx」を押します。
image.png
7.入力ウィンドウが表示されたことを、確認します。
image.png
8.「triggerOutputs()?['headers']?['x-webhook-secret']」を入力します。
image.png
9.真ん中の条件を「異なる」にします。
image.png
10.右側のフィールドに決めた「合言葉」の文字列を入力します。
image.png
11.Trueの「+」を押します。
image.png
12.アクションを追加するの検索フィールドに「終了」と入力し、表示された「終了」を押します。
image.png
13.「Status」の「Failed」を選択し、「保存」を押します。
image.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?