Muokkaa

Jaa


The Field Service mobile app fails to start due to permission or privilege issues

This article provides a resolution for the "Principal user is missing privilege" error that occurs when the Field Service mobile app fails to start.

Symptoms

The Dynamics 365 Field Service mobile app fails to start with the following error:

Principal user (Id=<GUID>, …) is missing 'prvReadmsdyn_Mobile' privilege (Id=<GUID>) on OTC=<INT> for entity 'msdyn_mobilesource' …

Cause

The new user experience in the Dynamics 365 Field Service mobile app requires certain privileges in the users' security roles.

Resolution

The system automatically adds the necessary privileges to all default security roles. However, if your organization uses custom security roles, you need to edit the security roles to add the following table privileges:

  • Name="msdyn_richtextfile" Permission="Create" Value="User"
  • Name="msdyn_richtextfile" Permission="Delete" Value="User"
  • Name="msdyn_richtextfile" Permission="Read" Value="User"
  • Name="msdyn_richtextfile" Permission="Write" Value="User"
  • Name="msdyn_MobileSource" Permission="Read" Value="Organization"
  • Name="msdyn_solutioncomponentsummary" Permission="Read" Value="Organization"
  • Name="SettingDefinition" Permission="Read" Value="Organization"
  • Name="Solution" Permission="Read" Value="Organization"
  • Name="SettingDefinition" Permission="Read" Value="Organization"

Tip

If you don't know the name of the custom security role, expand Users + permissions, select Users, and look for the user who receives the error message. Note the user's security role and review the table privileges for that security role.