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 :
Customer experience | Sales, Customer Insights,...
Unanswered

System throws an error "The user Id(s) [00000000-0000-0000-0000-000000000000] is invalid." while publishing unmanaged solution through Ribbon Workbench in On-premise environment

(0) ShareShare
ReportReport
Posted on by 15

I have done a fresh installation of dynamics 365 v9.0.16 on-premise. While creating a new org, I have used database backup of my existing v8.2 org which got successful.

Now when I want to do some development on Account ribbon, it's giving me error as  A call to SSPI failed, see inner exception. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect. The user Id(s) [00000000-0000-0000-0000-000000000000] is invalid.  

Following is the error description I get:

  • RBW:3.1.392.1.9,CRM:Unknown:The user authentication failed!
    Import Failed : Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.osf, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The user Id(s) [00000000-0000-0000-0000-000000000000] is invalid.Detail:
    <osf xmlns:i="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
    <ActivityId>ea475c22-7281-4e0a-885a-d2ba826f72bc</ActivityId>
    <ErrorCode>-2147214049</ErrorCode>
    <ErrorDetails xmlns:d2p1="">
    <key>
    <d2p1:key>0</d2p1:key>
    <d2p1:value i:type="d4p1:string">00000000-0000-0000-0000-000000000000</d2p1:value>
    </key>
    </ErrorDetails>
    <Message>The user Id(s) [00000000-0000-0000-0000-000000000000] is invalid.</Message>
    <Timestamp>2020-10-19T15:11:09.8288877Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
    </osf>

    Stack Trace:
    Error:
    at ClientUI.ViewModel.EditCommandBarsVM.queryImport (:65187/WebResources/js/ClientUI.js:19557:1442)
    at Anonymous function (:65187/WebResources/js/ClientUI.js:19558:1)

  • RBW:3.1.391.1,CRM:9.0.16.7
    System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception. ---> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect
    --- End of inner exception stack trace ---
    at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)
    at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
    at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
    at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
    at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)
    at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
    at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty& remoteSecurity)
    --- End of inner exception stack trace ---

    Server stack trace:
    at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty& remoteSecurity)
    at System.ServiceModel.Channels.StreamSecurityUpgradeInitiatorBase.InitiateUpgrade(Stream stream)
    at System.ServiceModel.Channels.ConnectionUpgradeHelper.InitiateUpgrade(StreamUpgradeInitiator upgradeInitiator, IConnection& connection, ClientFramingDecoder decoder, IDefaultCommunicationTimeouts defaultTimeouts, TimeoutHelper& timeoutHelper)
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)
    at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

I have the same question (0)

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans