Create managedDevice example not working #731
Labels
priority:p1
High priority/Major issue but not blocking or Big percentage of customers affected.Bug SLA <=7days
type:bug
A broken experience
Describe the bug
In the SDK documentation for creating managed devices there is an example which does not work, I am not sure if this is a user error or a bug, maybe someone can help me here?
The example I am talking about is here, specifically the python version.
https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-create?view=graph-rest-1.0&tabs=python
I am getting a 400 Bad Request error when using the example. The client object itself is not the problem, it works for all other calls without issues, my application has the required API permissions, but this is not related to that either since the error shows up without any permissions anyways.
Expected behavior
Should create a managed device when calling device_management.managed_devices.post(device)
How to reproduce
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: