We have been trying to configure Azure B2C using Microsoft as an Identity Provider. We have successfully managed to configure this within our Azure B2C tenant, and when we run the Sign In User Flow it executes as expected, driving the user through to Microsoft to authenticate.
However, when we bind this to our PowerApps Portal, we receive the following error:
“ Invalid request: The Provided Value for the input parameter ‘redirect_uri’ is not valid. The expected value is a URI which matches a redirect URI registered for this client application.”
We have followed numerous blogs (inc the ReadyXRM blog) and each of the Microsoft docs that references Azure B2C, but I have so far not been able to locate an article which deals with Microsoft Identity Provider specifically with the PowerApps portals configuration.
Our redirect URI is pointing to “domainname.powerappsportals.com/signin-B2C” and this seems to work fine for email auth in the portal.
I wonder if anyone has experience of setting this up and might have ideas of what could be causing this issue, as I am convinced it is Portal Configuration and the online documentation is extremely light.