<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>GAL &#8211; Webbanshee</title>
	<atom:link href="https://webbanshee.net/tag/gal/feed/" rel="self" type="application/rss+xml" />
	<link>https://webbanshee.net</link>
	<description>Your Exchange Server Blog</description>
	<lastBuildDate>Wed, 06 May 2020 07:19:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://webbanshee.net/wp-content/uploads/2017/01/WB_BL_RND-150x150.png</url>
	<title>GAL &#8211; Webbanshee</title>
	<link>https://webbanshee.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">122610384</site>	<item>
		<title>Entry is missing in the Global Address List</title>
		<link>https://webbanshee.net/entry-missing-in-the-global-address-list/</link>
					<comments>https://webbanshee.net/entry-missing-in-the-global-address-list/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Tue, 28 Apr 2020 10:01:30 +0000</pubDate>
				<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2013]]></category>
		<category><![CDATA[2016]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[GAL]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[OWA]]></category>
		<category><![CDATA[Powershell]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=3520</guid>

					<description><![CDATA[<p><a class="ex-link" href="https://webbanshee.net/entry-missing-in-the-global-address-list/"><img src="https://webbanshee.net/wp-content/uploads/2020/04/FindSomeoneInGAL_ps.svg" /><span class="exTeaser2">After a mailbox or a distribution group has been created it can happen that the appropriate entry is missing in the Global Address List.</span><br />
<span class="exText2">If an entry is missing in the Global Address List you can query the GAL on the server<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/entry-missing-in-the-global-address-list/">Entry is missing in the Global Address List</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Hello Folks! After a mailbox or a distribution group has been created it can happen that the appropriate entry is missing in the Global Address List.</p>
<p style="text-align: justify;">Assuming the <strong>HiddenFromAddressListsEnabled</strong> attribute is set to<span style="color: #993333;"> <strong>$False</strong></span> on the mailbox or distribution group.</p>
<p style="text-align: justify;">When an entry is missing in the Global Address List it is not necessarily needed but good to know if we can find the object in the GAL on the server.</p>
<h3 style="margin-top: 56px; margin-bottom: 20px;">If an entry is missing in the Global Address List you can query the GAL on the server:</h3>
<div class="wpe-box wpe-box-note3">
<div class="wpe-box wpe-box-note-white" style="background: #ffffff!Important; font-weight: bold;"><span style="color: #209154;">## Add Exchange Server SnapIn to PS ##</span><br />
Add-PSSnapin *exch*</p>
<p><span style="color: #209154;">## Get name of GAL ##</span><br />
<strong>Get-GlobalAddressList</strong></p>
<p><span style="color: #209154;">## Prepare data source ##</span><br />
<strong>$customer = <span style="color: #993333;">&#8220;NameOfGAL &#8211; GAL&#8221;</span></strong><br />
<strong>$members=Get-GlobalAddressList $customer</strong></p>
<p><span style="color: #209154;">## Query for a certain object using a part of its name [ we use -like here ] ##</span><br />
<strong>Get-Recipient -RecipientPreviewFilter $members.RecipientFilter -ResultSize unlimited | where {$_.Name -like <span style="color: #993333;">&#8220;*PartOfObjectName*&#8221;</span>} | fl</strong></p>
</div>
</div>
<p style="text-align: justify;">Independently from the outcome of the above PowerShell commands I usually update the Offline Address Book and the Global Address List afterward.</p>
<p>I have put in the option to query the Global Address List for the missing entry because I usually do it.</p>
<h3>Ok here we go &gt; Update the Offline Address Book:</h3>
<div class="wpe-box wpe-box-note3"><strong>Get-OfflineAddressBook</strong><br />
<strong>Get-OfflineAddressBook -Identity<span style="color: #993333;"> &#8220;NameOfOAB&#8221;</span> | Update-OfflineAddressBook</strong></div>
<h3>Now update the Global Address List:</h3>
<div class="wpe-box wpe-box-note3"><strong>Get-GlobalAddressList</strong><br />
<strong>Get-GlobalAddressList -Identity<span style="color: #993333;"> &#8220;NameOfGAL&#8221;</span> | Update-GlobalAddressList</strong></div>
<p>In most cases, this solves it.<br />
&nbsp;<br />
I usually wait 15 Minutes [ one AD sync cycle ] before notifying the customer.<br />
The user should download the Address Book afterward or restart Outlook.<br />
In OWA new entries should be visible straight away.<br />
&nbsp;</p>
<h3>If the problem persists check the showInAddressBook attribute on the object in AD:</h3>
<div class="wpe-box wpe-box-note3">
<a href="https://webbanshee.net/wp-content/uploads/2020/04/showInAddressBook.png"><img loading="lazy" src="https://webbanshee.net/wp-content/uploads/2020/04/showInAddressBook.png" alt="Entry is missing in the Global Address List" width="801" height="155" class="aligncenter size-full wp-image-3537" srcset="https://webbanshee.net/wp-content/uploads/2020/04/showInAddressBook.png 801w, https://webbanshee.net/wp-content/uploads/2020/04/showInAddressBook-300x58.png 300w, https://webbanshee.net/wp-content/uploads/2020/04/showInAddressBook-768x149.png 768w" sizes="(max-width: 801px) 100vw, 801px" /></a></p>
<p><strong>Compare the values of the attribute showInAddressBook with an account or DL that is available in the Global Address List and add them accordingly if one or more entries are missing.</strong>
</div>
<p><span style="font-weight:bold;font-size:18px;text-align:justify;">If appropriate entries are missing here you wouldn&#8217;t get a result when querying the GAL for the missing entry at the beginning of this post. Further it is likely that HiddenFromAddressListsEnabled is set to <span style="color:#993333;font-weight:bold;">$true.</span></span></p>
<p>When <strong>HiddenFromAddressListsEnabled</strong> is set to <span style="color:#993333; font-weight:bold;">$true</span>:</p>
<div class="wpe-box wpe-box-note3" style="margin-bottom:10px;!Important;">
<strong>> Set it to <span style="color:#993333; font-weight:bold;">$false</span> and reload the attribute in AD.</strong>
</div>
<p>Find some examples at the end of this <a href="https://docs.microsoft.com/en-us/exchange/address-books/address-lists/manage-address-lists" rel="noopener noreferrer" target="_blank">Microsoft description</a>.<br />
&nbsp;<br />
If all entries are visible in <strong>showInAddressBook</strong> you should be fine.<br />
Otherwise add the missing entries under showInAddressBook. </p>
<div class="wpe-box wpe-box-note3">
<strong>> Update OAB and GAL again.</strong>
</div>
<p>&nbsp;<br />
Have a nice day!<br />
&nbsp;<br />
&nbsp;<br />
Want to activate an Out of Office message while retaining the formating?</p>
<p><a class="wpe-button wpe-button-red" href="https://webbanshee.net/out-of-office-multiline-message/">Out Of Office Multiline Message through PowerShell</a></p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/entry-missing-in-the-global-address-list/">Entry is missing in the Global Address List</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/entry-missing-in-the-global-address-list/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3520</post-id>	</item>
	</channel>
</rss>
