Micke-K/IntuneManagement

Compare Intune Objects ignoring backup settings

andyt900 opened this issue · 4 comments

Hi Micke

When comparing Settings Catalogs I have noticed any values in the backup file are ignored, so differences are not reported - other than the Last Modified entry.

Compare Output:
image

Backup json:
"value": "device_vendor_msft_policy_config_power_displayofftimeoutpluggedin_0"
"value": 2701

Hello,

Thank you for reporting this. I could replicate this. It looks like it is actually the Offline documentation that is broken for SettingsCatalog eg that it gets the value from Intune Instead of using the one loaded from the file.

I'll have look at this as soon as I can. Hopefully this week.

Cheers!

Hello,

I did a quick fix. Can you test the attached file?

Cheers!

Documentation.zip

Hi,

That's fixed it:
image

Thank you!!

This was a quick and dirty fix. I've created a more permanent fix but need to test it a bit more.

Cheers!