Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Self hosted Event Portal with B2C

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans