Forum Discussion
mass remove access from power BI report
- 2 years ago
Hi Robert14358
You can use PowerShell and Power BI Rest APIs
DELETE https://api.powerbi.com/v1.0/myorg/groups/{groupId}/users/{userId}
However there is no API to remove permissions from a specific report
- Anonymous1 year ago
Thanks for the replies from Idrissshatila and aj1973.
Hi Robert14358 ,
As aj1973 said, you can use powershell and Power BI REST API to deletes the specified user permissions from the specified workspace. I'll give you some more details.
The following APIcan be called:
Groups - Delete User In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
You can also use PowerShell cmdlets: Power BI Cmdlets reference | Microsoft Learn
Here are some links that are similar to your needs and will help you out:
Solved: How to remove the access of multiple users from a ... - Microsoft Fabric Community
Solved: Removing multiple users form the power bi workspac... - Microsoft Fabric Community
Best Regards,
Zhu
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the replies from Idrissshatila and aj1973.
Hi Robert14358 ,
As aj1973 said, you can use powershell and Power BI REST API to deletes the specified user permissions from the specified workspace. I'll give you some more details.
The following APIcan be called:
Groups - Delete User In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
You can also use PowerShell cmdlets: Power BI Cmdlets reference | Microsoft Learn
Here are some links that are similar to your needs and will help you out:
Solved: How to remove the access of multiple users from a ... - Microsoft Fabric Community
Solved: Removing multiple users form the power bi workspac... - Microsoft Fabric Community
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.