Home › Dynamics 365 Customer Engagement (CRM) › Dynamics 365 PowerShell – Microsoft.Xrm.Data.Powershell
Dynamics 365 Customer Engagement (CRM) · Apr 10, 2017

Dynamics 365 PowerShell – Microsoft.Xrm.Data.Powershell

The Microsoft.Xrm.Data.Powershell module for PowerShell provides data operations such as CRUD. The module is available for download at: https://github.com/seanmcne/Microsoft.Xrm.Data.PowerShell/releases/

Download the ZIP file and unblock it by right clicking. If you do not unblock it you will get errors relating to could not load file or assembly with the Microsoft.Crm.Sdk.Proxy.dll.

Next extract the zip. There is one folder:

With multiple files:

Copy the folder to the C:\Windows\System32\WindowsPowerShell\v1.0\Modules folder:

Check the PowerShell version. This module requires version 4:

Set the execution policy:

Next run install-module Microsoft.Xrm.Data.PowerShell:

To connect to a CRM Online organization, run the command:

Connect-CrmOnlineDiscovery -InteractiveMode

This will launch the login window. Log in:

 

Leave a Reply

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

Carl de Souza
KEEP LEARNING. KEEP BUILDING.

Explore AI, agents & Microsoft technology.

I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.