> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/hajimeni/chat-and-alerts/send-alerts-to-private-microsoft-teams-channels.md).

# プライベートな Microsoft Teams チャンネルにアラートを送信する

Microsoft Teams アプリはプライベート Teams チャネルのメンバーになれないため、プライベート チャネルにアラートを送信するには追加設定が必要です。この理由は、Microsoft Teams に数年前から存在する技術的な制限であり、これまで解決されていませんでした。場合によっては、代わりに新しい MS Team を作成し、許可された人だけがこのチームにアクセスできるようにする方が簡単なことがあります。なお、プライベート チャネルへのアラートは Aikido ではなく、セットアップ手順を実行したユーザーとして送信されます。

***

プライベートな Microsoft Teams チャネルにアラートを送信するには、次の手順に従ってください：

{% stepper %}
{% step %}
**Aikido アプリをインストールする**

まだの場合は、このページに記載されている手順に従ってください： [Microsoft Teams 通知](/docs/docs-ja/hajimeni/chat-and-alerts/ms-teams-notifications.md)
{% endstep %}

{% step %}
**ワークフローを作成する**

アラートを受信するプライベート チャネルを選択し、「その他のオプション」（三点リーダー）をクリックして「ワークフロー」を選択します。

検索して選択 **「チャネルに webhook アラートを送信する」**。その後、Microsoft Team と、アラートの送信先となるプライベート チャネルを選択します。「保存」をクリックして作成を完了します。

<figure><img src="/files/9d1ec76375dbc06cd945e2a637ffd11e2d88aafe" alt=""><figcaption><p>Microsoft Team とプライベート チャネルを選択</p></figcaption></figure>

コピー ボタンを使ってワークフローの URL をコピーし、保存します。この URL は後で必要になります。

<figure><img src="/files/cbe2b7d08d0e3f797d66de39b901bc7bb878d9ef" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**セットアップを完了する**

Aikido ダッシュボードで Microsoft Teams の連携ページを開き、「新しいアラート」をクリックします。チャネル選択入力内で、「別のプライベート チャネルをリンク」をクリックします。その後、次のダイアログが開きます。Microsoft Team を選択し、チャネル名とワークフローの URL を入力します。「チャネルを追加」をクリックしてセットアップを完了します。

<figure><img src="/files/f6c68970f4c949d08cf4edb75fcd55c78793321e" alt="" width="563"><figcaption><p>接続を完了する</p></figcaption></figure>
{% endstep %}

{% step %}
**セットアップの成功を確認する**

「チャネルを追加」をクリックすると、プライベートな Microsoft Teams チャネルに「このチャネルは Aikido に正常に追加されました。」というメッセージが届くはずです。メッセージが届かなかった場合は、次の手順を確認してください。
{% endstep %}

{% step %}
**ワークフローを編集する（常に必要なわけではありません）**

{% hint style="info" %}
この手順は、プライベート チャネルで成功メッセージを受信しなかった場合にのみ必要です。
{% endhint %}

ワークフローは、Power Automate ボットとしてメッセージを送信するように設定されていることがありますが、このボットもプライベート チャネルにはメッセージを送信できません。

ダイアログの右下にある「Workflows Home」をクリックし、次に「Edit in Power Automate」をクリックします。「Attachment is null」セクションをクリックして展開します。「Post card in a chat or channel」アクションを変更し、次のスクリーンショットに示すように「Post as」設定で「User」を選択します。その後、変更を保存してください。

<figure><img src="/files/c2d9c2fec73c5b572125e3542ecd322e418a4c25" alt=""><figcaption><p>ワークフローを変更する</p></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/hajimeni/chat-and-alerts/send-alerts-to-private-microsoft-teams-channels.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
