> 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 %}
**ワークフローを作成する**

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

検索して選択 **「チャネルに 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」をクリックし、次に「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.
