Comments on: Practical Graph: Using the Extract Sensitivity Labels Graph API https://practical365.com/report-sensitivity-labels-sharepoint-online/ Practical Office 365 News, Tips, and Tutorials Mon, 03 Jun 2024 15:53:41 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Tony Redmond</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_294327'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_294327"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Tony Redmond</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-294327 Mon, 20 May 2024 18:43:27 +0000 https://practical365.com/?p=58371#comment-294327 In reply to Andrew.

Good job!

]]>
By: Andrew https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-294317 Mon, 20 May 2024 15:56:12 +0000 https://practical365.com/?p=58371#comment-294317 In reply to Tony Redmond.

Hi Tony,

I managed to get it all working! 🙂

https://github.com/soundguy5566/assignSenLabel/blob/main/label

]]>
By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Tony Redmond</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_294015'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_294015"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Tony Redmond</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-294015 Mon, 13 May 2024 22:15:21 +0000 https://practical365.com/?p=58371#comment-294015 In reply to Andrew.

Let us know when you’ve figured things out… I might have another look at this the next time I get some time.

]]>
By: Andrew https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-293985 Mon, 13 May 2024 11:22:05 +0000 https://practical365.com/?p=58371#comment-293985 In reply to Tony Redmond.

It appears that the assignSensitivityLabel API is now publicly available as a metered API.

https://learn.microsoft.com/en-us/graph/metered-api-setup?tabs=azurecloudshell

I’ve followed the guide and created the app registration. However, I haven’t quite figured out how to use the API to assign the sensitivity labels yet…

]]>
By: John Tzanos https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-287816 Mon, 19 Feb 2024 11:34:08 +0000 https://practical365.com/?p=58371#comment-287816 Amazing post! Thank you so much for providing all these details.

I had an open case with Microsoft, because SharePoint was not displaying the correct sensitivity information for some PDF files. After using the script, the sensitivity information was updated correctly.

]]>
By: Tony Redmond https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-287114 Wed, 07 Feb 2024 20:42:40 +0000 https://practical365.com/?p=58371#comment-287114 In reply to Karam.

I never went back to try the assignSensitivityLabel API. I grew tired of waiting for Microsoft to approve my app (they probably thought it wasn’t a serious app) and other things took precedence…

]]>
By: Karam https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-287112 Wed, 07 Feb 2024 20:03:35 +0000 https://practical365.com/?p=58371#comment-287112 Hi Tony, great post, thank you.

I’m trying the assignSensitivityLabel API. I enabled the metered API but I’m still getting the following error:
Error: 422, {“error”:{“code”:”notSupported”,”message”:”Sensitivity label cannot be assigned due to unsupported feature.”,”innerError”:{“code”:”unprocessableEntity”}}}

Did you have any luck testing this API?

]]>
By: Tony Redmond https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-280967 Thu, 16 Nov 2023 15:51:07 +0000 https://practical365.com/?p=58371#comment-280967 In reply to Dan Cecil.

A document can have multiple sensitivity labels assigned by multiple tenants if those labels do not enforce encryption. Once a label enforces encryption, it becomes the only one assigned to the document.

SharePoint does populate properties with label GUIDs. See https://office365itpros.com/2020/06/30/search-sharepoint-for-sensitivity-labels/

]]>
By: Dan Cecil https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-280963 Thu, 16 Nov 2023 14:47:47 +0000 https://practical365.com/?p=58371#comment-280963 Hi Tony, great article! I’ve noticed that there is a SharePoint property on the ListItem named ‘_IpLabelId’ that seems to contain the Sensitivity Label Id.

Do you know anything about this, and how robust it may be?

Am I also right in thinking there can be multiple sensitivity labels applied to a file, for example from different tenants? My understanding is the extractSensitivityLabel command produces an array of objects.

]]>
By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Tony Redmond</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_279883'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_279883"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Tony Redmond</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/report-sensitivity-labels-sharepoint-online/#comment-279883 Mon, 06 Nov 2023 17:30:51 +0000 https://practical365.com/?p=58371#comment-279883 In reply to Christopher Iguardia.

Did you look at the script? That’s exactly what it does…

]]>