chazzy2501 Posted October 9, 2020 Posted October 9, 2020 What the correct way to stop the expired Team Groups from appearing in the Global Address List... Also is there away of getting my Sharp MFP a list of the current Team Groups Address list. I thought of doing a secure LDAP via azure but that looked wayyy to tricky. Ideas welcome..
Steve21 Posted October 9, 2020 Posted October 9, 2020 There’s a manual option checkbox under the group admin settings (note group not team) But you can script it etc Steve
neonetman Posted October 9, 2020 Posted October 9, 2020 If you use SDS, you can login to SDS.microsoft.com and run a cleanup in there... drop me a message if you want more details
chazzy2501 Posted October 9, 2020 Author Posted October 9, 2020 Thanks @neonetman I've already run a report / cleanup that is how I expired all the teams. This however hasn't removed them from the GAL.
neonetman Posted October 9, 2020 Posted October 9, 2020 Login to Azure AD admin, then choose All Services, and Groups - I seem to remember I had to delete expired groups in there as well
chazzy2501 Posted October 9, 2020 Author Posted October 9, 2020 (edited) This is what I've just done, let see if it works. $Groups = Get-UnifiedGroup -ResultSize Unlimited | ? {$_.Displayname -like "Exp0920_*"} Foreach ($Group in $Groups) {Set-UnifiedGroup -Identity $Group.Name -HiddenFromAddressListsEnabled $true} } modified a little to only hide expired, as the display name was altered in the section clean up 0920 being the date. EDIT: it worked. current team groups still display and expired have gone from the GAL. p.s. if I delete the team groups in Azure the pupils would loose last years coursework Edited October 9, 2020 by chazzy2501 2
mullet_man Posted March 18, 2025 Posted March 18, 2025 This is what I've just done, let see if it works. $Groups = Get-UnifiedGroup -ResultSize Unlimited | ? {$_.Displayname -like "Exp0920_*"} Foreach ($Group in $Groups) {Set-UnifiedGroup -Identity $Group.Name -HiddenFromAddressListsEnabled $true} } modified a little to only hide expired, as the display name was altered in the section clean up 0920 being the date. EDIT: it worked. current team groups still display and expired have gone from the GAL. p.s. if I delete the team groups in Azure the pupils would loose last years coursework Thank you for this, I've had expired Teams listed for years and finally got rid of them out of the GAL!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now