You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to have a stable version running I'm still on 1.24.731.1, with several backported fixes on top, but there's an issue on IntuneDeviceRemediation which still affects latest version, if Assignments contain a group that doesn't exist in the tenant then the Graph request will fail since it tries to send a null target.
I have a patch which I've tested successfully in my dev tenant that fixes this issue, essentially it uses Update-DeviceConfigurationPolicyAssignment like every other resource nowadays, which already handles this situation, instead of sending the request directly via Invoke-MgGraphRequest. I'll send the fix in a few minutes.
Response status code does not indicate success: BadRequest (Bad Request).
...
+ FullyQualifiedErrorId : InvokeGraphHttpResponseException,Microsoft.Graph.PowerShell.Authentication.Cmdlets.InvokeMgGraphRequest
Environment Information + PowerShell Version
Win11/PS5.1
The text was updated successfully, but these errors were encountered:
Description of the issue
In order to have a stable version running I'm still on 1.24.731.1, with several backported fixes on top, but there's an issue on IntuneDeviceRemediation which still affects latest version, if Assignments contain a group that doesn't exist in the tenant then the Graph request will fail since it tries to send a null target.
I have a patch which I've tested successfully in my dev tenant that fixes this issue, essentially it uses Update-DeviceConfigurationPolicyAssignment like every other resource nowadays, which already handles this situation, instead of sending the request directly via Invoke-MgGraphRequest. I'll send the fix in a few minutes.
Microsoft 365 DSC Version
1.24.731.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: