IntuneManagement icon indicating copy to clipboard operation
IntuneManagement copied to clipboard

script doesn't see "Settings Catalog" with "Windows 10 and later"

Open Mykhailo-Roit opened this issue 11 months ago • 2 comments

In one my tenant script doesn't see new created "Settings Catalog" with "Windows 10 and later" but sees old entries image

other subtypes do not see at all image

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. image

In MS Graf Explorer I can get this entry image

{
    "@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?

Mykhailo-Roit avatar Jan 10 '25 14:01 Mykhailo-Roit

I found the root cause of this problem

Without "Load All" script can't Update or Replace existing entries :( image

Mykhailo-Roit avatar Jan 10 '25 18:01 Mykhailo-Roit

added related issue https://github.com/Micke-K/IntuneManagement/issues/300

Mykhailo-Roit avatar Jan 10 '25 18:01 Mykhailo-Roit

Closing this as Load options is added to the script.

Micke-K avatar Sep 14 '25 02:09 Micke-K