Hi @Plasmamc-9300,
Thanks for reaching out.
Generally, the error AADSTS50011 comes when the Redirect URL value provided in the application does not match with the Redirect URIs value configured in Azure AD.
The redirect URI, or reply URL is the address where the authorization server sends the user once the app has been successfully authorized and granted an authorization code or access token.
While registering the application in Azure AD, redirect URL need to specify as below:
and the same URL need to configure in your application while requesting the token from authorization server.
Hope this will help.
Thanks,
Shweta
-----------------------------------------------
Please remember to "Accept Answer" if answer helped you.