Skip to content

UnkemptDataBod/powerbi-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

If you contribute please be sure to use the replaceguids script to change any sunsitive IDs

powerbi-apis

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

General

Rest API

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

Powershell cmdlet

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

.net Client Library

Would welcome contributions

General resources used

https://www.jsongenerator.io/schema

Other useful references

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages