web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error on invoke an htt...
Power Automate
Unanswered

Error on invoke an http request (preauth); successful in graph explorer

(1) ShareShare
ReportReport
Posted on by 2
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"
            }
        }
    }
 
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard