Back in 2012 I wrote a post on how to hide Response Groups from the Address Book in Lync 2010 using ADSI Edit. The same process also applied to Lync 2013. Original Article: http://chrishayward.co.uk/2012/10/16/hiding-response-groups-from-address-book-lync-server-2010/
The original article involved finding the Response Group AD Object manually using ADSI Edit and changing the msExchHideFromAddressLists (Exchange property) to TRUE. You could then run Update-CSAddressbook and Lync clients would pickup the change within due course.
The same principle applies in Skype for Business, however you can change the msExchHideFromAddressLists property to TRUE much easier using PowerShell. It’s worth pointing out that the Application Contacts used by the Response Group service may be in the System Container or the Configuration Container depending on whether you have had OCS or earlier installed (someone may correct me on that).
System Container: CN=Application Contacts, CN=RTC Service, CN=Microsoft,CN=System,DC=domain,DC=local
Configuration Container: CN=Application Contacts, CN=RTC Service, CN=Services,CN=Configuration,DC=domain,DC=local
To run the PowerShell command modify the search base to match the Distinguished name of your Application Contacts container and change the SIP address to match the Response Group you wish to hide.
Get-ADObject -SearchBase "CN=Application Contacts,CN=RTC Service,CN=Services,CN=Configuration,DC=Domain,DC=Local" -Filter {msRTCSIP-PrimaryUserAddress -eq "sip:[email protected]"} | Set-AdObject -replace @{msExchHideFromAddressLists=$true}
This method is a lot easier!
Technical Architect at Symity