Dynamics 365 PowerShell – Microsoft.Xrm.Data.Powershell

Leave a comment

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:

 

THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
 

I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.

IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.

THANK YOU, AND LET'S KEEP LEARNING TOGETHER.

CARL

https://www.youtube.com/carldesouza

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

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