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 / Outlook 365 calendar c...
Power Automate
Answered

Outlook 365 calendar category

(1) ShareShare
ReportReport
Posted on by 46

Hello,

I want to add automaticly categories to new created outlook 365 calendar events. 

So far I found this : 

1) Outlook 365 "when adding, updating or deleting an event (V3)"

2) Added a condition : subject contains 'test'

3) True : Office "Send an http request" 

 

Somehow it doesn't work 🙂 

Any help appreciated 🙂 

 

Screenshot 2024-07-16 213913.png

 

Categories:
  • Chapeau_Melon Profile Picture
    46 on at

    I get these errors : 

     

    URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector

     

    for the condition:
    ActionFailed
    An action failed. No dependent actions succeeded.
    For the True action:
    BadRequest
     
    EDIT: 
    I advanced a little : 
    But still getting a Bad Request error 400 
     
    EDIT2: 
    I can't find the solution for Send_HTTP_Request' failed: Resource not found for segment 'events
    I tried to use the classic ID and the iCalUId, still the same. 
  • Verified answer
    Chapeau_Melon Profile Picture
    46 on at

    Almost solved; I don't know why, I did a better copy/past and I guess it was some coding error.

    Anyhow: this works

    {
     "type": "OpenApiConnection",
     "inputs": {
     "parameters": {
     "Uri": "https://graph.microsoft.com/v1.0/me/calendar/events/@{triggerOutputs()?['body/id']}",
     "Method": "PATCH",
     "Body": "{\n \"categories\": [\"APPT\"]\n}",
     "ContentType": "application/json"
     },
     "host": {
     "apiId": "/providers/Microsoft.PowerApps/apis/shared_office365",
     "connection": "shared_office365",
     "operationId": "HttpRequest"
     }
     }
    }

     

    The only problem left : The category is not marked. I mean, the color is applied but when checking the category it is not ticked ? 

     

    Any clues ? 

    Thanks again! 

  • Chapeau_Melon Profile Picture
    46 on at

    I does mark. Except, you only see it when opening the event.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard