Can anyone tell me what i'm doing wrong here?
The docs say i can mail-enable a contact, but I'm getting a strange error:
"This task does not support recipients of this type. The specified recipient foo is of type MailContact. Please make sure that this recipient matches the required recipient type for this task."
Here's what i'm doing:
[PS] C:\Windows\system32>New-MailContact -name foo -ExternalEmailAddress foo@bar.com
Name Alias RecipientType
---- ----- -------------
foo foo MailContact
[PS] C:\Windows\system32>Enable-MailContact -Identity foo -ExternalEmailAddress foo@bar.com
This task does not support recipients of this type. The specified recipient foo is of type MailContact. Please make sure that this recipient matches the required recipient type for this task.
+ CategoryInfo : InvalidArgument: (foo.com/Users/foo:ADObjectId) [Enable-MailContact], RecipientTaskException
+ FullyQualifiedErrorId : 44F11290,Microsoft.Exchange.Management.Recipient Tasks.EnableMailContact
+ PSComputerName : exchange.foo.com
What's weirder is that I can send mail to the 'foo' contact from inside my domain, and the mail gets forwarded to 'foo@bar.com', but for some reason it won't bounce mail coming from outside (all other incoming mail works fine).