How TO-remove sensitivity labels using Power BI REST admin API

Rishi Khullar 0 Reputation points
2024-01-09T11:56:49.7533333+00:00

I am looking for a solution to remove sensitivity labels from PowerBI reports and dashboards as they are marked with wrong label. This need to be a bulk operation as there are many scattered over the workspaces. I tried to follow this link to do it through RestAPI but could not make it work as the classes and modules are missing

https://learn.microsoft.com/en-us/power-bi/enterprise/service-security-sensitivity-label-inheritance-set-remove-api#requirements-and-considerations

I also tried doing it through PowerShell using

https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.profile/invoke-powerbirestmethod?view=powerbi-ps

But still same issue with using the API.

Can someone help in understanding how to achieve the same?

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.