Profiles - Get Profiles
Returns a list of service principal profiles.
Returns a list of profiles that belongs to service principal caller.
Limitations
Can only be called by a service principal.
GET https://api.powerbi.com/v1.0/myorg/profiles
GET https://api.powerbi.com/v1.0/myorg/profiles?$top={$top}&$skip={$skip}&$filter={$filter}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
$filter
|
query |
string |
Get a profile by DisplayName |
|
$skip
|
query |
integer int32 |
Skips the first n results |
|
$top
|
query |
integer int32 |
Returns only the first n results |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Examples
Get a specific profile by display |
Get service principal profiles |
Get a specific profile by displayName using filter
Sample request
GET https://api.powerbi.com/v1.0/myorg/profiles?$filter=displayName%20eq%20'My%20new%20profile'
Sample response
{
"value": [
{
"id": "3b211778-e7a5-4d73-8187-f10824047724",
"displayName": "My new profile"
}
]
}
Get service principal profiles
Sample request
GET https://api.powerbi.com/v1.0/myorg/profiles
Sample response
{
"value": [
{
"id": "3b211778-e7a5-4d73-8187-f10824047724",
"displayName": "My new profile"
}
]
}
Definitions
Name | Description |
---|---|
Service |
A Power BI service principal profile. Only relevant for Power BI Embedded multi-tenancy solution. |
Service |
Odata response wrapper for a Power BI service principal profile collection. |
ServicePrincipalProfile
A Power BI service principal profile. Only relevant for Power BI Embedded multi-tenancy solution.
Name | Type | Description |
---|---|---|
displayName |
string |
The service principal profile name |
id |
string |
The service principal profile ID |
ServicePrincipalProfiles
Odata response wrapper for a Power BI service principal profile collection.
Name | Type | Description |
---|---|---|
odata.context |
string |
OData context |
value |
The service principal profile collection |