Powershell command to create a customer in a multi-tenant exchange 2013 environment does not work

Hi All,

I've installed an Exchange 2013 environment for multi-tenant use, but i'm running into trouble with a powershell command.

In short, what i did (all from powershell):

- Create a new OU for the tenant within AD
- Set an UPN Suffix for the tenant in the AD forrest
- Create a new accepted domain in exchange
- Create a new GAL in exchange for the tenant locked to the recipient container

Now i need to create a new all rooms address list, but the powershell command i found for that doesn't work:

Command -

New-AddressList -Name TenantA All Rooms -RecipientFilter (CustomAttribute1 -eq TenantA) -and (RecipientDisplayType -eq ConferenceRoomMailbox) -RecipientContainer exchange.domain.local/Customers/TenantA

When i run the command i'm getting the following error:

Cannot bind parameter 'RecipientFilter' to the target. Exception setting "RecipientFilter": "Invalid filter syntax. For
a description of the filter parameter syntax see the command help.
"(CustomAttribute1 -eq 'TenantA') -and (RecipientDisplayType -eq 'ConferenceRoomMailbox')" at positi
on 24."
At C:\Users\Administrator\AppData\Local\Temp\2\tmp_mo1i05u1.25d\tmp_mo1i05u1.25d.psm1:30681 char:9
+ $steppablePipeline.End()
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [New-AddressList], ParameterBindingException
+ FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.SystemConfigurationTasks.NewAddress
List

Can anybody help me out with this command, i've been trying a bunch of variations of it, but i can't get it working...

July 22nd, 2013 4:03am

Hi

Please try

New-AddressList -Name TenantA All Rooms -RecipientFilter {"CustomAttribute1 -eq TenantA" -and "RecipientDisplayType -eq ConferenceRoomMailbox} -RecipientContainer exchange.domain.local/Customers/TenantA

Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2013 2:38am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics