Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Assign Security Roles to Team using Power Automate

(0) ShareShare
ReportReport
Posted on by 48

I have a complex business unit structure, where I want to use Power Automate to set a security role to a owner team of the business unit.

Like when you add a security role to a owner team of a child business unit, I try this with Power Automate using the action:

pastedimage1680702222009v3.png

The user role is connected to the team after performing this action. However, the role is set in relation to the top business unit (where it is defined):

 

 pastedimage1680702429232v4.png

What I hoped for was that the role is only connected to the business unit where the team is owner of:

pastedimage1680702594920v5.png

So... I hope anyone can help me with this issue. 

Many thanks in advance!!!

Kind regards,
Elowy.

  • Elowy GrootCRM Profile Picture
    48 on at
    RE: Assign Security Roles to Team using Power Automate

    Dear Praveen,

    I appreciate your response! I had actually discovered the solution to this older issue on my own. Once I understood the structure, it became less challenging. As you mentioned, each role is defined separately for each business unit, which I wasn't aware of initially.

    Ultimately, I implemented the following solution: powerpro.nl/.../

    Once again, thank you for taking the time to respond. Responses to each question adds value to this forum!

    Best regards,

    Elowy

  • Verified answer
    Praveen Mulukutla Profile Picture
    55 on at
    RE: Assign Security Roles to Team using Power Automate

    Hi,

    While fetching the security role filter the record based on Team's Business Unit so that you get the role record of that BU?

    Else share the action used to fetch URL to Role, to help you better.

    Regards,

    Praveen. 

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,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans