jseerden / IntuneBackupAndRestore

PowerShell Module that queries Microsoft Graph, and allows for cross-tenant Backup & Restore actions of your Intune Configuration.
MIT License
345 stars 102 forks source link

IntuneBackupAndRestore v3.2.0 no Proactive Remediations scripts backuped #50

Closed DM-Menno closed 2 years ago

DM-Menno commented 2 years ago

First thanks for the great script! I have upgraded to the latest version 3.2.0 but when I do a full backup I don't see any of the Proactive Remediations scripts in the backup folder. Get-installedmodule is showing the following: 3.2.0 IntuneBackupAndRestore PSGallery We have 13 remediations scripts some only detection and some detection and remediation, none are backuped.

Regards Menno

jseerden commented 2 years ago

Hi @DM-Menno ,

Do you see the "Device Health Scripts" folders in the Backup directory? This is how Microsoft Graph refers to Proactive Remediations. They should be in there.

DM-Menno commented 2 years ago

Hi @jseerden

No it's not there

07-01-2022 10:53

Administrative Templates 07-01-2022 10:55 App Protection Policies 07-01-2022 10:51 Client Apps 07-01-2022 10:53 Device Compliance Policies 07-01-2022 10:53 Device Configurations 07-01-2022 10:55 Device Management Intents 07-01-2022 10:53 Device Management Scripts

jseerden commented 2 years ago

Hi @DM-Menno

I'm unable to reproduce this issue. In my testing (with 3.2.0) Device Health Scripts are successfully backed up. Whether a remediation script is available or not.

image

DM-Menno commented 2 years ago

I guess that I forgot to do the import after updating

image

Thanks for your support! issue can be closed