When you would like to work with the whole new Dynamics 365 Omnichannel Engagement HUB and you get the following error:
AADSTS65001: The user or administrator has not consented to use the application with ID
Please follow the next steps to solve it:
Navigate to the applications tab in the Dynamics 365 Administration Center, as stated on the official Microsoft website https://docs.microsoft.com/en-us/dynamics365/omnichannel/try-channels :
Click on “Manage” and you will be redirected to the Omnichannel Management screen looking like below:
You can add an organisation and follow trough the steps. Unfortunately most of the times an error will pop-up with the following message:
AADSTS65001: The user or administrator has not consented to use the application with ID ‘someid1’ named ‘Omnichannel for Customer Service’. Send an interactive authorization request for this user and resource. Trace ID: someid2 Correlation ID: someid3 Timestamp: sometimestamp
It’s impossible to solve this part in Azure because the consent cannot be managed from there.
That’s why we have to manually consent the Omnichannel Engagement App via an URL:
At the place of the client-id please put the ID ‘someid1’ from your error message. Agree to this consent and now you can install Omnichannel Engagement HUB for your organisation.
Please be aware that you need to be a Global administrator.