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 / Get the calendarID of ...
Power Automate
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!

 

 

Categories:
  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @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
    Microsoft Employee on at

    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

    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
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard