Admin - Users GetUserArtifactAccessAsAdmin
Returns a list of Power BI items (such as reports or dashboards) that the specified user has access to.
Permissions
- The user must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator) or authenticate using a service principal.
- Delegated permissions are supported.
Required Scope
Tenant.Read.All or Tenant.ReadWrite.All
Limitations
Maximum 200 requests per hour.
GET https://api.powerbi.com/v1.0/myorg/admin/users/{userId}/artifactAccess
GET https://api.powerbi.com/v1.0/myorg/admin/users/{userId}/artifactAccess?continuationToken={continuationToken}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
user
|
path | True |
|
The graph ID or user principal name (UPN) of the user |
continuation
|
query |
|
Token required to get the next chunk of the result set |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Examples
Example |
Example with UPN |
Example
Sample Request
GET https://api.powerbi.com/v1.0/myorg/admin/users/f089354e-8366-4e18-aea3-4cb4a3a50b48/artifactAccess
Sample Response
{
"artifactAccessEntities": [
{
"artifactId": "41ce06d1-d81b-4ea0-bc6d-2ce3dd2f8e87",
"displayName": "test report",
"artifactType": "Report",
"accessRight": "ReadWrite"
}
],
"continuationUri": "https://api.powerbi.com/v1.0/myorg/admin/users/f089354e-8366-4e18-aea3-4cb4a3a50b48/artifactAccess?continuationToken='LDEsMTAwMDAwLDA%3D'",
"continuationToken": "LDEsMTAwMDAwLDA%3D"
}
Example with UPN
Sample Request
GET https://api.powerbi.com/v1.0/myorg/admin/users/testUser@microsoft.com/artifactAccess
Sample Response
{
"artifactAccessEntities": [
{
"artifactId": "41ce06d1-d81b-4ea0-bc6d-2ce3dd2f8e87",
"displayName": "test report",
"artifactType": "Report",
"accessRight": "ReadWrite"
}
],
"continuationUri": "https://api.powerbi.com/v1.0/myorg/admin/users/testUser%40microsoft.com/artifactAccess?continuationToken='LDEsMTAwMDAwLDA%3D'",
"continuationToken": "LDEsMTAwMDAwLDA%3D"
}
Definitions
Artifact |
A user access entry for a Power BI item |
Artifact |
The OData response wrapper for a list of Power BI items (such as reports or dashboards) that a user can access |
Principal |
The principal type |
Service |
A Power BI service principal profile. Only relevant for Power BI Embedded multi-tenancy solution. |
User |
A Power BI user |
ArtifactAccessEntry
A user access entry for a Power BI item
Name | Type | Description |
---|---|---|
accessRight |
|
The access right that the user has for the Power BI item |
artifactId |
|
The Power BI item ID |
artifactType |
|
The type of Power BI item |
displayName |
|
The display name of the Power BI item |
shareType |
|
The type of how the access is given to the Power BI item. Only available for widely shared artifacts APIs. |
sharer |
The user who shared the PowerBI item. Only available for widely shared artifacts APIs. |
ArtifactAccessResponse
The OData response wrapper for a list of Power BI items (such as reports or dashboards) that a user can access
Name | Type | Description |
---|---|---|
artifactAccessEntities |
The list of Power BI items that a user can access |
|
continuationToken |
|
The token for the next chunk in the result set |
continuationUri |
|
The URI of the next chunk in the result set |
odata.context |
|
PrincipalType
The principal type
Name | Type | Description |
---|---|---|
App |
|
Service principal type |
Group |
|
Group principal type |
None |
|
No principal type. Use for whole organization level access. |
User |
|
User principal type |
ServicePrincipalProfile
A Power BI service principal profile. Only relevant for Power BI Embedded multi-tenancy solution.
Name | Type | Description |
---|---|---|
displayName |
|
The service principal profile name |
id |
|
The service principal profile ID |
User
A Power BI user
Name | Type | Description |
---|---|---|
displayName |
|
Display name of the principal |
emailAddress |
|
Email address of the user |
graphId |
|
Identifier of the principal in Microsoft Graph. Only available for admin APIs. |
identifier |
|
Identifier of the principal |
principalType |
The principal type |
|
profile |
A Power BI service principal profile. Only relevant for Power BI Embedded multi-tenancy solution. |
|
userType |
|
Type of the user. |