-
Notifications
You must be signed in to change notification settings - Fork 517
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
IntuneDeviceEnrollmentPlatformRestriction not working with newer MSGraph #3730
Comments
@William-Francillette can you work your magic here? haha |
was an easy fix |
Policy now deploys without issue but failing ConfigurationDrift based on the Identity not being set like the baseline . . . .
|
@Cyanic-Cloud I've commented on William's PR, that drift is being reported since Test-TargetResource is removing the parameter Id instead of Identity so Identity gets compared and you get the drift. |
Thanks @ricmestre |
Description of the issue
Not sure on which version of MSGraph this stopped working but now IntuneDeviceEnrollmentPlatformRestriction doesn't work, trying to update the default policy in the tenant (All users and all devices) gives an error message about not being able to cast the value when running cmdlet Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration.
Microsoft 365 DSC Version
1.23.927.1
Which workloads are affected
other
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: