Soooooo.. HR gave you a spreadsheet with 500 names on it and have requested that you provision all the new accounts in Microsoft 365. They have given you a welcome pack PDF file and want personalized emails to go out to everybody letting them know the new UPN and Password!
Well before you go and cry in the corner, let me save you from that. Here is a set of files that is going to automate that so damn well you can go take the rest of the day off. You’re welcome!
The entire process is in this video.
What you will need though is the files that I reference in the video. Important to grab those. The best place to run them is from your local machine so drop them in the C:\SCRIPTS directory and you are good to go.
The whole process works by creating an application registration, then uploaded a self-signed certificate there. Then updating the script with the app/client ID references, and you are good to go. Don’t worry, it’s all explained in the video.
Here are the files.
If you have any thing you want to chat about then please drop me an email to mark@thecloudgeezer.com and I am always happy to do that.
Have a good week wherever you are.
Mark – The Cloud Geezer