IntuneManagement
IntuneManagement copied to clipboard
script doesn't see "Settings Catalog" with "Windows 10 and later"
In one my tenant script doesn't see new created "Settings Catalog" with "Windows 10 and later" but sees old entries
other subtypes do not see at all
When I try to import an entry in the log I see a success record and a new entry in Intune, but the script UI does not show it
Also, I created a test entry in Intune site. The script also does not see it.
In MS Graf Explorer I can get this entry
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#deviceManagement/configurationPolicies/$entity",
"@microsoft.graph.tips": "This request only returns a subset of the resource's properties. Your app will need to use $select to return non-default properties. To find out what other properties are available for this resource see https://learn.microsoft.com/graph/api/resources/deviceManagementConfigurationPolicy",
"createdDateTime": "2025-01-10T13:49:36.5724092Z",
"creationSource": null,
"description": "",
"lastModifiedDateTime": "2025-01-10T13:49:36.5724092Z",
"name": "test",
"platforms": "windows10",
"priorityMetaData": null,
"roleScopeTagIds": [
"0"
],
"settingCount": 1,
"technologies": "mdm",
"id": "5dabd3e2-f9f3-4ef1-b155-07de56f2b632",
"templateReference": {
"templateId": "",
"templateFamily": "none",
"templateDisplayName": null,
"templateDisplayVersion": null
}
}
Due to this issue, the script always creates new entry and ignores Update or Replace option
Could you help with resolving this issue?
I found the root cause of this problem
Without "Load All" script can't Update or Replace existing entries :(
added related issue https://github.com/Micke-K/IntuneManagement/issues/300
Closing this as Load options is added to the script.