Enable Journaling f...
Clear all

Enable Journaling for one tenant  




Maybe a stupid question, but we need to enable a journaling mailbox for one of our tenants, therefore I have created a unique mailbox an then tried to configure it to only accept mails from the tenants "Microsoft Exchange Recipient", with the following command:

Set-Mailbox journalingmailbox@domain.com -AcceptMessagesOnlyFromSendersOrMembers "Microsoft Exchange" -RequireSenderAuthenticationEnabled $true

Which produced the folwing error: "There are multiple recipients matching the identity "Microsoft Exchange". Please specifiy a unique value."
This makes sense in a multi tenant environment, so I figured, I would need to provide the primary smtp address of the tenants "Mcrosoft Exchange Recipient" but i can't figure out how to get it..

The commandlet Get-OrganizationConfig only shows the primary smtp address of the exchange organization itself.

Any idea, how I can get the requiered address?
Or can this be done from within CloudPanel directly?


1 Answer

Instead of using "Microsoft Exchange" as the value try using the value from the MicrosoftExchangeRecipientEmailAddress (example: MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@ad.domain.com)

But how do i get the MicrosoftExchangeRecipientEmailAddress of each tenant?


Never mind, i think i found the solution, or at least one solution.
We created a dynamic distribution group containing all the receipients of the tenant and used this distribution group for the the journal rule.