Trying to Create a Script using Microsoft Forms to Create AD and O365 Accounts

The content below is taken from the original ( in /r/ PowerShell), to continue reading please visit the site. Remember to respect the Author & Copyright.

Hey guys,

I am looking into taking results from an excel file that Microsoft Forms create after filled out by HR, then somehow take that data and create a user in our local AD and also sync it with O365. The form contains distribution groups, group memberships, email addresses, first and last names. I am just having a little trouble beginning this task as I have never wrote a script before and was looking for some great minds to assist me. Any help is greatly appreciated and I will happily answer any questions!