Powershell: Could not load file or assembly ‘Microsoft.Data.Services.Client’

Getting an error not able to load the Microsoft.Data.Services.Client to access Azure database through Powershell.

This is a critical step to setup Dynamics Export Data Services.


First ensure that you have the PSGallery as a trusted resource using:

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

Then install the WindowsAzure.Storage Module:

Install-Module -Name Azure.Storage -RequiredVersion 4.0.2

Then install/update the AzureRM service.:

Update-Module -Name AzureRM


Install-Module-Name AzureRM -Repository PSGallery -Force


Leave a Comment

Your email address will not be published. Required fields are marked *