Microsoft365DSC
Microsoft365DSC copied to clipboard
Role Group Filtering
We have Role groups and some of them are partner managed, which are custom made and some are directly from Azure Portal, ie, PIM Roles. So is it possible to use filtering in role groups when we export role group configurations for Capabilities and ManagedBy.
For example, using Exchange Powershell, Get-RoleGroup | ?{$_.capabilities -eq "partner_managed"| select name}
We just want to export those role groups which are made by us admins, and partner managed.
Right now, filtering on EXORoleGroup during an Export is not implemented. This might be a good addition.
Right now, filtering on EXORoleGroup during an Export is not implemented. This might be a good addition.
We need this as we want to monitor and compare only the custom role groups and not the general PIM roles.