question

JeffreyJangliAdmin-5713 avatar image
0 Votes"
JeffreyJangliAdmin-5713 asked 35247258 edited

@odata.type property is missing on objects in some MS Graph endpoints

(Original post: https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/issues/307)

I've noticed through the SDK and Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer)
that objects retrieved from the following MS Graph Beta endpoints suddenly don't have the @odata.type property anymore:

https://graph.microsoft.com/beta/Groups/
https://graph.microsoft.com/beta/devicemanagement/DeviceManagementScripts
https://graph.microsoft.com/beta/devicemanagement/GroupPolicyConfigurations
https://graph.microsoft.com/beta/devicemanagement/Intents
https://graph.microsoft.com/beta/devicemanagement/TermsAndConditions

Other MS Graph Beta endpoints that we use don't seem to suffer from this:
https://graph.microsoft.com/beta/devicemanagement/DeviceCompliancePolicies
https://graph.microsoft.com/beta/devicemanagement/DeviceEnrollmentConfigurations
https://graph.microsoft.com/beta/devicemanagement/Templates
https://graph.microsoft.com/beta/devicemanagement/WindowsAutopilotDeploymentProfiles


Clearly there's something wrong, the JSON of this MS Graph Beta endpoint does not look right:
https://graph.microsoft.com/beta/devicemanagement/DeviceConfigurations

114754-121029637-0d366080-c7a9-11eb-95c4-ab85dd58405b.png



microsoft-graph-device-updates
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers