Jump to content

Recommended Posts

Posted

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..

Posted (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 by chazzy2501
  • Thanks 2
  • 4 years later...
Posted
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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...