jseerden/IntuneBackupAndRestore

integer values are not being returned correctly

Opened this issue · 2 comments

From Backup file

Same setting
"@odata.type": "#microsoft.graph.omaSettingInteger"
"value": "O:BAG:BAD:(A;;RC;;;BA)",

Previous Backup file back in April
"@odata.type": "#microsoft.graph.omaSettingInteger"
"value": 1,

Hi Brooke,

What version of the IntuneBackupAndRestore PowerShell module are you using?

As far as I can tell this is about a "Custom" device configuration with an integer value. Do you have an example policy configuration that this applies for, as I am unable to reproduce it?

image

using 3.2

Custom oma-uri settings configuration. Example of one item in the config.
{
"@odata.type": "#microsoft.graph.omaSettingInteger",
"description": "User Account Control: Admin Approval Mode for the Built-in Administrator account\u0027 is set to \u0027Enabled\u0027",
"omaUri": "./Device/Vendor/MSFT/Policy/Config/LocalPoliciesSecurityOptions/UserAccountControl_UseAdminApprovalMode",
"secretReferenceValueId": null,
"value": "O:BAG:BAD:(A;;RC;;;BA)",
"isEncrypted": false,
"displayName": "User Account Control: Admin Approval Mode for the Built-in Administrator account\u0027 is set to \u0027Enabled\u0027"
}

This is pretty continuous on multiple integer settings
Can provide more examples.