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.
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.