Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Cannot connect to CRM online using plugin registration tool

Posted on by Microsoft Employee

I'm running into a problem when trying to connect to CRM online using Plugin registration tool from Dynamics365 SDK. Even I used the right region, I still got the error. I was able to log in to CRM from web browser using the same credential. Open the error log, I see this error:

 

You don't have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified. If you're not sure which region your organization resides in, choose "Don't know" for the CRM region and try again. Otherwise check with your CRM administrator.

 

Can someone give me a hand on this? Really appreciate that.

Thanks,

Collin

2161.error.PNG

*This post is locked for comments

  • DynamicGuru Profile Picture
    DynamicGuru 5 on at
    RE: Cannot connect to CRM online using plugin registration tool

    Works Great!!!

  • Shoaib001 Profile Picture
    Shoaib001 on at
    RE: Cannot connect to CRM online using plugin registration tool

    Thanks Sir it's Work For ME     

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: Cannot connect to CRM online using plugin registration tool

    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: Cannot connect to CRM online using plugin registration tool

    Hello Check below step.

    1. download latest SDK  from  http://xrm.tools/SDK

    2. Make sure you have sufficient privileged in the org , system customizer , system administrator  

  • Suggested answer
    Raghu_b Profile Picture
    Raghu_b 228 on at
    RE: Cannot connect to CRM online using plugin registration tool

    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.

  • Manuesev Profile Picture
    Manuesev 115 on at
    RE: Cannot connect to CRM online using plugin registration tool

    It could be possible that your Network administrator prevent your machine from visit some required websites.

    Check if you can access any of this list. Some of them are mandatory in order to make it works.

    These are some of the url(s)

    abcfdev.crm4.dynamics.com

    abcftst.crm4.dynamics.com

    abcfuat.crm4.dynamics.com

    abcvcdupgrade.crm4.dynamics.com

    abcupgradeprod.crm4.dynamics.com

    abcv.crm4.dynamics.com

    abcfv9.crm4.dynamics.com

    abcupgradedev.crm4.dynamics.com

    abcvsandbox.crm4.dynamics.com

    abcvd365prod.crm4.dynamics.com

    cloudredirector.crm4.dynamics.com/.../Index.aspx

    login.microsoftonline.com/kmsi

    login.microsoftonline.com/login.srf

    https://sts.abc.co.ae/adfs/ls/

    login.microsoftonline.com/.../wsfed

    http://home.dynamics.com

    http://login.windows.net

    http://outlook.office365.com

    marketplace.visualstudio.com

    dc.services.visualstudio.com

    download.visualstudio.microsoft.com

    secure.aadcdn.microsoftonline-p.com

    port.crm4.dynamics.com/.../InstancePicker.aspx

    http://login.live.com

    http://auth.gfx.ms

    http://management.azure.com

    http://graph.windows.net

    http://go.microsoft.com

    management.core.windows.net

    app.vssps.visualstudio.com

    api.vstsusers.visualstudio.com

    accountalt.azureedge.net

    http://account.live.com

    http://eus.client.hip.live.com

    http://disco.crm4.dynamics.com

    login.microsoftonline.com

    http://sts.abc.co.ae

    abcupgradedev.api.crm4.dynamics.com

    abcfdev.api.crm4.dynamics.com

    abcftst.api.crm4.dynamics.com

    abcfuat.api.crm4.dynamics.com

    abcvcdupgrade.api.crm4.dynamics.com

    abcupgradeprod.api.crm4.dynamics.com

    abcv.api.crm4.dynamics.com

    abcfv9.api.crm4.dynamics.com

    abcvsandbox.api.crm4.dynamics.com

    abcvd365prod.api.crm4.dynamics.com

    https://portal.office.com/

    https://portal.azure.com/

    sablesystems.visualstudio.com

    webpifeed.blob.core.windows.net

    vortex.data.microsoft.com

    abcvd365intapp.azurewebsites.net

    abcvd365intapp.scm.azurewebsites.net

    abcvd365querybuilderoutputwebjob.azurewebsites.net

    abcvd365querybuilderoutputwebjob.scm.azurewebsites.net

    websites.hosting.portal.azure.net

    web1.appsvcux.ext.azure.com

    appinsights.hosting.portal.azure.net

    appservice.azureedge.net

    appservicelandingpage.trafficmanager.net

    breeze.aimon.applicationinsights.io

    mobile.pipe.aria.microsoft.com

    waws-prod-am2-179.sso.azurewebsites.net

    secure.aadcdn.microsoftonline-p.com

    v20.vortex-win.data.microsoft.com

    download.visualstudio.microsoft.com

    visualstudio.microsoft.com

    http://disco.crm.dynamics.com

    globaldisco.crm.dynamics.com

    crminsights.crm.dynamics.com

    crminsights.crm4.dynamics.com

    http://az700632.vo.msecnd.net

    http://az667904.vo.msecnd.net

    targetednotifications.azurewebsites.net

    https://www.microsoft.com/

    https://docs.microsoft.com

    https://www.office.com/

    https://nps.onyx.azure.net

  • Saddamk206 Profile Picture
    Saddamk206 777 on at
    RE: Cannot connect to CRM online using plugin registration tool

    Deleting the contents of the folder:-   C:\Users\<username>\AppData\Roaming\Microsoft\PluginRegistration

    Now re-open tool and try to connect......!!!

  • Suggested answer
    keyur7379 Profile Picture
    keyur7379 900 on at
    RE: Cannot connect to CRM online using plugin registration tool

    You can download SDK from here : https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/download-tools-nuget

    Thanks,

    Keyur Shah.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cannot connect to CRM online using plugin registration tool

    Thanks. My issue got resolved after the tool u shared. Can you plz share me the SDK Download.

  • Suggested answer
    Gaurav Tempe Profile Picture
    Gaurav Tempe 20 on at
    RE: Cannot connect to CRM online using plugin registration tool

    I was getting the same error because of a network issue. Check if you are able to access any website from a browser window. Ping your IP address to see if you are getting a "Request timed out" or "General failure". Once the network issue was resolved, I was able to connect to Dynamics 365 Online using Plugin Registration Tool without any error.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans