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 Pages / is it possible automat...
Power Pages
Unanswered

is it possible automatically assign webrole to a contact?

(0) ShareShare
ReportReport
Posted on by 90

I have an entity that contains a the name and GUID of AD security groups i am interested in.
Using this data in a flow, i am populating an entity with the members (GUID, UPN) of each of these groups, so in the dataverse i now have a list of users and their security groups.

I now want to assign users to a webrole based on their security group. I cannot find how to do this with power automate, is it even possible?

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @winston_smyth ,

    Yes, it is possible to assign a web role to a user via Power Automate - see the answer here https://powerusers.microsoft.com/t5/Power-Apps-Portals/Assign-a-web-role-to-a-contact-in-PowerApp-Portal/td-p/1492849. However, you would need to write your own logic which security group correspond to which web role, as there is no connection between them.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 41

#2
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 26

Last 30 days Overall leaderboard