Distribution groups within exchange - multi tenanted
Posted on 2016-10-07
I have created a multi-tenant exchange server and the users are in the correct OU/GALS etc.
I am having an issue with tenant distribution groups - I use the following command to create the group:
New-DistributionGroup -Name 'test' -OrganizationalUnit 'test.co.uk/exchange tenant/tenant1'
Then I use:
Set-DistributionGroup -Identity 'test' -CustomAttribute test1
This changes the email to @test.co.uk and also ensures it is in the GAL for the tenant1.
The problem is, when I use the EMC at the top level I see group and when I want to add a new user it lists everyone in the organisation and all tenants.
Is there anyway I can set the distribution group to only allow me to see users who have the test1 attribute set (instead of seeing every person listed) ?