Skip to main content

Notifications

Announcements

No record found.

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,124

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

  • Ann2015 Profile Picture
    1,124 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,124 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,124 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,124 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,001 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans