-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:bugA broken experienceA broken experience
Description
Describe the bug
The CloudPcRegionGroup enum is missing enum members that are returned by the API endpoint (/deviceManagement/virtualEndpoint/supportedRegions).
Missing Enum Values
- uae
- southAfrica
API Response Example
{
"id": "0ed2ae27-9608-8c47-5112-a12bc27760e6",
"displayName": "uaenorth",
"regionStatus": "available",
"supportedSolution": "windows365",
"regionGroup": "uae",
"geographicLocationType": null
},
{
"id": "ce512864-ff3b-a34f-dfde-dfcad741cfb5",
"displayName": "southafricanorth",
"regionStatus": "available",
"supportedSolution": "windows365",
"regionGroup": "southAfrica",
"geographicLocationType": null
}Expected behavior
The CloudPcRegionGroup enum should include all possible values returned by the Graph API:
[EnumMember(Value = "uae")]
Uae,
[EnumMember(Value = "southAfrica")]
SouthAfrica,How to reproduce
- Call GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/supportedRegions
- Observe that some regions have regionGroup values of "uae" or "southAfrica"
- Attempt to deserialize the response using the SDK's CloudPcRegionGroup enum
- These values are not recognized and result in
null
SDK Version
5.129.0-preview
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Configuration
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:bugA broken experienceA broken experience