web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / read all environment r...
Power Apps
Unanswered

read all environment roles for environments with CDS

(0) ShareShare
ReportReport
Posted on by 34

I tought, I received a simple task when I had to create a list for all our environments and all users with an admin role in those environments.

However, it looks like that both the Power Automate action "List Environment Role Assignments" and the PowerShell Get-AdminPowerAppEnvironmentRoleAssignment command can only return this information for non-CDS environments.

 

So, here I am, please help me, how can I get this info (PowerShell, Flow, Rest API, doesn't matter, anyhow).

thanks

vm

I have the same question (0)
  • AlbertoCastro Profile Picture
    1,201 Most Valuable Professional on at

    Since versión July 2023 of the CoE Starter Kit includes a table "Environment Security Role Permission" where you can see this information.

    albertocaa_0-1693315613294.png

     

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Regards
    Alberto

  • MartonVilmanyi Profile Picture
    34 on at

    The COE toolkit is using flows, so there must be a way to get this information somehow.

  • jukka-niiranen Profile Picture
    351 on at

    CoE Starter Kit does this via reading data from the Dataverse tables per each environment. You can look at its flows "Admin | Sync Template v3 (Environment Properties)" and "SYNC HELPER - Get Security Role Users" for the logic used in getting the security role assignment information.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard