Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

CRM Import Failed of Workflow(Ribbon workbench)

Posted on by 225

hi ,

I am getting error while publishing the Ribbon Solution .

The error is:

Import Failed : Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.osf, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Error while importing workflow {a73affc9-8c83-e511-80f4-3863bb36ef98} name Default ValueDetail:
<osf xmlns:i="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="" />
<Message>Error while importing workflow {a73affc9-8c83-e511-80f4-3863bb36ef98} name Default Value</Message>
<Timestamp>2017-07-13T09:21:20.515639Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="" />
<Message>Error while importing workflow {a73affc9-8c83-e511-80f4-3863bb36ef98} name Default Value</Message>
<Timestamp>2017-07-13T09:21:20.515639Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ErrorCode>-2147209463</ErrorCode>
<ErrorDetails xmlns:d4p1="" />
<Message>SecLib::RetrievePrivilegeForUser failed - no roles are assigned to user. Returned hr = -2147209463, User: 56d9984d-6418-e711-810d-3863bb3c56b8</Message>
<Timestamp>2017-07-13T09:21:20.515639Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</osf>
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
at Microsoft.Crm.Asynchronous.ExecuteSdkMessageOperation.InternalExecute(AsyncEvent asyncEvent)

Stack Trace:
Error:
at ClientUI.ViewModel.EditCommandBarsVM.queryImport (:19488:1442)
at Anonymous function (:19489:1)

Anyone faced the issue please guide.

071678.Capture.PNG

*This post is locked for comments

  • Varsha Naithani Profile Picture
    Varsha Naithani 225 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    is it possible that i have changed one buttons functionality in Ribbon and some other buttons are missing from the Home Page?

  • Varsha Naithani Profile Picture
    Varsha Naithani 225 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    can this error be just because of Environment Version

    ?

  • Varsha Naithani Profile Picture
    Varsha Naithani 225 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    I can check it , but i think i have reassigned all the Disabled owners records to Enabled Owners.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    Well its possible that Business Rules can be owned by Users that don't exist anymore in your Live System.

  • Varsha Naithani Profile Picture
    Varsha Naithani 225 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    but I have made same changes in the Sandbox environment at that time it did not throw any error it is throwing error only in Production environment.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    I think it may still apply to publishing as well. Here is another article explaining that it was something to do with the Business Rules.

    crmgiant.eu/.../reassign-records-does-not-reassign-business-rules

  • Varsha Naithani Profile Picture
    Varsha Naithani 225 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    Thanks for the quick response Thomas ,But i am not getting error while importing a solution in CRM .I am getting the error while modifying a button in Ribbon Workbench and the error is showing while Publishing the Ribbon.

  • Suggested answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: CRM Import Failed of Workflow(Ribbon workbench)

    Hi Varsha,

    Scott Durow explains this error in detail - community.dynamics.com/.../business-rules-amp-seclib-retrieveprivilegeforuser-failed-no-roles-are-assigned-to-user

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans