Skip to content

almenscorner/Munki-Deploy-Azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Munki Azure

This script deploys a basic Munki setup on Azure so you don't have to go through the tedious steps of setting up Storage Accounts, creating scripts and profiles etc. to start using Munki for Intune managed macOS devices.

If running the script from a macOS device, you will have to first install Powershell Core.

What is deployed?

  • Azure Storage account
    • Public container to house Munki tools and middleware
    • Munki container to house the Munki repository. All needed folders are created as part of the deployment
  • Intune
    • Profile the clients uses to connect to Azure Storage
    • Shell script for installing Munki tools
  • Azure Automation (optional)

Required modules

If modules are missing, the script will automatically install them.

  • Az.Accounts
  • Az.Storage
  • Az.Automation
  • Az.Resources
  • Microsoft.Graph.Authentication

How do I use it?

First, download the module in this repository and import it with Powershell,

Import-Module "path/to/module.psm1"

Then execute with required parameters,

Deploy-Munki -resourceGroupName "munki" -automationAccountName "IntuneAutomation" -deployRunbook $True -storageAccountName "testingmunki"

The Resource Group and Automation Account used should be existing resources. Everything else is created by the module.

Releases

No releases published

Packages

No packages published