microsoftgraph / microsoft-graph-comms-samples

Microsoft Graph Communications Samples
MIT License
211 stars 236 forks source link

New-CsOnlineApplicationInstance: Access Denied. #769

Open katutake0501 opened 1 month ago

katutake0501 commented 1 month ago

To implement PolicyRecordingBot, I am using the README.md page as a reference.

However, when I run the command

New-CsOnlineApplicationInstance -UserPrincipalName <upn@contoso.com> -DisplayName <displayName> -ApplicationId <your_botappId>

I get the error

New-CsOnlineApplicationInstance: Access Denied.

スクリーンショット 2024-10-07 20 33 26

I would like to know how to deal with this error.

Furthermore, I found on this site that the command

New-CsOnlineApplicationInstance

is not supported.

If this command is not available, how can I create an application instance instead?

InDieTasten commented 1 month ago

You will need to sign into a user account that has Teams Administrator permissions in the tenant when running the Connect-MicrosoftTeams command.