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.
Do we have any powershell commands or REST API to get these data in granular level?