This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Back in July we released to Public Preview a set of APIs to retrieve user permissions (see this blog post for details). Today, I’m excited to tell you about another nifty API to help you better manage your Power BI asset inventory. The Get User Artifact Access As Admin API takes the graph ID of a user and returns lists of assets that the user has access to. The results are paginated by a continuation token, with each page corresponding to one type of asset.
How can this API be useful to you as a Power BI service administrator? Consider the scenario in which an employee leaves the company. In such cases, there is often a need to examine and reassign all assets owned by the employee.
The API call looks like this:
GET https://api.powerbi.com/v1.0/myorg/admin/users/{userGraphId}/artifactAccess{
"artifactAccessEntities": [
{
"artifactId": "<redacted>",
"displayName": "test report",
"artifactType": "Report",
"accessRight": "ReadWrite"
}
],
"continuationUri": "https://api.powerbi.com/v1.0/myorg/admin/activityevents?continuationToken='<redacted>'",
"continuationToken": "<redacted>"
}On a related subject, I would also like to call out to all Power BI Service Administrators to upgrade their classic workspace ahead of the upcoming deadlines using the new ‘Upgrade all' feature via the “Workspaces” tab of the Admin Portal.
As always, leave any feedback or questions in the comments below. We are always looking forward to hearing from you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.