Skip to main content

Notifications

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.

  • Suggested answer
    Eduard Brown Profile Picture
    Eduard Brown on at
    RE: Self hosted Event Portal with B2C

    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans