Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Plugin Registration Tool can not login China D365 Online

Posted on by 30

pastedimage1603262202860v2.png

pastedimage1603262145089v1.png

Source : mscorlib
Method : HandleReturnMessage
Date : 10/21/2020
Time : 6:35:27 AM
Error : Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #FE33BD9C
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass4_0.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations_Internal(Uri discoveryServiceUri, ClientCredentials clientCredentials, X509Certificate2 loginCertificate, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Boolean useDefaultCreds, 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, Boolean useGlobalDisco, Boolean useDefaultCreds)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOAuthDiscoveryServer(Uri discoServer, ClientCredentials liveCreds, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean useGlobalDisco)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.FindCrmOnlineDiscoveryServer(ClientCredentials liveCreds)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)
======================================================================================================================

  • Ellis Profile Picture
    Ellis 25 on at
    RE: Plugin Registration Tool can not login China D365 Online

    I have found a solution to login the plugin registration tool.

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

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

    community.dynamics.com/.../dynamics-365-plugin-registration-tool-gives-permission-error

  • Ellis Profile Picture
    Ellis 25 on at
    RE: Plugin Registration Tool can not login China D365 Online

    Hi Luis,

    I’m also encountering this issue. Can not login to the plugin registration tool for china D365 Online.

    It's saying "We couldn't find an account with that username. Try another, or get a new Microsoft account."

  • RE: Plugin Registration Tool can not login China D365 Online

    Can you translate it to English please?

  • icce Profile Picture
    icce 30 on at
    RE: Plugin Registration Tool can not login China D365 Online

    can not loging 

    the popup window show the error like this 

    pastedimage1603273496909v1.png

  • RE: Plugin Registration Tool can not login China D365 Online

    Can you login using the Popup window or do you get any error?

  • icce Profile Picture
    icce 30 on at
    RE: Plugin Registration Tool can not login China D365 Online

    pastedimage1603270100568v2.png

  • icce Profile Picture
    icce 30 on at
    RE: Plugin Registration Tool can not login China D365 Online

    Hi,Luis

    it show like this

    pastedimage1603269872542v1.png

  • Suggested answer
    RE: Plugin Registration Tool can not login China D365 Online

    Hi icce,

    What happens if you try to login selecting only the "Display list of available organizations"? Please remove the credentials from the advanced box :

    pastedimage1603268943539v2.png

    You should get a popup asking for the credentials.

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans