Intune Automation – Create user

Automate Intune: User creation In this post you will create the following automation: When new email with user specification is reaching the automation Office 365 mailbox, a user is created based on the data in email body We create the following: Automation account and a PowerShell runbook Function to clean the email body of any http special characters LogicApp to put everything together 1.Create Automation Account and Runbook 1.1 Create Automation Account Sign in to the Azure portal using your account credentials Click Create a resource Search for Automation Select automation account and click Create in the next blade Add an account name <IntuneAutoAccount> Assign a resource group or create a new one <IntuneAutomation-RG> Assign a location. Note that not all locations are available for this kind of resource Leave Create Azure Run As account checked to Yes Click Create Wait for deployment to complete Open the resource group that has the automation account Open the automation account Click Credentials Click Add a credential For this scenario purpose use an existing account that has permissions Fill in a name and credentials of a user that has access to create users. Click create Now we need to add the MSOnline Module Click Modules->Browse gallery Search and import the MSOnline module 1.2 Create Automation Runbook In the automation account that you just created click runbooks ->add runbook In the new blade...

Read More