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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.