Adding and Verifying a Federated Domain


Steps

Action

Launch Microsoft Online Services Identity Federation Management tool

At the PowerShell command prompt type

Type $cred = Get-Credential

In the pop up window specify the username used for online account management (your Office 365 administrator credentials)

image

Connect ADFS 2.0 and Office 365

Type Set-MSOLContextCredential -MSOLAdminCredentials $cred

image

Add a federated Domain

 

Note:

This creates a domain in Office 365 and marks it for federated authentication. You will need to verify domain ownership by performing the step indicated in the warning message.

 

For example:

WARNING: Please verify company.com domain ownership by adding a DNS ms123456789.company.com CNAME record targeting ps.microsoftonline.com at your domain registrar. More information can be found

http://technet.microsoft.com/en-us/library/cc742578.aspx

Add-MSOLFederatedDomain -DomainName Company.com

Verify a federated domain

Run the following command again

Add-MSOLFederatedDomain -DomainName Company.com (because the domain has already been created (as this commad was run in the previous step) the link will be created between the Microsoft Federation Gateway and your local ADFS 2.0 server. Office 365 will verify the CNAME record you created matches the information you were given to verify ownership of the domain.

 

Then run Get-MSOLFederationProperty -DomainName Company.com

Sign into Office 365 using you corporate credentials (you need to have AD synchronisation running). If you are successfully logged in then federation has been successfully verified

View the Active Domain in the Microsoft Online Services portal.

 

Sign into https://portal.microsoftonline.com

image

On the home page, select Admin

image

Select domains

image

Select you federated domain and notice to says domain type ‘federated’

image

Written by Daniel Kenyon-Smith

Comments (0)

Skip to main content