Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
powercdc
Regular Visitor

REST API Sensitivity Labels

I am using the scanner APIs to get metadata for my organization's Power BI tenant.

 

The API returns a 'sensitivityLabelId' GUID for reports, dashboards etc.

 

Where can I get the corresponding sensitivity label descriptions? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @powercdc,

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

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @powercdc,

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

Regards,

Xiaoxin Sheng

powercdc
Regular Visitor

Following much investigation, there does not appear to be an API where I can programatically query the list of sensitivity label ID and Description values

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.