Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Assign Security Roles to Team using Power Automate

Posted on by 491

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
    Elowy GrootCRM 491 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
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans