Share via

Keep the order while setting extensionProperty values

Nicolas Zona 0 Reputation points
2024-07-16T17:12:51.43+00:00

Hello,

We figured out that the extension property values set via Graph API are not retrieve in the same order that they were set.

We reproduced this via the powershell library but also via the graph explorer.

It seems that the values are ordered differently and this is not mentioned in the extensionProperty documentation. I would consider it as a bug.

To reproduce the bug, you can call the patch user request with this body:

{
    "extension_clientID_xxx": [
        "smtp1@example.com",
        "smtp2@example.com",
        "smtp4@example.com"
    ]
}

Then, the values retrieved would not be in the same order.

Does anyone have a workaround for this? I do not have the possibility of performing actions in the receiving system.

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.