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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard