Home

How to get label activity reports user level and file level programatically?

madhantce
Occasional Contributor

Hello,

 

I used labels and policies in Data Governance. After I auto-published the label, I see the individual files in OneDrive getting tagged with a label.

 

I need to programmatically check if there are any labels associated with the file and categorize them. I don't see the labels data while querying through Graph as well.

 

https://graph.microsoft.com/v1.0/me/drive/root/children/test.txt

 

Do we have any powershell commands or REST API to get these data in granular level?

 

https://docs.microsoft.com/en-us/office365/securitycompliance/view-label-activity-for-documents?redi...

 

Thanks,

Madhan

Related Conversations
Help with Teams Sign-in
srajewski in Microsoft Teams on
1 Replies
Change Icon Colors?
NickOConnor in Microsoft Teams on
7 Replies
Activity reminder in Shifts tab?
MB919 in Microsoft Teams on
3 Replies
Azure Reporting
Christian Taveras in Azure on
1 Replies