Edit

Share via


Troubleshoot user access problems for different environments

Summary

This article helps administrators diagnose and resolve common user access problems in Power Platform environments. You learn how to use the built-in diagnostics tool to identify problems with permissions, licenses, security roles, and group memberships that prevent users from accessing environments and resources.

To access an environment, a user must meet the following criteria:

  • Be enabled for sign-in in Microsoft Entra ID.
  • Have a valid license that has a Dynamics 365 or Microsoft Power Platform recognized service plan, or the environment must have active per-app plans.
  • Be a member of the environment's Microsoft Entra group (if one is associated with the environment).
  • Have at least one Dataverse security role assigned directly to them or to a group team they're a member of.

A user's level of access within the environment and to the resources (apps and data) in the environment is determined by the privileges defined in the security roles assigned to that user. Their access mode being Administrative or Read-Write also determines their level of access within an environment.

Run user diagnostics

Administrators can use the Run diagnostics feature in the Power Platform admin center to assess user access to an environment and get details and mitigation suggestions about why a user can or can't access the environment.

Follow these steps to run user access diagnostics:

  1. In the Power Platform admin center, select an environment.

  2. Select Settings > Users + permissions > Users.

  3. Select a user.

  4. Select Run diagnostics.

  5. Review the details for the user, and take any needed corrective actions.

Note

When you run or rerun diagnostics, the process synchronizes the user information in Microsoft Entra ID to the environment's Dataverse database to provide an up-to-date status on the user's properties. If the diagnostic run doesn't eliminate the root cause of a user access issue and you need to create a support ticket, include the results of the diagnostic run in the support ticket. This information helps Microsoft Support engineers resolve your issue faster.

Assign security roles to users

When a user encounters an error screen stating they have no roles, a system administrator needs to assign roles to the user. Assign roles directly to the user or to a group team that the user is part of. For information on how to assign Dataverse security roles to a user, see Assign a security role to a user.

Troubleshoot record visibility issues

If a user has trouble accessing a record in Dataverse, check if they have the necessary privilege and access. For more information, see How access to a record is determined.

Troubleshoot license problems

  1. Check if the user has a license. If the user doesn't have a license, assign one. For more information, see Add a license to a user account.

  2. After assigning a license, wait for the license change to sync to the environment. To trigger a sync for this user, the system administrator for the environment can re-add the user to the environment. For more information, see Add users to an environment that has a Dataverse database.

Verify environment association and group membership

  1. As a system administrator of the environment, verify that the environment is associated with a Microsoft Entra group. For more information, see Associate a security group with an environment.

  2. Make sure the user with the access problem is a member of the group associated with the environment. For more information, see Create a security group and add members to the security group.

  3. After updating user membership in the environment's group, wait for the change to sync to the environment. To trigger a sync for this user, the system administrator for the environment can re-add the user to the environment. For more information, see Add users to an environment that has a Dataverse database.

Troubleshoot permission problems

If a user doesn't have permissions to access customer engagement apps (Dynamics 365 Sales, Dynamics 365 Customer Service, Dynamics 365 Field Service, Dynamics 365 Marketing, and Dynamics 365 Project Service Automation), a system administrator should complete the following steps:

  1. In the Power Platform admin center, select an environment.

  2. Select Settings > Users + permissions > Users.

  3. Open the user record.

  4. Select Manage Roles.

  5. Make note of the role assigned to the user. If appropriate, select a different security role.

  6. Close the Manage Roles dialog box.

  7. Select Settings > Security Roles.

  8. Select the security role that you noted in the previous step.

  9. Under Core Records, confirm that the Read permission for User Entity UI Settings is set to User. If the security role is missing this permission, the system administrator needs to change this setting.

    Screenshot of the Power Platform admin center security role settings showing the User Entity UI Settings row under Core Records with the Read permission set to User.

Troubleshoot unaccounted user problems

In some cases, the system doesn't automatically provision users into environments.

If a user meets all access requirements but is still missing from an environment, the user might fall into one of the following cases:

  • Users with only Office licenses (with Dataverse plan enabled) aren't pre-provisioned into environments.

  • Owners of Microsoft Entra groups that are associated with environments aren't pre-provisioned.

  • Members of Microsoft Entra groups that are part of a Group Team created for the Microsoft Entra group aren't pre-provisioned.

  • Users aren't pre-provisioned into Microsoft Dataverse for Teams environments. For more information, see Users not added automatically in Dataverse.

Although the system doesn't pre-provision these users, you can add them on demand. To add or refresh users on demand, see the following section.

On-demand user management

As mentioned earlier, some scenarios don't automatically provision users. Also, environments might experience delays in showing the users' latest status. In these situations, adding or refreshing specific users on demand can help.

Use one of the following methods to add or refresh users:

Known issue

The system currently checks only for security roles assigned directly to a user. It doesn't check for roles inherited through group team memberships.