Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 787 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

W2008R2 Error when federating a local domain to Office 365: The connection to SRV.Domain.nl Active Directory Federation Services 2.0 server failed due to invalid credentials. [Solved]

This week I had to faderate a local ADFS server to Office 365.

While federating, I received this error

 

 

Set-MsolADFSContext -Computer SRV.Domain.nl

Set-MsolADFSContext : The connection to SRV.Domain.nl Active Directory Federation Services 2.0 server failed due to invalid credentials.

At line:1 char:1

+ Set-MsolADFSContext -Computer SRV.Domain.nl

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidOperation: (:) [Set-MsolADFSContext], Fed

erationException

+ FullyQualifiedErrorId : ConnectionToGenevaServerFailed,Microsoft.Online.

Identity.Federation.Powershell.ContextCredentialsCommand

 

Connecting to Office 365 :

 

Solution :

Don’t use the Set-MsolADFSContext –Computer sts.Domain.nl command when connecting/federating to Office 365 on the AD FS server itself.

 

Use :

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.