The request failed with HTTP status 403: Forbidden when you run the Hybrid Configuration wizard

Original KB number:   3067975

Problem

You want to set up a hybrid deployment between your on-premises Microsoft Exchange Server organization and Exchange Online in Microsoft Office 365. However, when you run the Hybrid Configuration wizard, you receive an "An error occurred accessing Windows Live. The request failed with HTTP status 403: Forbidden" error message. The full text of the message resembles the following:

ERROR:Updating hybrid configuration failed with error 'Subtask Configure execution failed: Creating Organization Relationships.

Execution of the Set-FederatedOrganizationIdentifier cmdlet had thrown an exception. This may indicate invalid parameters in your Hybrid Configuration settings.

An error occurred while attempting to provision Exchange to the Partner STS. Detailed Information ""An error occurred accessing Windows Live. Detailed information: ""The request failed with HTTP status 403: Forbidden.""."".
at Microsoft.Exchange.Management.Hybrid.RemotePowershellSession.RunCommand(String cmdlet, Dictionary`2 parameters, Boolean ignoreNotFoundErrors)

Cause

This issue may occur if a timing issue is preventing the Hybrid Configuration wizard from completing successfully.

Solution

Wait approximately 30 minutes, and then rerun the Hybrid Configuration wizard.

Still need help? Go to Microsoft Community or the Exchange TechNet Forums.