New-CsOnlineApplicationInstance: Access Denied.

Takeharu 0 Reputation points
2024-10-07T14:50:57.1866667+00:00

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.

enter image description here

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?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,135 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,037 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,523 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,789 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.