Azure AD Connect with ADFS customization.

So scenario was this.

Customer has an Office 365 tenant all ready in-place. The users in Onpremise AD have SamAccountNames as UserPrincipalNames.

The next step Is obvious. Add UPN-suffix and change UserPrincipalName to match email address.
Then add mail-attribute for the users.

Then install Azure AD Connect and do the configuration.

Sync for the first time and Enable AutoUpgrade.

https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-feature-automatic-upgrade

When You see users as Synced then proceed with ADFS and integration with Office 365.

Customize if You want.

https://technet.microsoft.com/en-us/windows-server-docs/identity/ad-fs/operations/ad-fs-user-sign-in-customization?f=255&MSPPError=-2147217396

Add IE Registry settings with Group Policy Preference. Why with registry, You ask? Because then the user has options to add more sites if they wish to.


And If you want to allow IWA to authenticate with other Browsers.

Or

Smart Urls, for Your convience. Change the RED to Your own names.

Sharepoint:
https://login.microsoftonline.com/login.srf?wa=wsignin1%2E0&whr=YouAdfsServerPublicName&wreply=https://YourTenantName.sharepoint.com&LoginOptions=1

Onedrive:

https://login.microsoftonline.com/login.srf?wa=wsignin1%2E0&rver=6%2E1%2E6206%2E0&wreply=https%3A%2F%2FYourTenantName-my.sharepoint.com%2F&whr=YourPrimarUpnSuffix

Owa:
https://outlook.com/owa/YourPrimarUpnSuffix

Portal:
Next part will be Shibboleth and Java authentication with Azure REST API and ADFS tokens.
Author: Harri Jaakkonen

Leave a Reply

Your email address will not be published. Required fields are marked *