An API that connects multiple Microsoft services, enabling data access and automation across platforms
Device_management output difference
Hi, I am looking for the following fields:
- subscription_state
- device_protection_overview
From the documentation i found that the above fields can be get by calling the following api, if i am using msgraph sdk: graph_client.device_management.get()
BUT, i am using request module in python as i need json response, i ended up calling https://graph.microsoft.com/v1.0/deviceManagement But the output of the above api being called via requests module is: {'@odata.context': 'https://graph.microsoft.com/v1.0/$metadata#deviceManagement', 'id': 'deviceManagement', 'settings': None, 'intuneAccountId': '792f071f-388c-42bd-8622-c26033a44c41'} //dummy account id
Can you please help me getting the url by which i get the same output as using msgraph-sdk