Closed rootadmin1 closed 3 weeks ago
Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."
Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".
I confirm that I have checked the documentation thoroughly and believe this to be an actual bug
Support issue, not a bug.
Description
When we try to deploy a policy to Intune with a the assignment AllDevices it fails with the following error. "Could not assign policy to AllDevices. Policy ID is 7fac75cd-e9ed-4e00-adc4-e48a6812652b. Error: Resource not found for the segment 'deviceConfigurations'."
Also when we are using a custom group we get the same error.
I found this on the internet about the issue.
I had the same issue. Intune support eventually confirmed that the /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.windowsUpdateForBusinessConfiguration/deviceUpdateStates endpoint won't be supported anymore.
I worked round my issue by using the generic deviceManagement/deviceConfigurations/{deviceConfigurationId}/deviceStatuses endpoint instead. This won't give you the current feature / quality versions of the devices (although that is available elsewhere) but it does return a compliance status for each device.
Environment data