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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Get the calendarID of someone else's calendar

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I'm working on a chatbot that makes a booking for you. In one of my flows I want to create an Outlook event with the details of that booking in the persons's agenda. I am using the action Create event (V4) to do that, which needs a Calendar ID of the persons's agenda. 

 

I tried using Get calendars, and using that Calendar ID to create the event, but the action Get Calendars returns MY calendars. 

 

Is there a way to get the Calendar ID of the person running the flow/chatting with the chatbot instead of the owner of the flow?

 

Part of my flow:

 
 

image.png

 

Thanks in advance!

 

 

I have the same question (0)
  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at
    Re: Get the calendarID of someone else's calendar

    @Lvdk 

    Hi there.  I'm not totally certain, but I think this is a security thing to keep things focused on what you normally have access to.

     

    One approach you might consider is to create an ICS file which you could (probably?) present in the chat for download.  Here's a video from @aprildunnam on how to create the file:

     

     

    Keep us posted, good luck!

    -Ed

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • v-alzhan-msft Profile Picture
    on at
    Re: Get the calendarID of someone else's calendar

    Hi @Lvdk ,

     

    If you want to get the calendarID of the other user's calendar in the flow, you should create the connection with the special person's account for get calendars action and Create event action:

    1.png

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Lvdk Profile Picture
    on at
    Re: Get the calendarID of someone else's calendar

    Hi @edgonzales,

     

    Thanks! I've managed to do it via the ICS file. It's still too bad we can't directly add it to the calendar of the person, but for now this, I think, is the best way to do it. 

  • Community Power Platform Member Profile Picture
    on at
    Re: Get the calendarID of someone else's calendar

    Hi @Lvdk, could you show me how you fixed it? I am currently working on a car reservation application, where I use Create Event (V4) and the mandatory assistant is the car that I want to reserve, and so far everything is going well, the only problem is that the reservation always comes out in my name so make another user, and they are always done in my calendar and in the car's calendar, the idea is that it be done in the calendar of the person who created the event and in the car's calendar.

     

    Cheers

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard