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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Outlook 365 calendar c...
Power Automate
Unanswered

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard