-1

i am trying to link my ADFS to Office 365 in order to set up Single Sign On for Office 365. I am going over this blog post. at Step 5, i am supposed to run Powershell commands so i can connect the ADFS to Office 365.

Set-MsolAdfscontext -Computer <AD FS server FQDN>
Convert-MsolDomainToFederated -DomainName <domain name>

i am unable to determine the FQDN for the ADFS server. i searched around a lot on the web, but was not able to locate the solution. i am just getting started with all configuration of ADFS and Office 365, but was not able to find out a solution. any answers?

BastianW
  • 2,868
  • 4
  • 20
  • 34

3 Answers3

1

I recently setup AD FS for Office 365. I would recommend you to use the following technet blog:

Install ADFS for Office 365 - Part 3

Kindly note that this is Part 3 and there are two other parts if you need assistance with the initial configuration.

As you might see in the document,

Set-MsolAdfscontext -Computer <AD FS server FQDN>

is the adfs server name that you might have given the server while you setup the adfs role (example - adfs.companyname.com)

Then with the following PowerShell command,

Convert-MsolDomainToFederated -DomainName <domain name>

You would be able to convert your Office 365 domain from a Managed Domain to Federated. (The default domain name given in Office 365 is generally companyname.onmicrosoft.com however, you can verify your company domain and enter the same here as the domain name.)

Akash Masand
  • 111
  • 4
0

The FQDN is the one you entered while setting up ADFS. Normally something like sts.example.com, federation.example.com, login.example.com

kasperd
  • 30,455
  • 17
  • 76
  • 124
MichelZ
  • 11,068
  • 4
  • 32
  • 59
  • ok. and the domain name will be the one i registered with Office 365, right? – Gaurav Sood Jun 09 '14 at 07:41
  • does not have to be. You already used it in the ADFS config... just look at your ADFS config – MichelZ Jun 09 '14 at 10:45
  • DNS Name: abcdsso.cloudapp.net User: myuser Password: password Domain Controller Root Domain Name: abcd.com NetBIOS Name: ABCD so FQDN would be: abcdsso.cloudapp.net – Gaurav Sood Jun 09 '14 at 11:18
  • Michel, that answer is incorrect. Please see http://technet.microsoft.com/en-us/library/jj205461.aspx. The value entered for context is not the federation service hostname. – maweeras Jun 09 '14 at 20:22
0

Please see http://technet.microsoft.com/en-us/library/jj205461.aspx. This explains exactly how to federated Adfs with o365.

maweeras
  • 2,734
  • 2
  • 17
  • 23
  • i could not understand what FQDN to put. whenever i try to enter the powershell command, it rejects my credentials. will the FQDN be the federation service display name? or will it be server name, as seen in the ADFS section in Server Manager on Azure? – Gaurav Sood Jun 10 '14 at 04:03