Avatar of carbonbase
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

How to send a welcome email to new mailboxes

Hi I've been searching online for a script to send a welcome email to newly created user mailboxes.  I've found this script:


Just wondering how best to run it in an automated way.  It prompts for login details every time the script is run and errors with "You must call Connect-ExchangeOnline before call any other cmdlet"

Ideally I'd like the script to run each time a mailbox is created, but failing that at least twice a day.  Is this the best approach?  I've had a brief look at Azure functions as a possible alternative way of doing this but it's not clear to me whether that would be a viable option. Thanks.
Exchange* 0ffice 365

Avatar of undefined
Last Comment

8/22/2022 - Mon