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

Compare-IntuneBackupFile Depth Overflow #31

Closed jonathan-ford closed 2 years ago

jonathan-ford commented 3 years ago

Hi jseerden,

I can see in version 2.1.1 you have addressed depth overflow issues. I get the below in version 2.0.0 and 2.1.1.

PS C:\WINDOWS\system32> Compare-IntuneBackupFile -ReferenceFilePath "C:\FilePath\FileName2.json" -DifferenceFilePath "C:\FilePath\FileName1.json" The script failed due to call depth overflow.

Can you advise if this is a bug or user error.

ztrhgf commented 3 years ago

Solved in my pull request https://github.com/jseerden/IntuneBackupAndRestore/pull/44

jseerden commented 2 years ago

Verified fix #44. Pull request was merged