Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creating Application Access Policy

Step 4 - Execute the following command. Replace the <Policy Name> part with a unique name for the policy. Replace the <Bot App ID> part with the Application (Client) ID of the App Registration of the Bot. Replace the <Description> with a description.

Code Block
languagepowershell
New-CsApplicationAccessPolicy -Identity "<Policy Name>" -AppIds "<Bot App ID>" -Description "<Description>"

Step 5 - Execute the following command. Replace the <Policy Name> part with the name provided in the previous command.

Code Block
languagepowershell
Grant-CsApplicationAccessPolicy -PolicyName "<Policy Name>" -Global

...