Microsoft Online: SharePoint Online

Hi all,

    I am trying to setup a single sign on for my sharepoint site that came with Office365. I have setup ADFS in my machine and I have installed Azure Active Directory Module for Windows Powershell.

My environment looks like this:

My office365 domain: sxy.onmicrosoft.com

Sharepoint Online: sxy.sharepoint.com

The domain that my machine is connected to is 

micromania.com

I'm getting stuck running the cmdlet to convert my domain to a federated domain. Powershell Module is installed on the same machine that ADFS is installed on. I will walk you through the cmdlets that I'm trying to run:

$cred=Get-Credential (I am entering my credentials for my Office365 account )

Set -MSOLService -Credential $cred

Convert -MSOLDomainToFederated -DomainName sxy.onmicrosoft.com

I'm getting an error saying:

Convert-MsolDomainToFederated: You cannot convert the specified domain to use identity federation because the account you are currently signed in with is a member of the domain sxy.onmicrosoft.com. Please sign in to the service using an account that is a member of the company administrators role and is not part of the domain sxy.onmicrosoft.com, and then try again.

I tried replacing <sxy.onmicrosoft.com> with all possible domains that I listed above(micromania.com, sxy.sharepoint.com) for which I get an error saying "The domain name does not exist."

I am confused and I don't know what domain name I should replace <sxy.onmicrosoft.com> with. 

So,would very much appreciate your help.

September 5th, 2015 8:40am

Hi,

In this forum we discuss questions and feedbacks about Office client products, as your questions is related to SharePoint Online, I suggest you post the question in this forum:

https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicessharepoint

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

Regards,

Melon Chen
TechNet Community Su

Free Windows Admin Tool Kit Click here and download it now
September 6th, 2015 10:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics