In this post we will discuss how to resolve error msoidcliL.dll file is missing which sometimes you will get while working in SharePoint online office 365. Also check out:
If you are working in SharePoint online (Office 365) and trying to authenticate sharepoint using SharePointOnlineCredentials, sometimes you may get the error saying msoidcliL.dll file is missing.
We have to use SharePointOnlineCredentials object if we are trying to authenticate in Office 365 (SharePoint Online) using ClientContext.
Here if you got the above error then first check whether the msoidcliL.dll exists in the directory C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Client.
If it is not presented then download the SharePoint Server 2013 Client Components SDK from this MSDN URL
and install it.
Now it should work fine.