SharePointOnlineCredentials抛出ComException
我正在使用SharePoint online并使用Windows Azure托管访问SPO的进程 我们已将启动任务添加到Azure角色以进行安装。我们的第一个问题是它不会安装,因为osFamily是1(Server2008R2是一个prereq) 我们现在在尝试实例化SharePointOnlineCredentials对象时看到此错误 应用程序:WaWorkerHost.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程已终止。 异常信息:System.Runtime.InteropServices.COMException 堆栈: Microsoft.SharePoint.Client.Idcrl.ManagedIdcrl.EnsureInited() 位于Microsoft.SharePoint.Client.Idcrl.ManagedIdcrl.LogonIdentity(System.String、System.Security.SecureString) 位于Microsoft.SharePoint.Client.SharePointOnlineCredentials..ctor(System.String、System.Security.SecureString) 我可能做错了什么 另外,我已将Microsoft.IdentityModel v3.5设置为复制本地 编辑:事件日志显示上述异常之前的异常,消息如下。 据我所知,这是MS online的登录帮助程序SharePointOnlineCredentials抛出ComException,sharepoint,azure,com,office365,Sharepoint,Azure,Com,Office365,我正在使用SharePoint online并使用Windows Azure托管访问SPO的进程 我们已将启动任务添加到Azure角色以进行安装。我们的第一个问题是它不会安装,因为osFamily是1(Server2008R2是一个prereq) 我们现在在尝试实例化SharePointOnlineCredentials对象时看到此错误 应用程序:WaWorkerHost.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程已终止。 异常信息:System.Runtime.Int
源MSOIDSVC.EXE。消息:初始化VCAPI失败,hr=0x80048883我有相同的异常。要解决这个问题: 使用将在应用程序(或应用程序池)中使用的帐户连接到IE中,并从页面安装证书 它解决了我的问题 希望能有所帮助