Megosztás a következőn keresztül:


Users - Refresh User Permissions

Refreshes user permissions in Power BI.

When a user is granted permissions to a workspace, app, or Power BI item (such as a report or a dashboard), the new permissions might not be immediately available through API calls. This operation refreshes user permissions to ensure they're fully updated.

Important

  • Call Refresh User Permissions before making other API calls.
  • Since it takes about two minutes for the permissions to get refreshed, wait for two minutes before making other API calls.

Permissions

This API call can be called by a service principal profile. For more information see: Service principal profiles in Power BI Embedded.

Required Scope

Workspace.Read.All or Workspace.ReadWrite.All

Limitations

Maximum one call per user per hour.

POST https://api.powerbi.com/v1.0/myorg/RefreshUserPermissions

Responses

Name Type Description
200 OK

OK

Examples

Example

Sample request

POST https://api.powerbi.com/v1.0/myorg/RefreshUserPermissions

Sample response