Micke-K / IntuneManagement

Copy, export, import, delete, document and compare policies and profiles in Intune and Azure with PowerShell script and WPF UI. Import ADMX files and registry settings with ADMX ingestion. View and edit PowerShell script.
MIT License
1.14k stars 201 forks source link

deviceEnrollmentConfigurations filter not accepted by microsoft graph api #41

Closed illuvtar closed 2 years ago

illuvtar commented 2 years ago

Query:https://graph.microsoft.com/BETA/deviceManagement/deviceEnrollmentConfigurations?$filter=not endsWith(id,'Windows10EnrollmentCompletionPageConfiguration') Status code: InternalServerError

Graph is not accepting filter containing endswith for deviceEnrollmentConfigurations, this is impacting 'Enrollment Restriction' and 'Enrollment Status Page', same result with graph explorer.

This seems to be a recent issue, I have not been able to locate an impacting change in https://developer.microsoft.com/en-us/graph/changelog/

Thanks for your work.

Micke-K commented 2 years ago

Thank you for reporting this and for the support!

I'll look into into later today or tomorrow. I have a few changes that is coming soon and I hope to fix it next upload.

Cheers!

Micke-K commented 2 years ago

Hello!

I've identified the issue and fixed it locally. It fixed a few other minor things as well that I didn't know was broken.

I'm testing other changes and I'll uploadas the updates as soon as they are verified. Hopefully this or next week.

Cheers!

Micke-K commented 2 years ago

Download the latest version and test it when you have time. This should be working now.

Cheers!

illuvtar commented 2 years ago

Yes, 'Enrollment Restriction' and 'Enrollment Status Page' are both working as expected. Love the new features in the current release.

Thanks