Note
If you contribute please be sure to use the replaceguids script to change any sunsitive IDs
This is initially to provide a base for schema validation and as a reference for future usage of the APIs.
The Power BI APIs are not all that are required as the Power BI ecosystem extends beyond the REST APIs as documented here
Have added a python script to call the apis, you will need to generate a bearer token though for the power bi service. See https://learn.microsoft.com/en-us/rest/api/power-bi/
If you want to cheat you can grab a bearer token from the 'try it' pane of the REST API docs See https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin#code-try-0
Have included the commands for powershell as it is implied here that there is a parity between the cmdlets and the APIs however there are differences as highlighted in the Groups-GetGroupsAsAdmin detail.md file.
To execute the powershell scripts you need to install MicrosoftPowerBIMgmt and login
Install-Module -Name MicrosoftPowerBIMgmt
Login-PowerBIServiceAccount
Generally there is loose parity of feature when the feature has both an administrative and user based context to the API however powershell commands have been included for reference
Would welcome contributions