Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey,
We have applied sensitivity labels on our PowerBI content like dataset, reports.
When i use the Scanner API, i see in the result json that the sensitivity label guids are returned(see below) -
Is there any separate API available/any other way to get the Sensitivity guid to names mapping please
Please help
Thanks
Solved! Go to Solution.
Thanks for this. But i used the Graph API to get the label guid to name mapping.
Hoping this assists others.
Hey,
We have applied sensitivity labels on our PowerBI content like dataset, reports.
When i use the Scanner API, i see in the result json that the sensitivity label guids are returned(see below) - I need to get the corresponding names please. How can this be achieved please?
Is there any separate API available that would return the actual label names or any way to get the master list of Labels available?
Please help
Thanks
Hi, @msprog
I check the rest API document but not found the get sensitive label API, it seems existed API to set or remove specific label.
Set or remove sensitivity labels programmatically with admin APIs - Power BI | Microsoft Learn
In addition, the document also mentions these sensitive label operations seems will be records in the audit logs. For this situation, perhaps you can try to use activity log related API to indirectly get these labels.
Sensitivity label audit schema - Power BI | Microsoft Learn
Track user activities in Power BI - Power BI | Microsoft Learn
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for this. But i used the Graph API to get the label guid to name mapping.
Hoping this assists others.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!