troubleshooting Question

How to send a welcome email to new mailboxes

Avatar of carbonbase
carbonbaseFlag for United Kingdom of Great Britain and Northern Ireland asked on
Exchange* 0ffice 365
7 Comments1 Solution17 ViewsLast Modified:
Hi I've been searching online for a script to send a welcome email to newly created user mailboxes.  I've found this script:

https://github.com/12Knocksinna/Office365itpros/blob/master/SendWelcomeEmail.PS1

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.
ASKER CERTIFIED SOLUTION
carbonbase

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros