web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Script Error - Principal user is missing prvReadTerritory privilege for entity 'territory'

(0) ShareShare
ReportReport
Posted on by 1,128

I create a new Unified App and am getting this error when I try to create a new account? Principal user is missing prvReadTerritory privilege for entity 'territory'

System Admins can create the new account but looks like some role is missing for the user that is getting this error. This user has the Read/Write access not sure what I am missing. 

pastedimage1584650052303v1.png

Thanks

I have the same question (0)
  • Ann2015 Profile Picture
    1,128 on at
    RE: Script Error - Principal user is missing prvReadTerritory privilege for entity 'territory'

    never mind found them in other sections. Thank you for all the help.

  • Ann2015 Profile Picture
    1,128 on at
    RE: Script Error - Principal user is missing prvReadTerritory privilege for entity 'territory'

    I don't see case or entitlement entities ? where can I find them ? here is what I see under my "Custom Entities" 

    pastedimage1584732240110v1.png

  • Suggested answer
    Henry J. Profile Picture
    5,237 on at
    RE: Script Error - Principal user is missing prvReadTerritory privilege for entity 'territory'

    Try providing read access to Case and Entitlement entities in your security role. However if these are entities you are not using, you could also just remove these sub grids from your forms.

  • Ann2015 Profile Picture
    1,128 on at
    RE: Script Error - Principal user is missing prvReadTerritory privilege for entity 'territory'

    I see this error where the user have no permission to access certain areas. How can I fix this? what entity is missing? 

    pastedimage1584731536262v1.png

  • Ann2015 Profile Picture
    1,128 on at
    RE: Script Error - Principal user is missing prvReadTerritory privilege for entity 'territory'

    The role was missing a "read" permission on territory.

    I thought since it had Delete permission  that includes read, write, create & delete.

    Thank you this fixed my issue.

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Script Error - Principal user is missing prvReadTerritory privilege for entity 'territory'

    Hi,

    Based on the error message, the user does not have read permission on territory entity. Check & fix that to resolve this issue.

    Hope this helps.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 433

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans