Error message when you run the Set-FederatedOrganizationIdentifier cmdlet to set up a hybrid deployment: "InvalidUri: Passed URI is not valid"

Article translations Article translations
Article ID: 2615183 - View products that this article applies to.
Expand all | Collapse all


You want to set up a hybrid deployment between your on-premises Microsoft Exchange Server 2010 organization and an external federated organization. However, when you run the Set-FederatedOrganizationIdentifier cmdlet to set up the federated organization identifier, the operation isn't successful.

You receive an error message that resembles the following:
InvalidUri: Passed URI is not valid
The following is an example of this error message in the output:
C:\Windows\system32>set-federatedorganizationidentifier -DelegationFederationtrust 'Microsoft Federation Gateway' -
accountnamespace 'exchangedelegation.<Contoso>.com' -Enabled $true
An error occurred while attempting to provision Exchange to the Partner STS. Detailed Information "An unexpected resul
t was received from Windows Live. Detailed information: "InvalidUri InvalidUri: Passed URI is not valid.".".
+ CategoryInfo : InvalidResult: (:) [Set-FederatedOrganizationIdentifier], ProvisioningFederatedExchangeE
+ FullyQualifiedErrorId : C02BD180,Microsoft.Exchange.Management.SystemConfigurationTasks.SetFederatedOrganization
Note In this output, <Contoso> is a placeholder for the domain name.


This issue occurs if the domain name for your organization is blocked. A domain name may be blocked in Windows Live for the Microsoft Azure Active Directory (Azure AD) authentication system if the domain name is reserved or if it doesn't meet certain requirements.


To resolve this issue, contact Microsoft Support.


For more information about the Set-FederatedOrganizationIdentifier cmdlet, go to the following Microsoft website:
Still need help? Go to the Office 365 Community website.


Article ID: 2615183 - Last Review: July 9, 2014 - Revision: 12.0
Applies to
  • Microsoft Exchange Online
  • Microsoft Exchange Server 2010 Service Pack 1, when used with:
    • Microsoft Exchange Server 2010 Standard
    • Microsoft Exchange Server 2010 Enterprise
o365 o365a o365e o365m o365022013 after upgrade hybrid KB2615183

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from