097 - Retrieve list of Users and Roles in Environment using Power Automate

  Рет қаралды 8,146

Kent Weare

Kent Weare

Күн бұрын

In this video, we are going to discuss how we can programmatically obtain a list of users and respective security roles from an environment using Power Automate Cloud flows.
*Update* - I learned from my colleague Phil Topness that the approach I have outlined is specific to users who have been granted a role directly. For those who assign a team to a user and subsequently a role to the team can use the Team and Role (teamroles_association).
**
Video referenced: 073 - Onboarding Users to Power Platform Environments • 073 - Onboarding Users...
Thumbnail record: Photo by Anna Nekrashevich from Pexels

Пікірлер: 15
@erincannon7151
@erincannon7151 Жыл бұрын
Very helpful. Thank you!
@KentWeare
@KentWeare Жыл бұрын
Glad it was helpful!
@BraulioPatriota
@BraulioPatriota Жыл бұрын
teammembership_association worked for me on the expand query. Thanks.
@2007pradipta
@2007pradipta Ай бұрын
this is only working when I add User to the Security Role but when add as A Team (user belongs to this group) it not working.
@smithroad1064
@smithroad1064 Жыл бұрын
Is it possible to only retrieve everyone in the System admin role and filter out certain id's such as the Platform Admins and Tenant Admins? The reason would be if I granted one person to manage the environment, I want to know when or if they added someone else.
@denisskorikov6234
@denisskorikov6234 7 ай бұрын
Hi Kent, thank you very much for the video! How I can get teamroles_association into the picture. I am not following. Thank you in advance!
@rafianumrex6384
@rafianumrex6384 11 ай бұрын
Hi Kent thank you so much for the content. Well, I need help related to my scenario... Would be grateful if you can help. I need to retrieve the users of some specific App only, only the users with whom I have shared my Model Driven app(not all the users of the environment) then simply I need to send them an email. I don't know how to fetch all the users of a specific Model Driven App. Could you help with that. The second thing is, I can not use any Premium action that requires Licensing . ..Would be very kind of you if you can help with it.
@abyal3kod201
@abyal3kod201 2 жыл бұрын
I did the same exact way as in the video, but i am not getting the systemuserroles_association value, I can`t select it from anywhere, and can`t code it. Is this still up to date?
@KentWeare
@KentWeare 2 жыл бұрын
I just ran the flow again and it still works. Table Name: Users Select columns: domainname,firstname,lastname,internalemailaddress Expand Query: systemuserroles_association If that isn't working for you it probably is a security issue. The user that is running this is an environment admin
@oliver3266
@oliver3266 2 жыл бұрын
I have the exact same issue. I'm a system admin, but I don't get any "systemuserroles_association" value to select. Did you manage to fix this issue? Great video, though! :-)
@abyal3kod201
@abyal3kod201 2 жыл бұрын
@@oliver3266 No, I only had to remove the security roles, I also wanted to retrieve them but I didn`t manage to do it and I dropped it.. Maybe it`s because of security issues as Kent Weare said.
@abyal3kod201
@abyal3kod201 2 жыл бұрын
@@KentWeare maybe its possible you could share this flow, by uploading it somewhere?
@oliver3266
@oliver3266 2 жыл бұрын
​@@abyal3kod201 I actually found a "workaround/solution" for this step. Essentially, I simply created it as an expression. So I created an expression like this "items('Apply_to_each')?['systemuserroles_association'] . And for the "Security Role" in the 'add row into table'-step I also created it as an expression like this: items('Apply_to_each_2')?['name'] . This did the trick for me. 😄
073 - Onboarding Users to Power Platform Environments
25:33
Kent Weare
Рет қаралды 1,5 М.
Power Automate Child Flow using Solution Packages
22:50
Shane Young
Рет қаралды 29 М.
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 61 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 17 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 35 МЛН
Get ALL User Profile Data using Power Automate
12:00
Christine Payton
Рет қаралды 12 М.
Implementing Role Based Security in Power Apps
23:54
Reza Dorrani
Рет қаралды 154 М.
🔃 Sync two SharePoint Lists: A Quick and Easy Guide
22:22
Enea Liçaj
Рет қаралды 33 М.
Easily Avoid Apply to Each Loops | Power Automate
10:20
FlowJoe
Рет қаралды 10 М.
FlowBites: Using XPath with Power Automate
13:53
MattWeston365
Рет қаралды 7 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 5 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,6 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 5 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 312 М.