SPIFモジュールを使用すると、Sharepoint Onlineの接続がAccess Deniedエラーで失敗する


解説

Sitecore SharePoint Integration Frameworkモジュールを使用してSharepoint Online (Office 365)に接続すると、以下のエラーが表示される場合があります:

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()

解決策

この問題に対処するには、以下のパッチを適用してください:

  1. Sitecore.Support.53414.zipアーカイブをダウンロードします。
  2. アーカイブのコンテンツをSitecoreソリューションのWebサイト ルート フォルダーにコピーします。