Symptoms
When you try to sign in to the Microsoft Online Portal as a federated user, you may receive one of the following error messages:
Resolution
Update or repair the federation trust between your Active Directory Federation Services (AD FS) 2.0 server and the Microsoft Federation Gateway.
Step 1: Verify firewall settings
If you have a firewall that supports the following features, make sure that these features are disabled.
Note: This step applies to Forefront Threat Management Gateway (TMG) server. However, it is important to note that other firewall servers may also support these features.
Step 2: Repair the Relying Party trust
To repair your Active Directory Federation Services connection to the Microsoft Federation Gateway, follow these steps.
Step 3: Verify the endpoint for federation metadata
If the earlier steps do not resolve the issue, follow these steps:
Step 4: Repair possible corrupted information in Microsoft Federation Gateway
$cred=Get-Credential
Set-MSOLContextCredential -MSOLAdminCredentials $cred
Convert-MSOLDomainToStandard -DomainName [yourdomain] -skipUserConversion $true -PasswordFile “c:/msol/password.txt”
Note For [yourdomain], enter your domain (For example, enter contoso.com).
Convert-MSOLDomainToFederated -DomainName [yourdomain]
APPLY TO