Forum Discussion
Manmeet Singh
Apr 30, 2018Copper Contributor
Add Support for Multiple Domains for federation with O365
Hi Team, We currently have ADFS (ADFS is running on Windows 2016) in place for around 100 users auth to 365 using a single domain 'domain1.com', we have federated it and enabled SSO. We now n...
Jul 05, 2018
Hi,
I've done this many times and there really isn't a long out-of-service period, maybe 1 minute or so.
# Connect to Office 365
Connect-MsolService
# Tell to Office 365 what ADFS server to use. Must be the primary ADFS Server if using Windows Internal DB
Set-MsolADFSContext -Computer <PrimaryADFSServer>
# Convert domain to standard without converting users.
Convert-MsolDomainToStandard -DomainName <yourdomain> -PasswordFile pwd.txt -SkipUserConversion $true
# Convert domain back to federated
Convert-MsolDomainToFederated -DomainName <yourdomain> -SupportMultipleDomain
# In secondary ADFS servers, restart ADFS service to update the config data
Restart-Service ADFSSrv