Skype for Business Server – Hiding Trusted Application Endpoints

Overview

Hiding Trusted Application Endpoints from the Skype for Business Address Book requires the msExchHideFromAddressLists attribute to be set to True on the relevant AD Object.

You can do this via ASDIEdit or PowerShell.

ADSIEdit Method

You need the Distinguished Name (DN) of the AD Object, this can be obtained by running the following PowerShell command:

Get-CsTrustedApplicationEndpoint | Where {$_.DisplayName -eq “CC Queue 1”} | select Identity

Identity : CN={0fe5b108-5747-40bd-833e-6654332d230d},CN=Application Contacts,CN=RTC Service,CN=Services,CN=Configuration,DC=x500,DC=co,DC=uk

Run ADSIEdit (adsiedit.msc).

Click Action, click Connect to…

ADSIEdit-1

Under Connection Point, click on ‘Select or type a Distinguished Name or Naming Context:’, paste the DN value into the text box.  Click OK.

ADSIEdit-2

Right click on the AD Object, click Properties.

ADSIEdit-3

Locate the msExchHideFromAddressLists attribute, click Edit, select TRUE, click OK.

ADSIEdit-4

Confirm the value is TRUE, click OK.

ADSIEdit-5

PowerShell Method

Import-Module ActiveDirectory

$endpoint = Get-CsTrustedApplicationEndpoint | Where {$_.DisplayName -eq “CC Queue 1”} | select Identity

Set-ADObject -Identity $endpoint.Identity -Replace @{msExchHideFromAddressLists = ‘TRUE’}

If you need to apply this setting to multiple Trusted Application Endpoints, you could easily use a filter on $_.DisplayName -like, e.g.

Import-Module ActiveDirectory

$endpoints = Get-CsTrustedApplicationEndpoint | Where {$_.DisplayName -like “CC Queue *”} | Select Identity

ForEach ($endpoint in $endpoints){
Set-ADObject -Identity $endpoint.Identity -Replace @{msExchHideFromAddressLists = ‘TRUE’}
}

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s