Skip to content

In this project you can retrieve metadata from Power BI services from a Powershell script.

Notifications You must be signed in to change notification settings

guimatheus92/Obtain-Power-BI-users-and-licenses-from-Azure-through-PowerShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Get Power BI users and licenses from Azure through PowerShell script

A document repository can also be found in my profile article at Medium.


The first step is to install Azure modules on PowerShell:

 Install-Module -Name AzureRM -Force
 Install-Module -Name AzureAD -Force

The second step is to change your Azure connections:

# Account and Azure data to be able to access
$PBIAdminUPN = “youremail@email.com.br”
$PBIAdminPW = “yourpassword”
$MyOrgTenantID = “your tenant”
$MyOrgBIAppID = “your ID from your Azure app”
$MyOrgBIThumbprint = “thumbprint id

If you want, you can change the folder where you want to download the CSV files

$BasePath = "D:\Azure\"

About

In this project you can retrieve metadata from Power BI services from a Powershell script.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published