web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Dynamics 365 Plugin Registration Tool gives permission error

(0) ShareShare
ReportReport
Posted on by 30

When I try to connect to Dynamics 365 CRM with the Plugin Registration Tool I get the following permission error:

"You don't have permission to access any of the organizations in the Microsoft Common Data Service region that you specified. If you're not sure which region your organization resides in, choose "Don't know" for the CDS region and try again. Otherwise check with your CDS administrator. Parameter name: EMEA"

  • I have the System Administrator role
  • I can sign-in to the web interface and work with no issues
  • I'm sure of our region, tried to login with and without it ("Don't know" option)
  • Also tried with an application password as our organization uses multi factor authentication
  • Using the latest version of the tool on Nuget (9.0.0.9506 in the about dialog)
  • I can connect to my trial server with the same way
  • We had a user who was able to connect to the server the same way with the same user roles set
  • This seems machine and account independent. Other users including the organization creator are getting the same error
  • We are directly connected to the internet, no proxies
  • One solution I've read suggested cleaning the cache files which don't appear on my system. And we get the same error on clean installations.
I have the same question (0)
  • Suggested answer
    Johnny Gong Profile Picture
    6,482 Moderator on at

    Hi DeadDuck,

    Since Microsoft Employees are not allowed to download the log file from Community for analysis. I could share some troubleshooting steps for your reference.

    1. Start Fiddler and start capturing when you attempt to sign-on to a CRM organization using a browser(Ensure the sign-on is successful)

    2. Check your trace log's Response Headers and log details under '<tr class="details">' like 'website has been blocked by mistake'.

    Sometimes customer's network may have been blocked certain sites from being accessible (firewall rules). You need to work with your IT department to unblock CRM web sites like XXXXXX.crm.dynamics.com in order to use this tool on that network if it is. 

    pastedimage1571211669999v2.png

    pastedimage1571211654802v1.png

    Otherwise pls raise ticket in Service request and ask Dev Team to help invesitgate your trace log details and PluginRegistration.exe debug log.

    Hope above would help.

    Regards

    Johnny

  • DeadDuck Profile Picture
    30 on at

    Hi Johhny,

    Thanks for the information. We get the same results with direct ISP connections and from different ISPs, different locations.

    We can sign-on with a browser and work with no issues, it's only the Plugin Registration Tool. Current log has no details other than the time and this error message.

    I edited the original post and added this.

    Thanks

  • Johnny Gong Profile Picture
    6,482 Moderator on at

    Hi DeadDuck,

    Sorry for the late reply. I have seen Onur Safak raised tickets for esccalation about this issue and Dev Team is asking for Plugin Registration Tool Logs from

    C:\Users\<user>\AppData\Roaming\Microsoft\Microsoft Dynamics365 Plug-in Registration Tool\<version>

    I will help following up in the community thread as well. Thanks.

    Regards

    Johnny

  • DeadDuck Profile Picture
    30 on at

    Hi Johnny,

    In the last email on Wednesday I've sent the fiddler logs as I was asked for. But I haven't received an email (asking for the tool logs) since then.

    I'll send the logs to the Support Engineer who was assigned to the original issue. Please let me know if there is an updated issue number / contact address I should send the logs to.

    Thanks for keeping an eye.

    Onur

  • Johnny Gong Profile Picture
    6,482 Moderator on at

    Hi Onur,

    It's ok if you send logs from PRT and fiddler to the SE who contact you by your case.

    We couldn't share the issue number / contact address in community as they are still your private information.

    You could get the ticket number from PowerPlateform as followimg link.

    admin.powerplatform.microsoft.com/support

    Now we only need to wait for the investigation feedback from Dev. Thanks.

    Regards

    Johnny

  • Verified answer
    DeadDuck Profile Picture
    30 on at

    This is solved by leaving the "Show Advanced" checkbox unchecked and not entering User ID / Password. Then a second dialog opens for credentials and 2FA authentication which just works.

    You don't need an application password, as you'll be asked for MFA in the next step.

    I don't know how our old colleague was able to sign in with the "Show Advanced" option selected. He was getting the same dialog and continue.

    Thanks for your help.

  • Serge van den Oever - Macaw Profile Picture
    15 on at

    I had to start the tool as an administrator, e.g. in the File Explorer right-click DataMigrationUtility.exe and select "Run as administrator".

  • Suggested answer
    Vikas M Profile Picture
    5 on at

    When you try to connect CRM organization using new Plugin Registration Tool, you keep on getting below error:

    Source : Not Provided
    Method : Not Provided
    Date : 5/23/2020
    Time : 10:41:33 AM
    Error : You don't have permission to access any of the organizations in the Microsoft Common Data Service region that you specified. If you're not sure which region your organization resides in, choose "Don't know" for the CDS region and try again. Otherwise check with your CDS administrator.
    Stack Trace : Not Provided

    Even-though you have system admin access you might get this error. This is because sometimes CRM Discovery service is not able to resolve the region correctly and throws this error message. To resolve this issue follow the below steps:

    • Open PluginRegistration.exe.config file
    • Look for appSettings, if you don' find one then add the below tag after system.diagnostics
      <appSettings>
          <add key="SkipDiscovery" value="True" />
      </appSettings>

    This will skip calling the default discovery service and will prompt you to enter your instance URL.

  • Suggested answer
    Community Member Profile Picture
    on at

    Tried suggestions above but did not work. Not saying they are wrong but they could have worked at the time but then the tool changed.

    Sharing this for the benefit of others. The current version of Plugin Registration Tool must be downloaded via Nuget to work with current version of D 365. I did this using the Powershell script provided at docs.microsoft.com/.../download-tools-nuget.

    And then, it worked!

  • Suggested answer
    Haansi Profile Picture
    1,433 Moderator on at

    This can happen due to ProxyServe settings too. In this post I have documented this yaweriqbal.com/.../

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans