
Announcements
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.
Hi
I have been trying to resolve the same from yesterday.
Somehow i already tried the method mentioned By Microsoft. It didn't Worked.
But today i came across it again going through your post and tried...Worked! 😉
So here What i Understood.
First its Not Problem From App Side but Azure Side (According to Microsoft Documentation).
Second The Steps that i did
1- Leave the Android Hash Field Blank and Build the App...Succeeded (Idk But Maybe it Autogenerated the Redirect URI in Azure But any case Ignore that )
2- Run the App in Mobile and When Got this Mismatch Error.
3- Get the URI and Go Back To Azure App Registration (You can Find With the ID Mentioned in Error)
4- Authentication and Add Platform
5- Select Android
6- Put Package Name and Android Hash According to Image i Mentioned (Replace the %3D With = Sign)
OR
Easy Way Instead Step 5 Select this
and Provide URI Under "Custom Redirect"
7- Configure and Save if it Does.
8- Refresh and Run Again the App and Do Sign In...Should Work. (maybe wait a little to reflect the changes)
Hope it will be Helpful
Thanks & Regards 🙂