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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issues dynamically set...
Power Automate
Unanswered

Issues dynamically setting Owner on Account in Dynamics 365

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am trying to create a flow in my Dynamics 365 environment that will update the record owner of an Account when the territory changes. The flow triggers when the TerritoryID field changes on an Account, then it grabs the ManagerID from the Territory record and attempts to set the Account Owner to the ManagerID.

 

I am very close, in that If I assign a record to the test Territory I manage it works, but as soon as I select a Territory managed by someone else I get the following error: 

SecLib::CrmCheckPrivilege failed. Returned hr = -2147220943 on UserId: 485268c2-6218-eb11-a816-000d3af3ae41 and PrivilegeType: Read

 

I am assuming my issue is something small, but I am not sure what to try next.

 

Thanks,

Scott

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The error you’re getting is a permissions-based error. Your account doesn’t have the permissions in Dynamics that are required to complete the action. Your account has read-only permissions when you need read and write permissions, such as those granted by the sales manager security role. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard