Skip to main content

Notifications

Customer Service forum

Plugin Registration Tool login issue with trial version of Dynamics 365 (2016)

Posted on by Microsoft Employee

Have registered the trial version of Dynamics 365 (2016) & Installed the NuGet package through powershell using below url

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/download-tools-nuget

Verified the User, has admin rights also verified the Plugin Registration Tool version, it is 9.0.0.9154 64bit version

Service authentication in Dynamics 365 - crm8.dynamics.com, able to run the Organization & Discovery service in the system.

When tried to login, getting below error. Can you please help resolve the issue.

6305.5076.Capture.PNG

Source : Microsoft.IdentityModel.Clients.ActiveDirectory
Method : CreateFromUnauthorizedResponseCommon
Date : 1/22/2018
Time : 3:50:52 PM
Error : Unauthorized Http Status Code (401) was expected in the response
Parameter name: response
Stack Trace : at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.CreateFromUnauthorizedResponseCommon(IHttpWebResponse response)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetAuthorityFromTargetService(Uri targetServiceUrl)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, X509Certificate2 userCert, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource, CrmLogEntry logSink)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, X509Certificate2 loginCertificate, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, CrmLogEntry logSink)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, CrmLogEntry logSink)
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOAuthDiscoveryServer(Uri discoServer, ClientCredentials liveCreds, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath)
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.FindCrmOnlineDiscoveryServer(ClientCredentials liveCreds)
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)

Categories:
  • Kushal Mazumder Profile Picture
    Kushal Mazumder 30 on at
    RE: Plugin Registration Tool login issue with trial version of Dynamics 365 (2016)

    Hi Sudhakar,

    I am also facing the same issue while connecting from office network. Can you advice any workaround or approach so that I can communicate to my network team to get it done?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin Registration Tool login issue with trial version of Dynamics 365 (2016)

    Atlast was able to Login to the Plugin Registration tool, Office network has blocked the  Plugin registration tool login. Was able to login from my home network.

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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,129 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans