Skip to content

Passion Dynamics

Microsoft Power Platform blog by Rawish Kumar

  • Home
  • About Me
  • Contact
Posted on April 9, 2018October 26, 2018

Microsoft Dynamics CRM 365 SDK tools issues

by Rawish Kumar Prajapati.In Dynamics CRM 365 Online.Leave a Comment on Microsoft Dynamics CRM 365 SDK tools issues

Lately Issues with connecting to dynamics CRM 365 online using Plugin Registration, Migration utitlity , package deployer tool etc have been faced by many. Below common issues are faced by people:

  1. metadata contains a reference that cannot be resolved at (……)
  2. once you login , it does connects to the org but nothing happens. no error.
  3. Internal server error.

Capture

the quick and easy resolution the above issues is to get the latest versions of all these tools from nuget manager by using powershell or visiting http://xrm.tools/ and not the one which is available under microsoft downloads.

Download tools using PowerShell

  1. In your Windows Start menu, type Windows Powershell and open it.
  2. Navigate to the folder you want to install the tools to. For example if you want to install them in a devtools folder on your D drive, type cd D:\devtools.
  3. Copy and paste the following PowerShell script into the PowerShell window and press Enter.
    $sourceNugetExe = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
    $targetNugetExe = ".\nuget.exe"
    Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore
    Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe
    Set-Alias nuget $targetNugetExe -Scope Global -Verbose
    
    ##
    ##Download Plugin Registration Tool
    ##
    ./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
    md .\Tools\PluginRegistration
    $prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}
    move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration
    Remove-Item .\Tools\$prtFolder -Force -Recurse
    
    ##
    ##Download CoreTools
    ##
    ./nuget install Microsoft.CrmSdk.CoreTools -O .\Tools
    md .\Tools\CoreTools
    $coreToolsFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.CoreTools.'}
    move .\Tools\$coreToolsFolder\content\bin\coretools\*.* .\Tools\CoreTools
    Remove-Item .\Tools\$coreToolsFolder -Force -Recurse
    
    ##
    ##Download Configuration Migration
    ##
    ./nuget install Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf -O .\Tools
    md .\Tools\ConfigurationMigration
    $configMigFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf.'}
    move .\Tools\$configMigFolder\tools\*.* .\Tools\ConfigurationMigration
    Remove-Item .\Tools\$configMigFolder -Force -Recurse
    
    ##
    ##Download Package Deployer 
    ##
    ./nuget install Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF -O .\Tools
    md .\Tools\PackageDeployment
    $pdFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PackageDeployment.Wpf.'}
    move .\Tools\$pdFolder\tools\*.* .\Tools\PackageDeployment
    Remove-Item .\Tools\$pdFolder -Force -Recurse
    
    ##
    ##Remove NuGet.exe
    ##
    Remove-Item nuget.exe
  1. You will find the tools in the following folders:
  • [Your folder]\Tools\ConfigurationMigration
  • [Your folder]\Tools\CoreTools
  • [Your folder]\Tools\PackageDeployment
  • [Your folder]\Tools\PluginRegistration

i hope this helps!

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...

Related

Author:RawishInternal server errormetadata contains a reference that cannot be resolved atMicrosoft Dynamics CRMMicrosoft Dynamics CRM 365 SDK tools issuesnot able to connect to dynamics crm online using plugin registration tool

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Google photo

You are commenting using your Google account. ( Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

Previous Previous post: Business Process Flows – JavaScript
Next Next post: How to Create Auto- Number Fields

Search

Follow Passion Dynamics on WordPress.com

TOP 100 CRM BLOGS AND WEBSITES

Dynamics 365 Certification Badges

Blogs I Follow

  • All Things Dynamics
  • D365 Demystified
  • Andrew Butenko's Blog
  • Rajeev Pentyala - Microsoft power platform blog
  • Debajit's Power Apps & Dynamics 365 Blog
  • Arun Potti's MS CRM blog

Archives

All Posts Categories

My Community

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 39 other followers

My Twitter

My Tweets
Create a website or blog at WordPress.com
  • Home
  • About Me
  • Contact
All Things Dynamics

Blogs on ways to integrate Microsoft Dynamics 365 with other tools

D365 Demystified

A closer look at Microsoft Dynamics 365.

Andrew Butenko's Blog

All I want to share about Development/Customization for Dataverse

Rajeev Pentyala - Microsoft power platform blog

Sharing my knowledge on Power Platform, Dynamics 365, Azure & .Net Stack

Debajit's Power Apps & Dynamics 365 Blog

All about Power Apps & Dynamics

Arun Potti's MS CRM blog

Microsoft Dynamics CRM

Cancel
%d bloggers like this: