Configure Basic Portal with Azure AD
- In the CRM, navigate to Portals > Site Settings. Click on the New button in the command bar.
- In the New Site Settings form, enter “Authentication/WsFederation/ADFS/MetadataAddress” in the Name field, select Basic Portal in the Website field, and enter the URL of the xml in the Value field. In this example, my URL is https://login.windows.net/1acd4c3e-8c5e-4901-972f-ecccd4787df6/FederationMetadata/2007-06/FederationMetadata.xml (See step 10 in the previous post).
- Add another Site Setting, enter “Authentication/WsFederation/ADFS/AuthenticationType” in the Name field, select Basic Portal in the Website field, and enter the URL in the entityID attribute found in the xml. In this example, my URL is https://sts.windows.net/1acd4c3e-8c5e-4901-972f-ecccd4787df6/ (See step 11 in the previous post).
- Add another Site Setting, enter “Authentication/WsFederation/ADFS/Wtrealm” in the Name field, select Basic Portal in the Website field, and enter http://localhost:8888 in the Value field.
- Add the final Site Setting, enter “Authentication/WsFederation/ADFS/Wreply” in the Name field, select Basic Portal in the Website field, and enter http://localhost:8888 in the Value field.
- You should now have 4 new Active Site Settings that look similar to this:
- To ensure that the portal website uses the new settings, perform an iisreset in a Command Prompt You may need to run this as an Administrator.
- Refresh the portal website in your browser and click on the Sign In button and then the ADFS button.
- The page should redirect to a Microsoft login page