Sharepoint Online connection fails with Access Denied error when using SPIF module


Description

The following error may appear when connecting to the Sharepoint Online (Office 365) using the Sitecore SharePoint Integration Framework module:

20732 12:41:00 ERROR SharePoint integration wizard error
Exception: System.Web.Services.Protocols.SoapException
Message: Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Source: System.Web.Services
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Sitecore.Sharepoint.Data.WebServices.SharepointWebs.Webs.GetWeb(String webUrl)
   at Sitecore.Sharepoint.ObjectModel.Entities.Web.GetWeb(String webName)
   at Sitecore.Sharepoint.Web.Shell.Applications.IntegrationWizard.IntegrationWizardForm.DoLoadSharepointData(ICredentials credentials, String connectionConfiguration)
   at Sitecore.Sharepoint.Web.Shell.Applications.IntegrationWizard.IntegrationWizardForm.LoadSharepointData()

Solution

To address the issue, apply the following patch:

  1. Download the Sitecore.Support.53414.zip archive.
  2. Copy contents of the archive to the website root folder of your Sitecore solution.