top of page
Search

(63) Backup Microsoft Intune Infrastructure

  • Writer: Mr B SOE way
    Mr B SOE way
  • May 11, 2023
  • 1 min read

Updated: May 12, 2023

There are a number of ways to do this, but I have been using this for a number of years now and I find it easy to use. Always recommended to backup content regularly.


Instructions:

Run PowerShell as Administrator


Run the following:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Install-Module -Name Microsoft.Graph.Intune -Verbose -Force -AllowClobber

Install-Module -Name MSGraphFunctions -Verbose -Force -AllowClobber

Import-Module -Name MSGraphFunctions

Install-Module -Name AzureAD -Verbose -Force -AllowClobber

Install-Module -Name IntuneBackupAndRestore -Verbose -Force -AllowClobber

Update-Module -Name IntuneBackupAndRestore -Verbose

Import-Module IntuneBackupAndRestore

Connect-MSGraph


You will be prompted to accept.




















To ensure the backup is stored locally, run the following in the existing PowerShell window:

New-Item -ItemType Directory -Path C:\Backup\IntuneBackup

Set-Location C:\Backup\IntuneBackup

Start-IntuneBackup -Path 'C:\Backup\IntuneBackup'


It will start to do the backup, give it a few minutes.

and all the content will sit here:


 
 
 

Comments


bottom of page