Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Approval fails; 'XrmSystemUserForAadPrincipalMissing'

(0) ShareShare
ReportReport
Posted on by 45

I’m working on a Flow in Power Automate and I have a user that is failing the Flow in testing. The part of the Flow where it is failing is where I’ve built a ‘Start and wait for an approval.’ This is the error I receive when I run the test flow:

“The request failed. Error code: 'XrmSystemUserForAadPrincipalMissing'. Error Message: 'The Microsoft Dataverse system row representing user '12345678-abcd-1234-abcd-123456789015' could not be created. Please ask a database administrator to enable this user.'.” (Yes, I created the number above to protect user details.)

 

I’ve checked to make sure this user has a Power Automate Free license associated with their account. The is only the 4th user tested so far so I anticipate issues with other users. The flow is working for the other users tested. It has only failed for this user so far.

 

Any suggestions on how to fix this?

  • Hyzerberg Profile Picture
    45 on at
    Re: Approval fails; 'XrmSystemUserForAadPrincipalMissing'

    There were no security groups, but I did set the AllowAdHocSubscriptions to True and that allowed the user's request to generate the Approval.

     

    Thanks!!

  • Verified answer
    Linn Zaw Win Profile Picture
    2,982 on at
    Re: Approval fails; 'XrmSystemUserForAadPrincipalMissing'

    @Hyzerberg 

    Is there a security group that has been used to control which users have access to the Dataverse environment?

    If there is no security group, can you check if the AllowAdHocSubscriptions setting in Azure AD is enabled as mentioned in this documentation?

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow