web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Dynamics 365 Portal Sign in failed after login from Azure B2C

(0) ShareShare
ReportReport
Posted on by 20

Hi There,

When users redeem invitation or login to our portal, sometime go to the "sign in failed" portal page(  /Account/Login/ExternalAuthenticationFailed)  after they are authenticated from Azure B2C  and redirected back to portal, 

But if the users redeem or login again, they authenticate successfully. This doesn't happen every time for a user. 

And the reply uri in Azure for the portal app is set properly. 

Is there anyone know what might be the cause? 

Thanks in advance

I have the same question (1)
  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi Partner,

    It may be caused by portal cache.

    You could try to add your portal base URL in the Azure AD Application.

    This blog is also for your reference.

    https://powermaverick.dev/2019/07/03/resolved-portal-authentication-error-using-azure-b2c/

    Best Regards,

    Leo

  • CU19121233-0 Profile Picture
    4 on at
    Hello ,
     
    Did anyone found how we can dubeg this issue.
    We already have azure B2C setup.
     
    I suspect updating secrets in app registration stopped communication between B2C and powerpage.
    Please help to provide more details.
  • Suggested answer
    CU08121023-0 Profile Picture
    on at

    I’ve noticed that intermittent “sign in failed” errors after Azure B2C authentication are often caused by portal caching or outdated secrets in the app registration. To troubleshoot, I make sure the portal base URL is added in Azure AD, verify all reply URIs, and check that client secrets or certificates are current. Clearing portal cache and testing a fresh login usually helps identify whether the issue is cache-related or due to misaligned app registration settings.

     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans