# PowerBI

## PowerBI App Registration, Permission

Go to Azure AD App registration, add “New registration”

![](/files/TewzWccY2grIPf8KHoda)

Default selection is fine, add a name

![](/files/IUJ2IGkgM7JAmXMyWf5m)

Write down Application (Client ID)

![](/files/ow6M2tBB2RMha1Fb11xN)

Add a client secret, change the duration to an appropriate amount. Client secret has to be recreated each time it runs out and must also be changed in Snowboard afterwards

![](/files/dngokwtJKeCH8gLzzwC4)

Write down Value, this is the Client secret for Snowboard

![](/files/9buTXSM2RTqXD0yOIZTB)

Go to API permissions

![](/files/K7FFBKuVUcUPTMQVmEZj)

```
Add “Application Permissions” → “Tenant.Read.All” 
Add “Application Permissions” → “Report.Read.All” 
Add “Application Permissions” → “Report.ReadWrite.All”
```

![](/files/ogeNXL2A48S6eaNVwMUj)

Grant admin consent

![](/files/3bWp5OAFaUWyDLlNkaRH)

Get AzureAD Tenant ID (<https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-to-find-tenant>)

![](/files/3AmboOrnwLsPBpzvMJY9)

**Shouldn’t be necessary, but for completeness sake:** Go to [https://login.microsoftonline.com/{tenant-id}/adminconsent?client\_id={client-id](https://login.microsoftonline.com/%7Btenant-id%7D/adminconsent?client_id={client-id)} and grant permissions

![](/files/9KnVKhzhwfsoP1GpWNKx)

Today Admin endpoints needed

`https://api.powerbi.com/v1.0/myorg/admin/groups`

<https://learn.microsoft.com/en-us/rest/api/power-bi/admin/reports-get-reports-in-group-as-admin>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sled.so/other-integrations/powerbi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
