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

Self hosted Event Portal with B2C

(0) ShareShare
ReportReport
Posted on by 40

Hi all

I have deployed a self-hosted event portal to an Azure Storage Account.   All works fine in respect of displaying events and registering but after integrating AAD B2C I am receiving an error on the site once sign-in has occurred.

I believe I have set up B2C correctly as detailed here

https://pkoval.com/2019/12/03/how-to-configure-azure-b2c-authentication-for-event-management/

When the site is launched I can click "Sign-In" and then enter my email/password in the pop-up box.   However once seemingly "signed-in" the site errors when you go to an event and just loops back to sign-in.  In addition, the previously accessible events that did not require a sign-in now error.

pastedimage1617018909560v1.png


The main error in the console is 

Failed to load resource: the server responded with a status of 502 ()

This is against the URi   XXXXXX.svc.dynamics.com/.../authenticated

I have set the CORS policy on the storage account to accept all (*) PUT 

pastedimage1617018934048v2.png

For reference, the B2C tenant is different to the tenant that contains the instance of D365 Marketing.    Would that cause the issue?

Many thanks in advance.

I have the same question (0)
  • Suggested answer
    Eduard Brown Profile Picture
    Microsoft Employee on at

    Hi Redweb - Please file a support ticket to ensure we can assist you further here.

    admin.powerplatform.microsoft.com/  

    Thanks,

    Eddy

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 131 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans