We need to implement Single Sign On between our Dynamics 365 Online instance and our custom website using the service, which is an ASP.NET MVC application hosted as an Azure webapp, and is displayed in IFrames on Dynamics.
For this reason we have implemented Azure Active Directory login on the web application with the existing Azure account, and registered the Application on the AAD.
Now when one signs in to Dynamics, they also get signed in to the web application as we need.
However;
- The web application doesn’t sign out when we sign out of dynamics.
- It doesn’t change the sign in account when we sign in to another account on dynamics, displaying the previously signed in user.
How should we configure it to make the single sign on work properly?
Found an old documentation here:
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/implement-single-sign-aspx-webpage-iframe#dynamics-365-customer-engagement-on-premises-with-an-azure-hosted-webpage
But it's getting on configuring the Dynamics on-premises and missing some info. We already have the AAD setup.

Report
All responses (
Answers (