Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I am currently developing a script for setting up customer workspaces. I make heavy use of the Power BI PowerShell cmdlets whereever possible - and if not REST-API.
Addings members of type "App", "Group" and "ServicePrincipal" with Add-PowerBIWorkspaceUser is supported. But the removal of "Group" and "ServicePrincipal" via Remove-PowerBIWorkspaceUser is not. I can also find not the correct REST-API endpoint.
For each workspace permission role (Admin, Contributor, Member, Viewer) we are making use of AAD groups. ServicePrincipals are used to automate processes. The question is now: How to i remove those groups and principals once the assingment has changed via PowerShell?
Pretty sure its just me having to much tomato soup ...
Thank you very much
Greetings
chwolff
The process is slightly different for service principals.
Groups - Delete User In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |