Comments on: How to Monitor Changes to Sensitivity Labels Used for Container Management https://practical365.com/monitor-changes-sensitivity-labels-container-management/ Practical Office 365 News, Tips, and Tutorials Sat, 06 Jan 2024 10:46:47 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: ayo https://practical365.com/monitor-changes-sensitivity-labels-container-management/#comment-285221 Sat, 06 Jan 2024 10:46:47 +0000 https://practical365.com/?p=51273#comment-285221 HI Tony

Yes i was using 7.4. I tested the new script “Checking Groups for Label Changes”

“”Fetching Microsoft Groups”” thats all it says now doesn’t give result like previous did.

Thanks

]]>
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_285171'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_285171"> <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/monitor-changes-sensitivity-labels-container-management/#comment-285171 Fri, 05 Jan 2024 14:11:14 +0000 https://practical365.com/?p=51273#comment-285171 In reply to Ayo.

So it seems like PowerShell doesn’t like the guid typing in the comparison, which works well with PowerShell 5.1. I changed the code and everything works for PowerShell 7.4.

]]>
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_285164'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_285164"> <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/monitor-changes-sensitivity-labels-container-management/#comment-285164 Fri, 05 Jan 2024 12:09:38 +0000 https://practical365.com/?p=51273#comment-285164 In reply to Ayo.

What version of PowerShell are you using?

]]>
By: Ayo https://practical365.com/monitor-changes-sensitivity-labels-container-management/#comment-285154 Fri, 05 Jan 2024 08:47:03 +0000 https://practical365.com/?p=51273#comment-285154 HI Tony thanks for your response. I used your script and sometimes it works and sometimes I get this error

InvalidArgument: /M365/detect change.ps1:5:8
Line |
5 | If ([guid]$Group.SensitivityLabel.Guid -ne [guid]$Group.CustomAttr …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert null to type “System.Guid”.
InvalidArgument: /M365/detect change.ps1:5:8
Line |
5 | If ([guid]$Group.SensitivityLabel.Guid -ne [guid]$Group.CustomAttr …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert null to type “System.Guid”.
InvalidArgument: /M365/detect change.ps1:5:8
Line |
5 | If ([guid]$Group.SensitivityLabel.Guid -ne [guid]$Group.CustomAttr …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot convert null to type “System.Guid”.

Any idea why we keep getting this guid error

]]>
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_284592'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_284592"> <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/monitor-changes-sensitivity-labels-container-management/#comment-284592 Thu, 28 Dec 2023 14:52:20 +0000 https://practical365.com/?p=51273#comment-284592 In reply to ayo.

It’s not possible to stop group owners changing the sensitivity label. Owners have full control over their team/group.

The code to revert a label is in the article.

]]>
By: ayo https://practical365.com/monitor-changes-sensitivity-labels-container-management/#comment-284590 Thu, 28 Dec 2023 14:35:41 +0000 https://practical365.com/?p=51273#comment-284590 HI Tony

Thanks for this post. We have realised that it is not possible to restrict team owner from changing the sensitivity label. Please correct me if am wrong on that.

Also how do I apply this if restricting is not possible.

Check and revert. This is the hard-line approach. The original label is the label and group owners aren’t allowed to change it, so the original label is reapplied.

]]>
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_247666'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_247666"> <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/monitor-changes-sensitivity-labels-container-management/#comment-247666 Mon, 28 Nov 2022 19:46:49 +0000 https://practical365.com/?p=51273#comment-247666 In reply to Dave.

I don’t. But it’s PowerShell and you can use the Get-SPOSite cmdlet to get the sensitivity label data and check if it changes.

]]>
By: Dave https://practical365.com/monitor-changes-sensitivity-labels-container-management/#comment-247665 Mon, 28 Nov 2022 19:35:29 +0000 https://practical365.com/?p=51273#comment-247665 Regarding the first section of your article about labeling groups without a label – how did you handle labeling SPO sites that aren’t associated with any 365 groups?

]]>
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_236386'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_236386"> <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/monitor-changes-sensitivity-labels-container-management/#comment-236386 Wed, 25 Aug 2021 11:31:13 +0000 https://practical365.com/?p=51273#comment-236386 In reply to Lance.

It takes time for the synchronization of a label change (made in Teams or OWA) to reach SharePoint Online. I believe the expected period is up to 24 hours. During that time, SPO will display an incorrect label. If this is important, go and change the label in the SPO admin center.

]]>
By: Lance https://practical365.com/monitor-changes-sensitivity-labels-container-management/#comment-236384 Wed, 25 Aug 2021 11:27:28 +0000 https://practical365.com/?p=51273#comment-236384 Hi Tony,
Great blog and I have also come across the same issues.

Have you had a thought about misclassification from the Team creation and the underlying SharePoint site? When a Team is created with a container label the SharePoint site is also applied with the same label. But changing the classification of the Team the SharePoint site doesn’t follow.

If you created the Team with say an external label to allow guests etc then change it to an Internal label. The guest would still have full access to the underlying SharePoint site as long as they are not removed from the Unified Group.
If removed from the group they would lose the access but the SharePoint site is still open to guests.

I find it strange that when you change a classification on the Team the underpinning Site doesn’t follow.

What are your thoughts on this?

Many Thanks

Lance

]]>