Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get and List deviceEnrollmentPlatformRestrictionsConfiguration v1.0 not returning odatatype #2259

Closed
Dethras opened this issue Dec 18, 2023 · 2 comments

Comments

@Dethras
Copy link

Dethras commented Dec 18, 2023

Describe the bug
When calling the Get/List deviceEnrollmentPlatformRestrictionsConfiguration (Rest call:" GET /deviceManagement/deviceEnrollmentConfigurations) a list of deviceEnrollmentConfigurations are being returned. I have observed the following:

  • Beta (correct): deviceEnrollmentPlatformRestrictionsConfigurations objects are returned with an odatatype
  • V1.0 (incorrect): deviceEnrollmentPlatformRestrictionsConfigurations objects are returned without an odatatype

Note: I have also tested this using Graph Explorer, and the same happened there so I presume the issue is within the Graph API (Opened ticket here since I didn't know where to open the ticket for the Graph API)

To Reproduce
Steps to reproduce the behavior:

  1. Go to Graph Explorer and login to your tenant
  2. Call : https://graph.microsoft.com/beta/devicemanagement/DeviceEnrollmentConfigurations
  3. Check that you have an object with deviceEnrollmentPlatformRestrictionsConfiguration odatatype
  4. Note down the Id of above deviceEnrollmentPlatformRestrictionsConfiguration
  5. Call : https://graph.microsoft.com/v1.0/devicemanagement/DeviceEnrollmentConfigurations
  6. Search for the deviceEnrollmentPlatformRestrictionsConfiguration Id noted in step 4
  7. Look for the odatatype, which for me it is not being returned

Expected behavior
The v1.0 call should return the odatatype for ALL deviceEnrollmentConfiguration objects (In this case I only found that the only one missing is deviceEnrollmentPlatformRestrictionsConfiguration )

Screenshots
Beta (correct):
image

V1.0 (incorrect):
image

@andrueastman
Copy link
Member

Thanks for raising this @Dethras

As this is indeed an API issue and this repo is mainly intended for SDK related issues, any chance you can create an issue at the link below so that the API owners may get visibility into this. It would be great if you could post back the link to the same here so that anyone else who has a similar issue may find it.

https://feedbackportal.microsoft.com/feedback/forum/ebe2edae-97d1-ec11-a7b5-0022481f3c80

@Dethras
Copy link
Author

Dethras commented Dec 19, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants