Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 365 Online: Plugin Registration tool login error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi 

I have tried to login to Plugin Registration Tool to connect to my Dynamics 365 online system and it throws an error in my login page.

Could you help me in this please?

login-error.PNG

Error:

Source : System
Method : CreateThis
Date : 28/01/2018
Time : 12:09:47
Error : Invalid URI: The hostname could not be parsed.
Stack Trace : at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Net.WebProxy.ProxyUri(String proxyName)
at System.Net.WebProxy.GetProxiesAuto(Uri destination, Int32& syncStatus)
at System.Net.ProxyScriptChain.GetNextProxy(Uri& proxy)
at System.Net.ProxyChain.ProxyEnumerator.MoveNext()
at System.Net.ServicePointManager.FindServicePoint(Uri address, IWebProxy proxy, ProxyChain& chain, HttpAbortDelegate& abortDelegate, Int32& abortState)
at System.Net.HttpWebRequest.FindServicePoint(Boolean forceFind)
at System.Net.HttpWebRequest.BeginSubmitRequest()
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at Microsoft.Xrm.Tooling.Connector.DeviceIdManager.ExecuteRegistrationRequest(String url, DeviceRegistrationRequest registrationRequest)
at Microsoft.Xrm.Tooling.Connector.DeviceIdManager.RegisterDevice(Guid applicationId, Uri issuerUri, LiveDevice device)
at Microsoft.Xrm.Tooling.Connector.DeviceIdManager.RegisterDevice(Guid applicationId, Uri issuerUri, String deviceName, String devicePassword)
at Microsoft.Xrm.Tooling.Connector.DeviceIdManager.LoadOrRegisterDevice(Uri issuerUri, String deviceName, String devicePassword)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.GenerateDeviceCreds()
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)

Regards

Bab

*This post is locked for comments

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hi,

    This fixed my issue - community.dynamics.com/.../quick-tip-fixing-plugin-registration-tool-crash-after-login

    deleted files from: C:\<your username>\AppData\Roaming\Microsoft\PluginRegistration

  • Suggested answer
    RE: CRM 365 Online: Plugin Registration tool login error

    hello,

    take latest version and try

    http://xrm.tools/SDK

  • Raghu_b Profile Picture
    Raghu_b 228 on at
    RE: CRM 365 Online: Plugin Registration tool login error

    I'm late to this thread but this problem is a proxy authentication issue.

    Open the PluginRegistration.exe.config XML file in the same folder as the PluginRegistration.exe file and add the below lines of code within the <configuration>

    tags:

      <system.net>
        <defaultProxy useDefaultCredentials="true" enabled="true"></defaultProxy>
      </system.net>

    This should overcome the proxy issues.

    Happy CRM'ing.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hi,

    The issue faced by most user to connect MS Dynamics 365 Organization in plugin registration tool are due to-
    1. You don't have latest Version of plugin registration tool.

    2. You are trying to connect from your private network.

    You can refer the blog for Solution-

    https://mscrm16tech.com/.../ms-dynamics-365-plugin-registration-tool-not-able-to-connect-to-crm-organization/ 

    I think this might be useful for you.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hi BabuLD,

    I faced this issue. I solved this problem; I created folder(D:\devtools). Open the power shell and paste this script(docs.microsoft.com/.../download-tools-nuget)

    press th enter. After downloading, You can try to login in.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hello Everyone

    Any other suggestions to fix this issue please?

    Thanks

    AB

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hi Arpit

    I have tried this now. No luck yet.

    Thanks

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hello,

    Please check below two points:

    • Make sure Window Identity Foundation is installed on your machine.

    https://www.microsoft.com/en-in/download/details.aspx?id=17331

    • Proxy Setting is Enabled

    Add following tags (highlighted in red) between the "</runtime></configuration>" node in PluginRegistration.exe.config file:

    </runtime>
    <system.net>
      <defaultProxy useDefaultCredentials="true"></defaultProxy>
    </system.net>
    </configuration>

    If found useful, please mark the answer as verified.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

     

     

     

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hi Preeti

    Yes I have already tried that option.

    Thanks

  • Suggested answer
    Preeti Sharma Profile Picture
    Preeti Sharma 2,678 on at
    RE: CRM 365 Online: Plugin Registration tool login error

    Hi,

    Have you tried connecting to CRM by selecting Don't know as region ??

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans