Admin - Users GetUserArtifactAccessAsAdmin

Returns a list of artifacts that the given user have access to (Preview).

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/{userGraphId}/artifactAccess
GET https://api.powerbi.com/v1.0/myorg/admin/users/{userGraphId}/artifactAccess?continuationToken={continuationToken}

URI Parameters

Name In Required Type Description
userGraphId
path True
  • string
uuid

The graph ID of user

continuationToken
query
  • string

Token required to get the next chunk of the result set

Responses

Name Type Description
200 OK

OK

Examples

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/activityevents?continuationToken='%2BRID%3A244SAKlHY7YGAAAAAAAAAA%3D%3D%23RT%3A1%23TRC%3A5%23FPC%3AAQYAAAAAAAAAFwAAAAAAAAA%3D'",
  "continuationToken": "%2BRID%3A244SAKlHY7YGAAAAAAAAAA%3D%3D%23RT%3A1%23TRC%3A5%23FPC%3AAQYAAAAAAAAAFwAAAAAAAAA%3D"
}

Definitions

ArtifactAccessEntry

A Power BI artifact access entry for user

ArtifactAccessResponse

Odata response wrapper for a Power BI artifact access list for user

ArtifactAccessEntry

A Power BI artifact access entry for user

Name Type Description
accessRight
  • string

Access right that the user has for the artifact.

artifactId
  • string

Artifact ID

artifactType
  • string

Type of the artifact

displayName
  • string

Display name of the artifact

ArtifactAccessResponse

Odata response wrapper for a Power BI artifact access list for user

Name Type Description
continuationToken
  • string

Token to get the next chunk of the result set

continuationUri
  • string

The URI for the next chunk in the result set

odata.context
  • string
value

The artifact access list for user