Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Make Users within an AD container not visible in the GAL

Posted on 2014-02-18
3
345 Views
Last Modified: 2014-02-21
We have a "PendingDeletion" container within Active Directory.  We put User accounts here for 90 days after the user leaves the company in case they return or the account is needed.  After 90 days we delete the account.  During this time Id like to make it so that anyone added to the PendingDeletion folder in AD is not visible in the GAL.
0
Comment
Question by:Twhite0909
3 Comments
 
LVL 22

Expert Comment

by:Nick Rhode
ID: 39867384
On that users mailbox you would choose the option on the General Tab in the Properties to "hide from exchange address list"  prior to disabling or moving the user account.  By default the GAL updates at 4:00am every morning.

General tab, select the Hide From Exchange Address
0
 

Author Comment

by:Twhite0909
ID: 39867399
I have seen the option for individual mailboxes to do this yes.  What I was hoping for was a way that when I move a handful of users to a Container that the Container has the rule to hide everyone under it from the GAl.. This is instead of manually checking the option for each user.
0
 
LVL 19

Accepted Solution

by:
Peter Hutchison earned 500 total points
ID: 39867451
I would create a powershell script, that say, is scheduled to run once a day, picks up all the mailboxes in that container and change the Hidden settings to true.
e.g.
Get-Mailbox -OrganizationalUnit "ou=ArchiveUsers,ou=Mycompany,ou=Com" | Set-Mailbox -HiddenFromAddressListsEnabled $true
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question