Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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?
Solved! Go to Solution.
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
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
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |