Hi all--
I'm attempting to use power automate flow for a user creation process and one thing I would like to do is update employeeid of the newly created user within AAD however when I'm using 'Invoke an HTTP request' with preauthorization, I recieve an error that I can't make any sense of since there's nothing I'm filtering on other than the user record id.
"Invalid filter clause: An identifier was expected at position 15."
When I use graph-explorer to perform the same PATCH action with the same request url.... it works as intended and can update employeeid. Can someone please advise and assist me with the following error?
Raw Input
{
"host": {
"connectionReferenceName": "shared_webcontents",
"operationId": "InvokeHttp"
},
"parameters": {
"request/method": "PATCH",
"request/url": "https://graph.microsoft.com/v1.0/users/d47ea683-c91f-470d-badf-a55ad5663fd6",
"request/headers": {
"Content-type": "application/json"
},
"request/body": "{\n \"employeeid\": \"935051\"\n}"
}
}
Raw Output
"body": {
"error": {
"code": "BadRequest",
"message": "Invalid filter clause: An identifier was expected at position 15.",
"innerError": {
"date": "2024-10-08T19:24:32",
"request-id": "95d96756-c26a-42cd-8126-de7a360b3792",
"client-request-id": "95d96756-c26a-42cd-8126-de7a360b3792"
}
}
}