Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SystemUser With Id Does Not Exist - Team

(0) ShareShare
ReportReport
Posted on by

Hi all,

I am trying to get a workflow to run on a record whose owner is a Team.  When the record owner is changed to a user, the workflow runs, but when the owner is a Team I get the following error and the process gets stuck in 'waiting': 

The requested record was not found or you do not have sufficient permissions to view it.

SystemUser With Id = xxxxx Does Not Exist

As soon as I change the owner back to a user and retry the workflow, it works.  I have ensured that the owner may be of type Team or User for all related entities, and have made sure to share the workflow with each team.  What else could I be missing?  It seems to me that D365 is expecting a user as owner, but I cannot confirm.

*This post is locked for comments

  • Alok Singh Profile Picture
    Alok Singh 910 on at
    RE: SystemUser With Id Does Not Exist - Team

    Hi,

    Have you assigned any security role to Team ? It seems that Team does not have sufficient permission and it may be because of no security role assigned to it.

    If this does not resolve your issue, could you please share a screen shot of the error message and error log?

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,052 on at
    RE: SystemUser With Id Does Not Exist - Team

    Hi

    I think in your workflow step somewhere you are setting the Owner of the record to a user lookup field.

    When the record is owned by a user, if you use the Owner to set value to a user lookup field in your workflow steps it will work fine. But if the record is owned by a Team, and if your workflow still tries to set the record Owner (this a team in this instance) to a User Lookup.  CRM tries to retrieve the user record with the Team ID but it wont be able to find the record i think

    Hope this helps

  • Suggested answer
    gdas Profile Picture
    gdas 50,089 Moderator on at
    RE: SystemUser With Id Does Not Exist - Team

    Hi,

    What is the scope of workflow ? Try to set workflow scope "Organization".

    What happen if you assigned team security role as System Administrator  , if its works then make sure the team has sufficient security access to run the workflow .

  • RE: SystemUser With Id Does Not Exist - Team

    I believe it is due to N:N relationship.  Now working with this github.com/.../Associate%20Entity.md

  • RE: SystemUser With Id Does Not Exist - Team

    I should mention the workflow's first step is to create a case, funneling the owner in question as the owner of the case, and then the remaining steps are creating tasks related to this case.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans