Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

Posted on by 5

Hi everyone,

Today I am having this error when using RibbonWorkbench (latest version). When I click Publish, the progress dialog show this step: "Importing solution", then after few minutes, it throws this error: 

---------------

Error when publishing Solution 

RBW:3.1.177.1,CRM:8.2.0.749 

Import Failed : Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.osf, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The user Id(s) [f3acea0e-57f3-4dcf-835a-48603998e79d] is invalid.Detail: 

<osf xmlns:i="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"

<ActivityId>53161f82-3291-4a32-a8ff-306cd84436e8</ActivityId> 

<ErrorCode>-2147214049</ErrorCode> 

<ErrorDetails xmlns:d2p1=""> 

<key> 

<d2p1:key>0</d2p1:key> 

<d2p1:value i:type="d4p1:string">f3acea0e-57f3-4dcf-835a-48603998e79d</d2p1:value> 

</key> 

</ErrorDetails> 

<Message>The user Id(s) [f3acea0e-57f3-4dcf-835a-48603998e79d] is invalid.</Message> 

<Timestamp>2017-11-21T07:15:18.3500676Z</Timestamp> 

<ExceptionSource i:nil="true" /> 

<InnerFault i:nil="true" /> 

<OriginalException i:nil="true" /> 

<TraceText i:nil="true" /> 

</osf>

Stack Trace: 

Error: 

at Function.ClientUI.ViewModel.EditCommandBarsVM.queryImport (:19555:1448) 

at :19556:38

 

I faced this error when publishing any solution/entity. I created a new entity a try to Publish it in RibbonWorkbench, it always show the same error. 

The user Id(s) [f3acea0e-57f3-4dcf-835a-48603998e79d] is invalid. The user GUID is SYSTEM user in our environment.

Could you please show me where should I check this problem? I have googled this error without any result

*This post is locked for comments

  • RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    Hi Syed Hanifa,

    I still cannot find the root cause of this issue. But luckily, our team have changed some CRM server configuration and now the Ribbon works normally now!

    Thank you for your support :)

  • Suggested answer
    Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    pls try to add some fields and follow the step

    1. Create field "new_mobileno"

    2. Create JSWebresource using below code

    3.Create a button "ShowMobileNO"

    4.add the below js function on the button

    function ShowMobileNO(){

    var mobileNo = Xrm.Page.getAttribute("new_mobileno").getValue();

    alert(mobileNo);

    }

    Hope this helps to identify your issue.

  • RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    It is not my button, it is the "Publish" button of Ribbon Workbench that failed to run. I did not add any new button or code but it still threw error when publishing

    I have tried these step to identity the issue:

    1/Create new solution

    2/Create new entity without and customization, add to above solution

    3/Open Solution in Ribbon Workbench 2016

    4/Then without adding any new Button, I click the "Publish" button

    -->   Ribbon Workbench 2016 throw above Error

    So I think it is not related to any customize because I have used new empty Entity in new Solution (no additional customization)

  • Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    can you pls paste the code what you are trying to do in that button

  • RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    Yes, I did. I have tried latest version of Ribbon, even the beta one, but still had errors...

  • Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    Did you tried with the latest version 2016? If not pls uninstall the old version and try this

  • RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    The built-in SYSTEM user in CRM is not normal user, I cannot add role or modify any thing. I have tried and CRM do not allow me to save, you can try in your CRM.

    This blog explain what is SYSTEM user is: http://gonzaloruizcrm.blogspot.co.uk/2014/04/explaining-built-in-system-and.html

    I do publish Ribbon using user with Admin roles

    Thanks

  • Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    No need to convert managed to unmanaged because both work the same .  Pls assign Admin role to that user and try

  • RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    Hi Syed Hanifa ,

    The GUID is the built-in SYSTEM user in CRM.

    I have tested this SYSTEM user by assign it to plugin and that plugin run fine, so I guest this user is OK. Don't know why ribbon says it is Invalid

    I am thinking of converting the Managed Solution of Ribbon Workbench to Unmanaged to look for any component that assigned to SYSTEM user

    Thank you for your time!

  • Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: CRM 2016 - Ribbon Workbench - Error when Publish Solution: The User ID is Invalid

    f3acea0e-57f3-4dcf-835a-48603998e79d is this user id you used to customize ?

    does it have admin access?

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans