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

DeviceEnrollmentType Enum missing cases #1605

Open
lukasmu opened this issue Oct 22, 2024 · 0 comments
Open

DeviceEnrollmentType Enum missing cases #1605

lukasmu opened this issue Oct 22, 2024 · 0 comments
Labels
dependency:metadata Awaiting fix from core dependency project module type:bug A broken experience

Comments

@lukasmu
Copy link

lukasmu commented Oct 22, 2024

Describe the bug

The DeviceEnrollmentType enumeration is missing a few cases: List from https://learn.microsoft.com/en-us/graph/api/resources/intune-troubleshooting-deviceenrollmenttype?view=graph-rest-1.0 contains 25 cases, the enumeration only contains 13 cases.

As a result, it is not possible to fetch any devices with other enrolment types than the ones included in the enumeration. Example error: InvalidArgumentException: Invalid enum value appleACMEBasicBYOD at vendor/microsoft/kiota-abstractions/src/Enum.php:57

Expected behavior

It should be possible to fetch devices. Either the enumeration needs to be updated, or the code should allow to fetch devices even if an unknown DeviceEnrollmentType is returned by the API.

How to reproduce

Try to fetch a device where the DeviceEnrollmentType is e.g. appleACMEBasicBYOD

SDK Version

2.17.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
@lukasmu lukasmu added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Oct 22, 2024
@shemogumbe shemogumbe added dependency:metadata Awaiting fix from core dependency project module and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency:metadata Awaiting fix from core dependency project module type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

2 participants