How to set up auto reply in office 365 mail box using Powershell?

Hello Office 365 Users,

Today, we are going to set Out of office Auto reply in Office 365 mail box using Powershell commands.

Below is the same powershell command that we have used and tested in our tenant

$Internal= "<html> <body> I'm out of Office <br/> <div> <B>Test</b> Auto reply  </div><div> <i> ital</i> <br/> </body> </html>"

Set-MailboxAutoReplyConfiguration administrator -InternalMessage $Internal -AutoReplyState Enabled

Happy Coding!!

Leave a Reply

Your email address will not be published. Required fields are marked *