Forum Discussion
JakeHollcroft
Jul 10, 2024Copper Contributor
How to get Teams sensitivity labels
Hello all, I'm using the Microsoft Graph API to retrieve all my organization's Teams. I have everything I need, except for the sensitivity label. Does anyone know how to go about this using the...
VasilMichev
Jul 10, 2024MVP
You mean the "container" label assigned to the Team/Group? You can get that via the AssignedLabels property on the group object. Tony has a great Teams reporting script here, feel free to "borrow" from it: https://github.com/12Knocksinna/Office365itpros/blob/master/TeamsGroupsActivityReportV5.PS1
- JakeHollcroftJul 10, 2024Copper Contributor
Thank you for the reply. No, I don't think this would be helpful. I'm searching for the sensitivity label assigned to the Team. Not the group label.
- VasilMichevJul 10, 2024MVPIt's the same thing.