However, now and again I would get complaints around the authorization process not working properly, or asking for interactive login, both of which shouldn't be necessary for the authorization method used by WMDP.
So in this post I would like to give a small configuration tip that prevents the below error message:
Error: "The user or administrator has not consented to use the application with ID '
'. Send an
interactive authorization request for this user and resource.
The reason this error is shown is because the Native application setup in Azure for WMDP has access to resources that require the Azure admin to consent to that first.
|WMDP app is configured to allow access to AAD resources
As you can see, some of the resources WMDP app has access to require prior Admin consent.
When configuring the Native application for WMDP in Azure, only give it permissions for the Microsoft Dynamics ERP resources.
This will ensure you don't get unexpected errors when trying to connect to WMDP.
Happy Holidays to all of you!
Stay tuned for more posts next year and subscribe if you haven't already to get updates on the latest tips and tutorials for Dynamics 365 for Operations aka Dynamics AX aka Axapta :)