cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lvdk
Frequent Visitor

Get the calendarID of someone else's calendar

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!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
edgonzales
Super User II
Super User II

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

View solution in original post

4 REPLIES 4
edgonzales
Super User II
Super User II

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

View solution in original post

v-alzhan-msft
Community Support
Community Support

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
Frequent Visitor

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. 

JoseC
Regular Visitor

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

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,938)