Skip to content

[Bug] CloudPcRegionGroup enum missing uae and southAfrica values #1085

@AndrewShchetkin

Description

@AndrewShchetkin

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

  1. Call GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/supportedRegions
  2. Observe that some regions have regionGroup values of "uae" or "southAfrica"
  3. Attempt to deserialize the response using the SDK's CloudPcRegionGroup enum
  4. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions