I have a Microsoft hosted Portal configured with a Dynamics 365 CE instance.
The authentication is configured to use Azure AD B2C and this is working properly.
The issue I have is when a user chooses the "sign out" link their session is ended but the user is not redirected to the page they were on when the logged off (the returnUrl specified in the query string)
/en-US/Account/Login/LogOff?returnUrl=%2test%2F
From tracking the flow using Fiddler it looks like the portal is not passing the return URL to B2C and is instead passing the root URL. This process does work if I use a portal "local account" so it seems to be related to how the portal calls the logoff for B2C.
From /_services/about the version is 9.2.4.66
Does anyone have a workaround for this or is this a bug in the portal?
Thanks