Import the Intune powershell sdk module in Azure automation

One of the great new-ish features if not the greatest feature is the option to import the Intune Powershell SDK module in Azure Automation. This features has been requested for a long time and its finally here 😀 YAY !

Previously you had to do a lot of tinkering and write long scripts to do the webrequests to Microsoft Graph in Azure automation when it came to Intune. But now with this feature you don’t have to go through the hassle of that any more. I love it !

Before we begin

This post will not cover how to setup Azure automation and subscriptions, I will assume you already have that in place and if not I recommend you find the best platform for you to learn how to do that. Could be www.pluralsight.com or any free content out there. A good place to start would be to check out Microsofts own documentaiton and tutorials here https://docs.microsoft.com/en-us/azure/automation/

I will use this short post as a reference going forward with other blog posts when using the Intune Powershell SDK in Azure Automation.

Import the Powershell Intune SDK in Azure Automation

To get started head over to the Azure Portal and Navigate to your “Automation Accounts”

  1. Go to Automation Accounts
  2. Click on the specific account you want to use
  3. Go to “Modules”
  4. Click on the “Browse Gallery”

In the search field, search for “Intune” or “Microsoft.Graph.Intune” to find the Intune Powershell SDK Module.

Click on the “Powershell.Graph.Intune” module and in the next pane click on “Import“.

Click on “ok” to start the Import and wait for it to finish.

Once the import is done you can head back to the Module overview and you will now find the microsoft.Graph.Intune module in the list.

Leave a comment or question in the comment section below.

That’s all for now and until next time, cheers !

Don’t forget to follow me on twitterAnd you can also find me blogging over at http://blog.ctglobalservices.com/

Leave a Reply