The redirect URI 'msauth://com.[PACKAGENAME]/[SIGNATURE HASH] specified in the request does not match the redirect URIs configured for the application 'AZURE CLIENT ID'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal
This error occurs if the redirect URI (reply URL) configured in the Power App Wrap porject and the Azure AD app registration don't match.
I examined the reply URL in both Azure and in my app settings in Wrap and they match apart from one character in the signature hash. It appears that Azure is substituting the equals sign at the end of the hash with the HTML entity for equals. I changed the redirect URI in the app to match the one in the registration and rebuilt/resigned etc but get the same error.
I found a solution for the error on Microsoft but it isn't related to Wrap so the solution it proposes doesn't work for my scenario.
I'm hoping someone out there has encountered and hopefully solved this issue.

Report
All responses (
Answers (