> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibraniumlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Meeting Link Setup

## Set Up Microsoft Teams Application Access Policy for Online Meetings

This guide helps Microsoft 365 tenant administrators allow Vibe AI to create Microsoft Teams online meetings for your organization.

Vibe AI uses Microsoft Graph application permissions to create Teams meeting\
links. In addition to granting the Microsoft Graph application permission, Microsoft requires a Teams application access policy for app-only online meeting creation.

Use the tenant-wide setup below if you want Vibe AI to create meetings on behalf of any eligible user in your tenant without assigning a policy to each user individually.

### Docs Reference

* [https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy#configure-application-access-policy](https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy#configure-application-access-policy)

## Before You Start

You need:

* Microsoft Teams PowerShell access as a Microsoft 365 administrator who can\
  manage Teams application access policies.
* The Vibe AI Microsoft application client ID.

  1. Open PowerShell.

  * Use the Azure app registration **Application (client) ID**.
  * Do not use the Teams app manifest ID, Teams app catalog ID, or service\
    principal object ID.
* Tenant admin consent already granted for the Vibe AI Microsoft Graph\
  application permissions, including `OnlineMeetings.ReadWrite.All`.

## Create the Tenant-Wide Policy

1. Install and import the Microsoft Teams PowerShell module if needed.
   ```powershell theme={null}
   Install-Module MicrosoftTeams -Scope CurrentUser
   Import-Module MicrosoftTeams // if needed
   ```
2. Connect to Microsoft Teams.
   ```powershell theme={null}
   Connect-MicrosoftTeams
   ```
3. Create an application access policy for Vibe AI.

   Replace `5a1b9fa0-8083-439b-b056-ed14a54a077e` with the Vibe AI Azure app\
   registration Application (client) ID.

   ```powershell theme={null}
   New-CsApplicationAccessPolicy -Identity "VibeAI-OnlineMeetings" -AppIds "5a1b9fa0-8083-439b-b056-ed14a54a077e" -Description "Allow Vibe AI to create Microsoft Teams online meetings"
   ```
4. Grant the policy tenant-wide.
   ```powershell theme={null}
   Grant-CsApplicationAccessPolicy -PolicyName "VibeAI-OnlineMeetings" -Global
   ```
5. Wait for the policy to take effect.

   Microsoft policy changes can take up to 30 minutes to apply to Microsoft\
   Graph online meeting calls.

## Confirm the Policy

Check that the policy exists and contains the Vibe AI application client ID.

```powershell theme={null}
Get-CsApplicationAccessPolicy -Identity "VibeAI-OnlineMeetings"
```

You should see the Vibe AI application client ID listed in `AppIds`.

## Important Notes

* A tenant-wide grant applies to users who do not already have an explicit\
  application access policy assignment.
* If a user already has a per-user application access policy, that explicit\
  policy takes precedence over the tenant-wide policy. Add the Vibe AI\
  application client ID to that user’s assigned policy, or update the user’s\
  policy assignment.
* Vibe AI creates meetings on behalf of an organizer user in your tenant. The\
  policy must allow the Vibe AI application for that organizer user, either\
  through the tenant-wide grant or through the user’s explicit policy.
* This setup does not add meetings to a user’s calendar. Microsoft Graph\
  `onlineMeetings` creates standalone Teams meeting links.
* This policy lets Vibe **create** a meeting link. It does not let Vibe **join** a meeting as a signed-in participant. If the bot is bounced from a meeting, see [Allow Vibe as an external Teams domain](https://docs.vibraniumlabs.ai/integrations/microsoft-teams/allow-vibe-as-an-external-teams-domain.md).

## Troubleshooting

### Meeting creation still fails after setup

Wait at least 30 minutes after creating or updating the policy, then try again.

### A specific user still cannot create meetings

The user may already have an explicit application access policy assignment.\
Check the user’s Teams policy assignments and make sure the assigned\
application access policy includes the Vibe AI application client ID.

### The wrong app ID was used

Create or update the policy with the Azure app registration Application\
(client) ID for Vibe AI. The Teams app manifest ID, Teams app catalog ID, and\
service principal object ID will not authorize Microsoft Graph online meeting\
creation.

### Tenant admin consent is missing

This policy does not replace Microsoft Graph admin consent. Confirm that the\
Vibe AI app registration has tenant admin consent for\
`OnlineMeetings.ReadWrite.All`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.