rencore.com (opens in a new tab) Start a trial (opens in a new tab)

Power Platform: failed to create a Microsoft Dataverse system row representing user

Last updated Scanning Power Apps Power Automate

AI summary

When a Power Platform scan encounters an error creating the consent account as a user in a Dataverse environment, Rencore Governance skips reading affected flow details but continues the scan. To resolve this Microsoft service error, contact Microsoft Support with the user ID and environment, and verify the consent account is a member of any security groups restricting the environment.

A Power Platform scan reports that Microsoft could not add the Power Platform consent account to a Dataverse environment. Rencore Governance skips the details of the affected flows, and the rest of the scan continues.

What you see

The error:

Failed to create a Microsoft Dataverse system row representing user ‘{userId}’ with code ‘cdsApiException’ and message ‘Microsoft.Dynamics.DirectoryManagement.CDSApiException

The message in Rencore Governance:

We encountered an issue while retrieving information about Flows from the tenant url {URL}. An error occurred in the Microsoft service, please contact Microsoft Support to resolve the issue

Why it happens

To read a flow that is stored in a Dataverse environment, Microsoft adds the account used for the Power Platform consent to that environment as a user. Here, Microsoft could not create that user. Rencore Governance skips the details of the affected flows, such as name, state, creator and connections, and the rest of the scan continues.

How to fix it

The error comes from the Microsoft service.

  1. Open a case with Microsoft Support and include the user ID and the environment from the error.
  2. If the environment is restricted to a security group, also check that the consent account is a member of it. See Power Platform: the user cannot be created in Microsoft Dataverse.
  3. Wait for the next scan. It collects the missing flow details.

Frequently asked questions

Why does my Power Platform scan show a Dataverse system row error for a user?

Microsoft could not add the Power Platform consent account as a user to a Dataverse environment. Microsoft needs that user to read a flow stored in the environment, so the creation failed with a cdsApiException error.

What does Rencore Governance skip when the Dataverse user cannot be created?

Rencore Governance skips the details of the affected flows, such as name, state, creator and connections. The rest of the scan continues as normal.

How do I fix the failed to create a Microsoft Dataverse system row error?

Open a case with Microsoft Support and include the user ID and the environment from the error, because the error comes from the Microsoft service. If the environment is restricted to a security group, also check that the consent account is a member of it. The next scan collects the missing flow details.