Forum Discussion
TomasG
Dec 19, 2023Brass Contributor
How to set automatic replies to emails for several users (or whole organization) in bulk?
Hi, is possible to set automatic replies to recieved emails for several users in bulk? I can't find it anywhere in EAC. I found the settings for single user. So my question is, is it possible t...
- Dec 20, 2023One way would be to dump the email addresses in a CSV file, then use it as input for the Set-MailboxAutoReplyConfiguration cmdlet:
Import-CSV blabla.csv | % { Set-MailboxAutoReplyConfiguration -Identity $_.EmailAddress -AutoReplyState Enabled -InternalMessage "I'm OOO bla bla" }
where the CSV file has a column "EmailAddress" to identify each user. Don't forget to add the remaining parameters as needed, you can get details on each of them here:
VasilMichev
Dec 19, 2023MVP
You can easily do this via PowerShell and the Set-MailboxAutoReplyConfiguration cmdlet. There is no UI method.
You can also configure something similar via mailbox rules, the benefit here is that replies will be sent on every new message (whereas the auto-reply functionality is limited to one message per recipient). The downside is, that requires a lot more effort to configure. Just in case, here's a sample article with the steps: https://www.michev.info/blog/post/5773/configure-an-auto-reply-rule-for-microsoft-365-mailboxes-via-ews
You can also configure something similar via mailbox rules, the benefit here is that replies will be sent on every new message (whereas the auto-reply functionality is limited to one message per recipient). The downside is, that requires a lot more effort to configure. Just in case, here's a sample article with the steps: https://www.michev.info/blog/post/5773/configure-an-auto-reply-rule-for-microsoft-365-mailboxes-via-ews
TomasG
Dec 20, 2023Brass Contributor
Hi Vasil,
What you write is true. I decided to go the PowerShell route. But I have a request. Can you advise me how to modify the command Set-MailboxAutoReplyConfiguration [-Identity].
I need this configuration for "whole" organization. But I need exclude some email address (maybe 10 address). Is there any way how to make it?
Thanks.
What you write is true. I decided to go the PowerShell route. But I have a request. Can you advise me how to modify the command Set-MailboxAutoReplyConfiguration [-Identity].
I need this configuration for "whole" organization. But I need exclude some email address (maybe 10 address). Is there any way how to make it?
Thanks.
- VasilMichevDec 20, 2023MVPOne way would be to dump the email addresses in a CSV file, then use it as input for the Set-MailboxAutoReplyConfiguration cmdlet:
Import-CSV blabla.csv | % { Set-MailboxAutoReplyConfiguration -Identity $_.EmailAddress -AutoReplyState Enabled -InternalMessage "I'm OOO bla bla" }
where the CSV file has a column "EmailAddress" to identify each user. Don't forget to add the remaining parameters as needed, you can get details on each of them here:- TomasGDec 20, 2023Brass ContributorThanks a lot. It works.
And my last question, is it possible to set a formatted message? So far I managed to set the message as plain text?- TomasGDec 20, 2023Brass ContributorI found Here-String. It works for me.
$variable = @"
HTML text
"@
Then variable used in command -ExternalMessage $variable.