web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Pages - Power Apps Portals
Answered

Failing to get Azure AD B2C successfully configured for PoC - AppDataPortalBusProvider.cs access denied

Like (0) ShareShare
ReportReport
Posted on 24 Nov 2019 00:04:15 by 13

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

URL: https://lgps01.powerappsportals.com/Account/Login/ExternalLogin?returnUrl=%2F&provider=https%3A%2F%2Falluviatechb2c.b2clogin.com%2Ftfp%2FAlluviaTechB2C.onmicrosoft.com%2FB2C_1_signupsigninportal%2Fv2.0%2F 

 

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?

I have the same question (0)
  • Verified answer
    Sandeep Dhanrajani Profile Picture
    on 25 Nov 2019 at 03:07:41
    Re: Failing to get Azure AD B2C successfully configured for PoC - AppDataPortalBusProvider.cs access denied

    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

     

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Loading complete