How can I PATCH omaSettingStringXml?

Rytis Ilciukas 0 Reputation points
2023-11-15T10:29:43.81+00:00

calling

PATCH https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations/<omitted>

with the following payload

{
    "@odata.type": "#microsoft.graph.windows10CustomConfiguration",
    "omaSettings": [
        {
            "@odata.type": "#microsoft.graph.omaSettingStringXml",
            "displayName": "Approved USBs Group",
            "description": null,
            "omaUri": "<omitted>",
            "fileName": "<omitted>",
            "value": "PEdyb3VwIElkPSJ7NjVmYTY0OWEtYTExMS00OTEyLTkyOTQtZmI2MzM3YTI1MDM4fSI+CiAgPE1hdGNoVHlwZT5NYXRjaEFueTwvTWF0Y2hUeXBlPgogIDxEZXNjcmlwdG9ySWRMaXN0PgogIDwvRGVzY3JpcHRvcklkTGlzdD4KPC9Hcm91cD4="
        }
    ]
}

results in 503 DQCancelledOnRequestTimeout. Am I doing something wrong?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,846 questions
0 comments No comments
{count} votes

Your answer

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