Hello we are using office 365 exchange online.
I need a script to set the autoreply for multiple users please, and if possible with dates as well.
I'm not sure why am I facing this error:
The term 'Set-MailboxAutoReplyConfiguration' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:34
+ Set-MailboxAutoReplyConfiguration <<<< -Identity naji.aboumoussa@levantlp.com -AutoReplyState Enabled -ExternalMessage "Dear Clients"
+ CategoryInfo : ObjectNotFound: (Set-MailboxAutoReplyConfiguration:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException