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 :
Customer experience | Sales, Customer Insights,...
Answered

Assign Security Roles to Team using Power Automate

(0) ShareShare
ReportReport
Posted on by 50

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.

I have the same question (0)
  • Elowy GrootCRM Profile Picture
    50 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

Responsible AI policies

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

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
DAnny3211 Profile Picture

DAnny3211 126

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 117

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans