The identity client runtime contained in the SharePoint Server 2013 client components is necessary for successful SharePoint authorization.
If you don't have the runtime installed on your server machine, you can experience an issue with the msoidcliL.dll dynamic link library.
Learn what you need to do if you cannot connect to SharePoint Online due to the missing runtime when:
Connecting to SharePoint Online in a standard environment
If you cannot connect to SharePoint Online when running Kentico in a standard environment, download and install SharePoint Server 2013 Client Components SDK, available on the Microsoft website.
After installing the SharePoint Server 2013 client components, restart your application (by clicking Restart application in System -> General).
Connecting to SharePoint Online in a Microsoft Azure environment
If you cannot connect to SharePoint Online when:
- Download the appropriate version of SharePoint Server 2013 Client Components SDK from the Microsoft website.
- For example, if you are running Kentico on a 64 bit machine, download the sharepointclientcomponents_x64.msi installation file.
- Open your Azure project in Visual Studio.
Create the startup.cmd batch file containing the following block of code:
msiexec /i sharepointclientcomponents_VERSION.msi /q /log sharepointclientcomponentinstall.log
- Replace _VERSION with the identification of the edition of your downloaded SharePoint Server 2013 client components, i.e. _x32 or _x64.
- The code ensures that the system installs the client components.
Add the following files to your Azure project's CMS directory.
- Include these files into the project and set them to be copied to the output directory:
- Click Show All Files in the Solution Explorer toolbar.
- Right-click the file and select Include In Project.
- Right-click the file again and select Properties.
- In Properties, set Copy to Output Directory to Copy always.
- Repeat also for the other file.
- Open the CMSAzure\ServiceDefinition.csdef file.
Add the following block of code to the file's WebRole tag:
<Startup> <Task commandLine="startup.cmd" executionContext="elevated" taskType="background" /> </Startup>
The code ensures that the system executes the startup.cmd batch file on startup of the virtual machine on Azure.
- Save and close the file.
We apologize that we currently cannot provide a more straightforward solution. This is due to restrictions imposed on the distribution of the third-party software components.
Was this page helpful?