Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Recent Issue with Dynamics Portal Query Parameters Being Dropped at Login (via B2C)

Posted on by 58

I'm really just posting this so at least there's one relevant hit if anyone googles for it.

We use query parameters in links from our main website that point to portal pages that are protected by login.  E.g.   https://someportal.whateverdomain.com/buyaproduct/?productid=12345

The portal is configured to use Azure AD B2C for sign-in / sign-up and if a user is not yet authenticated then the portal redirects the user to B2C to login because the buyaproduct page is only accessible to signed-in users.   On completion of sign-in, the user should be at the buyaproduct page looking at product 12345.

Up until about the start of February, this was all working finely and the productid was passed through the B2C login (in the state property, if I recall correctly).

However, it seems a portal update (to 9.3.ish) in early February broke this and the parameter is now lost through the B2C process.   [I can see it's a portal and not a B2C problem because checking in the Chrome debugger I can see there is a redirect to a portal-based ExternalLogin URL first and the parameter is contained in that but incorrectly URL encoded.]

Anyway:  couldn't find a workaround, it's been raised with Microsoft Support and we await some useful progress.

Cheers,

Mike.

  • mwm Profile Picture
    mwm 58 on at
    RE: Recent Issue with Dynamics Portal Query Parameters Being Dropped at Login (via B2C)

    @Mohamed Mohran:  Don't suppose you've got any kind of reference number or link for that bug, have you?    Support (first-line) are telling me there's no particular mention of the (now fixed) issue...

    (I was hoping to gain some understanding for next time...)

    Cheers,

    Mike.

  • Verified answer
    mmohran Profile Picture
    mmohran on at
    RE: Recent Issue with Dynamics Portal Query Parameters Being Dropped at Login (via B2C)

    Yes, it is a known issue. If you upgrade your portal to the latest, the issue will be fixed.

  • mwm Profile Picture
    mwm 58 on at
    RE: Recent Issue with Dynamics Portal Query Parameters Being Dropped at Login (via B2C)

    Not certain yet if it was anything to do with *my* support call, but this was fixed in the environments I care about by the (scheduled) portal update that Microsoft performed last night.  

    We're now at version 9.3.3.13 (according to the /_services/about url) whereas the problem version was 9.3.1.9.

    In the meantime I had created a brand new trial portal that did *not* appear to exhibit the problem - the version on that was 9.3.1.19, though that has also been updated to 9.3.3.13 overnight.

    Mike.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans