web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / usersettings With Id =...
Power Pages
Unanswered

usersettings With Id = xxxx Does Not Exist error

(0) ShareShare
ReportReport
Posted on by 84

I made a custom entity form on Dynamics 365 Portals for a custom entity.  When I try to submit the form, I get this error: usersettings With Id = xxxx Does Not Exist.  The Id mentioned is the id of the SYSTEM user.

 

Any idea what is missing?  

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    are you assigning via workflow/plugin the record to a different user or something? 

  • JeroenJanssens Profile Picture
    84 on at

    Not that I am aware off.

  • GeraldGut Profile Picture
    92 on at

    Hi @JeroenJanssens,

     

    for analysis I would do the following: 

    1. Identify what triggers this error

     

    ToDo's:

    1. Check which workflows are registered for this custom entity for creation

    2. Check which plugins are registered for this custom entity for creation 

    3. Check Plugin-Traces if somewhere the error shows up after triggering the creation

    4. After you identified the plugin or workflow dig deeper and check for assignment of record. Maybe during debugging you will see the faulty code already...

     

    First of all you need to know where the error is thrown in my oppinion. 

    You can then also forward this information here. On the current basis it is hard to find out what wents wrong.

     

    Maybe you could also try to change the user's context after you identified the workflow/plugin.

     

    Best regards,

    Gerald Gut

  • JeroenJanssens Profile Picture
    84 on at

    I have a workflow that on create, if a condition is met, shares the record with another user and updates a field of that record. Then regardless of the condition, the owner of the record is set with another user.

     

    I added another condition in the workflow so that the command that sets the owner is skipped if the form is filled via the portal.  But I still get the same error on the portal when submitting the form.

     

    How can I verify that this flow is the problem?  The workflow is not running in the background so it doesn't appear in the systemjob logs.

  • JeroenJanssens Profile Picture
    84 on at

    I deactivated this workflow entirely and tried to save but I still got the error.  I will keep looking ...

  • JeroenJanssens Profile Picture
    84 on at

    How can I check the plugins?

  • Verified answer
    GeraldGut Profile Picture
    92 on at

    Hi @JeroenJanssens,

     

    make sure that also no other workflow is triggered. 🙂

    The deactivated one cannot throw the error.

     

    Methods to identify the plugin:

    1. Have a look at the plugin registration tool and check which plugins are registered for the custom entity creation (steps)

    2. My suggestion is to use XrmToolbox with Plugin-Tracer Add-In and filter for Exceptions or have a look at the last executions to see what happens when creation is triggered. There you can also see the exception message and in case you have tracing steps inside plugins where the error happens.

    GeraldGut_0-1667829428459.png

     

     

    Best regards,

    Gerald Gut

  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    @JeroenJanssens wrote:

    How can I check the plugins?


    Turn on the Trace log in Dataverse plugin and custom workflow activity failures get logged there https://learn.microsoft.com/en-us/power-apps/developer/data-platform/logging-tracing#enable-trace-logging.   

  • JeroenJanssens Profile Picture
    84 on at

    I discovered which workflow/plugin caused the error.  I will try to find another solution for performing that logic.  Thanks to everyone who helped!

  • GeraldGut Profile Picture
    92 on at

    Hi @JeroenJanssens,

     

    welcome. In case of additional questions let us know. 😉

     

    @Fubar:

    Yes you are right. Forgot about the activation of the trace logs. They are always set to "on" in all my environments.

     

    Maybe an additional hint:

    In case you activated the trace logs, do not forget the cleanup job regarding created trace records.

    Otherwise your log db will keep growing.

     

    Best regards,

    Gerald Gut  

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard