Skip to content

Backup Custom Reports

Backup Custom Reports

We strongly advise customers to always backup  their custom reports before performing any in-place upgrades. Failure to do so could result in the loss of your custom reports!

Prerequisites:

  1. The user executing these steps should be an administrator of the BI for Intune workspace(s).
  2. A second install of BI for Intune to be used as a backup workspace. You do not need to configure the dataset parameters, this workspace is simply a place-holder to store a copy of your custom reports.

The PowerShell scripts referenced below are available on GitHub:

github mark2

PowerStacks Report Backup repository

  1. Copy the PowerShell code above, save it as a .ps1 file or paste it into your favorite code editor. Run The Code - PowerShell
  1. Execute the code in the code editor or by running the .ps1 file.
  2. When prompted, sign in to Power BI. Sign in to Power BI
  1. When prompted, select any BI for Intune apps that you may want to backup. (Note: This is only required if you have created apps containing custom reports)
  2. Select OK. App Source v*
  1. When prompted, select your production BI for Intune workspace. This is the source from which reports will be copied.
  2. Select OK. Source Workspace
  1. When prompted, select your backup BI for Intune workspace. This is the destination which reports will be copied to.
  2. Select OK. Destination Workspace
  1. When running in a shell you should see output describing what was copied to the backup workspace.
  2. Log in to the backup workspace to confirm that your custom reports have been copied there. Backup Workspace - Output