0

I am creating a bot based on the instruction on this link but I am getting the Authorization_RequestDenied message when submitting.

Insufficient privileges to complete the operation.

Please check that your account has sufficient access to the Microsoft App 
Registration Portal link below.
Open App Registration Portal

I am able to access the registration portal link.

Note that I am using a free account.

Soham Dasgupta
  • 5,061
  • 24
  • 79
  • 125
FRomero
  • 1
  • 1

1 Answers1

0

From the troubleshooting page: https://learn.microsoft.com/en-us/bot-framework/bot-service-troubleshoot-general-problems#why-do-i-get-an-authorizationrequestdenied-exception-when-creating-a-bot

Why do I get an Authorization_RequestDenied exception when creating a bot?

Permission to create Azure Bot Service bots are managed through the Azure Active Directory (AAD) portal. If permissions are not properly configured in the AAD portal, users will get the Authorization_RequestDenied exception when trying to create a bot service.

First check whether you are a "Guest" of the directory:

  1. Sign-in to Azure portal.
  2. Click All services and search for active.
  3. Select Azure Active Directory.
  4. Click Users.
  5. Find the user from the list and ensure that the User Type is not a Guest. Azure Active Directory User-type

img

Once you verified that you are not a Guest, then to ensure that users within an active directory can create bot service, the directory administrator needs to configure the following settings:

  1. Sign-in to AAD portal.
  2. Go to Users and groups and select User settings.
  3. Under App registration section, set Users can register applications to Yes. This allows users in your directory to create bot service.
  4. Under the External users section, set Guest users permissions are limited to No. This allows guest users in your directory to create bot service. Azure Active Directory Admin Center

img