Is there a way to add an Azure Entra ID security group as users of a PowerPlatform environment that has a dataverse environment associated with it using PowerShell?
If there was no dataverse association the command 'Set-AdminPowerAppEnvironmentRoleAssignment' could be used but is comes back with an error due to dataverse - is there something similar I could use?
Hi,
you can relate a Security role with Entra ID security group using Teams:
https://learn.microsoft.com/en-us/power-platform/admin/manage-teams#types-of-teams
After of this, you could add or remove members of the security group woth powershell:
https://learn.microsoft.com/en-us/powershell/module/azuread/?view=azureadps-2.0#groups
-------------------------------------------------------------------------
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
Michael E. Gernaey
9
Super User 2025 Season 1
bscarlavai33
5
Super User 2025 Season 1
getsplash
2