Our upcoming State and Local Power BI Community Call will focus on administrative scripts that can be used for lightweight management of your Power BI environment. This will be a script heavy session with shared sample code and reports that will display the resulting output log files. All examples will include the specific parameters to run against our government Power BI cloud service.
Scripts and Power BI Report Templates can be found here https://github.com/Hikmer/PowerBI-GCC
The following link will direct you to the Teams Live event day of the presentation https://aka.ms/SLGPowerBICommunityCall
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-auditing