- Ensure that your organization has a valid Microsoft 365 subscription and that the service principal for your Azure Bot is correctly configured.
- Ensure that your Azure AD tenant is properly configured and that you have the necessary admin privileges to grant consent.
- Ensure that there are no conditional access policies blocking the consent process.
If the Azure portal method does not work, you can use PowerShell to grant admin consent.
https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent?pivots=ms-powershell#grant-admin-consent-for-delegated-permissions-using-microsoft-graph-powershell
Thanks,
Prasad Das
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.