I followed B2C setup guidance from:
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-settings
https://readyxrm.blog/2019/07/24/configure-azure-ad-b2c-for-powerapps-portals/
In Chrome browser, I see an HTTP Error 401 after hitting the sign in button
After enabling diagnostic logging, I discovered the following message:
RequestData:, RequestPath:, RequestExtension:, SessionId:, UserId:, CorrelationId:00000000-0000-0000-0000-000000000000, Elapsed:0, RequestMethod:, RequestContentType:, RequestAccept:, RequestCacheControl:, UserAgent:, HandlerName:, HandlerExecuted:False, VaryByCustom:, MemberName:OnSubscriptionErrorAsync, SourceFilePath:G:\Agents\BA1256\_wap\143\s\Framework\Adxstudio.Xrm\AspNet\PortalBus\AppDataPortalBusProvider.cs, SourceLineNumber:150, ExceptionMessage:Access is denied
I tried searching the internet, but have not been able to uncover any clues for next steps. Can anyone help?
Hi, I'm able to do it.
@Anonymous have you tried setting up the login page, web templates and site setting as mentioned here?
I guess you need to set up custom page.
I'm getting the same issue, On the user flow in B2C when I run it, it go through the registration and register the user but redirect to myportal.powerappsportals.com/signin-AAD-B2C_1 and land on page not found error. How to fix this? how can i get page redirect to the profile page?
Thanks,
-la
I updated Authority setting and on the RedirectURI, I changed suffix "signin-B2C" to "signin" and the issue is resolved. Thanks!
Can you re-check your site settings as per the documentation especially the value for Authentication/OpenIdConnect/[Federation-Name]/Authority setting? Your issue seems similar to the one reported in the forum (See the post and solution provided in the post there)
Specifically steps for this particular configuration are described in detail in the section "Sign up and Sign In user flow" in the blog here
Furthermore, when I Run User Flow from Azure AD B2C tenant it runs successfully (registering a new user) until right after entering the new password. Then it tries to redirect back to the PowerApps Portal and fails with "Page not found" error. I checked Azure AD B2C and the user is there, but the Profile says "Unknown".
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35