This issue occurs if your Exchange organization's federation certificate has expired. When this issue occurs, you receive an error message that resembles the following:
The URI "contoso.com" for domain "contoso.com" on application identifier "xxxxxxxxxxxxxxxx" couldn't be released. Detailed information: "An unexpected result was received from Windows Live. Detailed information: "1007 AccessDenied: Access Denied.".".
To work around this issue, use the -force parameter to delete the current federation trust. To do this, follow these steps:
Identify your federated domainsIf you have multiple federated domain names, you'll have to determine which is your primary AccountNamespace.
Run the following cmdlet in the Exchange Management Shell to identify the federated domains and AccountNamespace:Get-FederatedOrganizationIdentifierFor example, if the AccountNamespace is set to FYDIBOHF25SPDLT.Contoso.com, Contoso.com is your primary Account Namespace. This will be the last domain to be removed.
Remove the federated domains if more than one domain is federatedRun the following cmdlet in the Exchange Management Shell to remove each federated domain:Remove-FederatedDomain -DomainName <your federated domain> -forceFor example: RemoveFederatedDomain -DomainNameForthCoffee.com -force
Remove the federated domain that's associated with yourAccountNameSpaceRun the following cmdlet in the Exchange Management Shell to remove the federated domain that's associated with your AccountNameSpace:Remove-FederatedDomain -DomainName <your federated domain> -forceFor example: Remove-FederatedDomain -DomainName Contoso.com -force
Remove the federation trustRun the following cmdlet in the Exchange Management Shell to remove the federation trust:Remove-FederationTrust "Microsoft Federation Gateway"
Article ID: 3215278 - Last Review: 2017 urt. 19 - Revision: 6
Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition, Exchange Server 2013 Enterprise, Exchange Server 2013 Standard Edition, Exchange Server 2010 Service Pack 3, Exchange Server 2010 Enterprise, Exchange Server 2010 Standard