Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

SharePointOnlineCredentials throwing ComException in Azure

$
0
0

I am working with SharePoint online and using Windows Azure to host the process accessing SPO.

We have added a Startup Task to the Azure roles to install http://www.microsoft.com/en-nz/download/details.aspx?id=35585 . Our first issue was that it would not install because the osFamily was 1 (Server 2008 R2 is a prereq).

We are now seeing this error when trying to instantiate a SharePointOnlineCredentials object.

Application: WaWorkerHost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Runtime.InteropServices.COMException Stack: Microsoft.SharePoint.Client.Idcrl.ManagedIdcrl.EnsureInited() at Microsoft.SharePoint.Client.Idcrl.ManagedIdcrl.LogonIdentity(System.String, System.Security.SecureString) at Microsoft.SharePoint.Client.SharePointOnlineCredentials..ctor(System.String, System.Security.SecureString)

What could I be doing wrong?

PS. I have got Microsoft.IdentiyModel v3.5 set to Copy local


Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>