1

I have an application that accesses and updates SP document libraries. Using SP 2013 COM, it works fine locally. When the code is deployed to and executed in an Azure web site, a file not found exception is thrown re. msoidclil.dll during the creation of a SharePointOnlineCredentials object instance. After much frustration and research, it seems it is not possible to workaround this (however, if someone knows differently please tell me the solution, I'd be most grateful) and I've not been able to figure out / source an alternative means of authentication that will work in the backend code of an Azure web site and access my SP online lists.

Any suggestions or ideas? Thanks in advance.

1

SharePoint client object model (v15) won't work in Azure because it requires Client components and in Azure they aren't installed. Please check the link to see the detail explanation

As workaround you can try rewrite to last version (v16) it supports portable versions of libraries.

Also you can create own virtual machine and manually install client components.

  • Hi, Microsoft.Sharepoint.Client & Runtime Dlls of Version 16 will work – pixelbyaj Feb 2 '15 at 13:50
-1

Just use Microsoft.Sharepoint.Client & Runtime Dlls of Version 16.

You won't get this error.

Stackoverflow link

  • Why Dislike to the answer ? The solution which I post is working with all the mean. Would you please justify the dislike ? – pixelbyaj Feb 3 '15 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.