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 :
Microsoft Dynamics CRM (Archived)

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

(1) ShareShare
ReportReport
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

I have the same question (0)
  • Syed Ibrahim Profile Picture
    6,257 on at

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

    does it have admin access?

  • Nguyen Thanh Lan Profile Picture
    5 on at

    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
    6,257 on at

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

  • Nguyen Thanh Lan Profile Picture
    5 on at

    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
    6,257 on at

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

  • Nguyen Thanh Lan Profile Picture
    5 on at

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

  • Syed Ibrahim Profile Picture
    6,257 on at

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

  • Nguyen Thanh Lan Profile Picture
    5 on at

    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)

  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at

    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.

  • Nguyen Thanh Lan Profile Picture
    5 on at

    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 :)

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans