Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Cannot Send a Microsoft Graph HTTP request For Teams

(0) ShareShare
ReportReport
Posted on by
From Graph Explorer (presence: setUserPreferredPresence - Microsoft Graph v1.0 | Microsoft Learn) I'm able to Post HTTP request to the following URL/URI and change my status in Teams.
 
POST https://graph.microsoft.com/v1.0/users/xxxxxxxxxxxxxxxxxxxxxxxxxxx/presence/setUserPreferredPresence
Content-Type: application/json

{
"availability": "Busy",
"activity": "Busy",
}
 
 
 
However, when I try to post the same JSON body to the same URL/URI from Power Automate, I'm getting the following error. In Power Automate Flow I've selected the action named "Send a Microsoft Graph HTTP request". Also, the flow is already connected to my account.
 
 
Action 'Send_a_Microsoft_Graph_HTTP_request' failed: URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: teams,me,users Objects: channels,chats,installedApps,messages,pinnedMessages. Uri: https://graph.microsoft.com/v1.0/users/xxxxxxxxxxxxxxxxxxxx/presence/setUserPreferredPresence
 
Note: User ID has been replaced by xxxxxxxxxxxxxxxxxxxx.
 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard