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
Used an example from M365DSC to deploy a IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator policy, this worked and the policy got created, nevertheless running Test-DSCConfiguration doesn't even finish reporting an error, that's because it tries to find the policy by a random bogus Id and reports that it found it (which isn't true since it got a completely different Id) and then Graph complains the policy with that bogus Id cannot be found. Trying to deploy any changes to the policy also results in exactly the same error message.
[[IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator]IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator-IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator_1] Testing configuration of
{4feff881-d635-4e9d-bd07-d1227d1ab230}
VERBOSE: [REDACTED]:
[[IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator]IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator-IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator_1] Found something with id
{4feff881-d635-4e9d-bd07-d1227d1ab230}
[ResourceNotFound] : {
"_version": 3,"Message": "DeviceConfigurations not found: Profile 4feff881-d635-4e9d-bd07-d1227d1ab230 - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID:7329d290-be15-4eef-a2a2-8d1cc8102f85 - Url: https://fef.msub07.manage.microsoft.com/DeviceConfiguration_2311/StatelessDeviceConfigurationFEService/deviceManagement/deviceConfigurations('4feff881-d635-4e9d-bd07-d1227d1ab230')/assignments?api-version=5023-10-14","CustomApiErrorPhrase": "","RetryAfter": null,"ErrorSourceService": "","HttpHeaders": "{}"
}
+ CategoryInfo : InvalidOperation: ({ DeviceConfigu...ndProperty = }:) [], CimException
+ FullyQualifiedErrorId : ResourceNotFound,Microsoft.Graph.Beta.PowerShell.Cmdlets.GetMgBetaDeviceManagementDeviceConfigurationAssignment_List
+ PSComputerName : localhost
Description of the issue
Used an example from M365DSC to deploy a IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator policy, this worked and the policy got created, nevertheless running Test-DSCConfiguration doesn't even finish reporting an error, that's because it tries to find the policy by a random bogus Id and reports that it found it (which isn't true since it got a completely different Id) and then Graph complains the policy with that bogus Id cannot be found. Trying to deploy any changes to the policy also results in exactly the same error message.
Microsoft 365 DSC Version
1.23.1122.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: