> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/integrations/notifier-integrations/microsoft-teams.md).

# Microsoft Teams

{% hint style="info" %}
Installing P0 on Microsoft Teams takes about 5 minutes.
{% endhint %}

### Before you begin

Make sure you are either "Privileged Role Administrator" or "Global Administrator" for your Microsoft Entra ID directory, or ask a user with one of these roles to install the P0 Microsoft Teams integration.

### Adding Microsoft Teams

1. On [p0.app](https://p0.app), navigate to "Integrations", then select **Microsoft Teams**.

<figure><img src="/files/JA1cp0KzZV1ORoQksHNU" alt=""><figcaption></figcaption></figure>

2. Complete the prerequisite steps outlined before clicking the "Install integration" button
   * Make the app available to users in your organization ([Teams docs](https://learn.microsoft.com/en-us/microsoftteams/teams-custom-app-policies-and-settings#upload-a-custom-app-using-teams-admin-center))
     * Access app management in the [Admin Center](https://admin.teams.microsoft.com/policies/manage-apps)
     * Navigate to Manage apps and search for P0 Security
     * Edit availability to all users of your organization

<figure><img src="/files/LyHdmhdIXv3LxBAZBj2y" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
While typically it takes a few minutes, sometimes it may take hours before the P0 Security app becomes fully available in your Teams instance.\
If you encounter errors during the installation process, try again later.
{% endhint %}

3. Click the "Install integration" button. You will be redirected to login to Entra ID. Authorize the P0 Security Bot by clicking "Accept".

<figure><img src="/files/JHuD96i7oTpAlU8Tyhdl" alt="" width="338"><figcaption></figcaption></figure>

4. Choose a Team and a public Channel where the P0 Security Bot will send approval messages. Click "Connect" to complete the installation.

{% hint style="info" %}
The Microsoft Teams integration supports standard channels only
{% endhint %}

<figure><img src="/files/k4irkBzUiLr6G3B3kSx6" alt="" width="563"><figcaption></figcaption></figure>

You should see the following screen when the integration is successful:

<figure><img src="/files/I4pBaAvsRfj6wCeBs3Ao" alt="" width="563"><figcaption></figcaption></figure>

You can pick a new channel from the drop-down and click "Switch channel" any time to route approval messages to a different channel. To use a different team, uninstall first by clicking the trash icon and re-install in a different team.

And that's it. You're ready to use p0 to grant least-privileged, just-in-time access to members of your organization!
