Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mykhailo-Roit opened this issue Jan 10, 2025 · 2 comments
Open

Comments

@Mykhailo-Roit
Copy link
Contributor

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
Copy link
Contributor Author

I found the root cause of this problem

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

@Mykhailo-Roit
Copy link
Contributor Author

added related issue #300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant