Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vdkm/2dlfN0Jcr5DfUKYV0
Power Automate - General Discussion
Unanswered

Create Event error on Outlook calendar using Flow on PowerApps

Like (1) ShareShare
ReportReport
Posted on 30 May 2018 07:07:14 by 32

I created the below flow to create an event on user's outlook calendar. It works fine for me since i'm the one who created the Flow and it has connection to my Outlook. 

 

However when another user who i've given access to the PowerApps app and also to the Create Event Flow, the flow will failed on the Create Event V2 part as per below screenshot.

 

I'm just wondering if the Calendar id on the flow that i created is mapped only to my Outlook calendar? because when other user run the apps it did asked user for permission to his Outlook but clearly this does not do the trick. 

 

Any ideas what did i missed / doing wrong here? 

 

Thanks

 

 create event flow.jpgFlow summary.jpg

Categories:
  • Sharafaa Profile Picture
    7 on 21 Dec 2022 at 04:45:13
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    @Shubzworld 

    Many thanks for this solution,

    it worked for me !

     

  • Shubzworld Profile Picture
    2 on 22 Jul 2020 at 15:21:50
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    Hi @MacGizmo ,

     

    You can use this way, so flow will create the event on default calendar for a individual user who is using that powerapp .

    In flow (Create even action), for clendar ID field, select custom value  -> ask in powerapp 

     

    In Powerapp, add Office365 outlook connection then add flow on button -> pass value to as below 

    it will pick the current powerapp user default calendar id and pass it to flow, so flow will create the outlook event for that user calendar.

     

    Lookup(Office365Outlook.Calendar.GetTablesV2().value.name="Calendar").id

     

    Pass this parameter for flow (calendar id field ), it will work 🙂

     

    Regards,

    Shubham Gade @shubzworld

     

     

  • damianwicks Profile Picture
    3 on 09 Mar 2019 at 10:16:47
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    Same issue for me...

    Surely this is a pretty basic request... other outlook actions such as Send Email work against the mailbox of the user running the flow, so why wouldn't creating a calendar event do the same?

    Or is there another Action which can be used to do this? Surely there is?

  • ALEXANDERIII Profile Picture
    29 on 16 Jan 2019 at 20:49:14
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    I agree,

     

    It shouldn't be that complicated for users to use Create Event flow to add events to their own calendars. I am having the similar issue. I created the flow and wanted the other user to use it, but it doesn't work because of this issue.

  • MacGizmo Profile Picture
    32 on 31 May 2018 at 06:25:22
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    Hi Alice

     

    The idea of user have to update the connection before running the app is too troublesome not efficient as normal user should only have access to the app and not making changes to Flow to avoid user making unauthorised changes.

     

    Thanks for your help anyway, back to the drawing board again.

  • v-yuazh-msft Profile Picture
    on 31 May 2018 at 06:10:13
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    Hi @ MacGizmo,

      

    If you want the user to run your flow to create event on himself's outlook calandar, you could let him update the connection of the "Create Event" action to himself's account instead of yours.

     

    For your first question:

    The user could add themselves connection refer to screenshot below:

     Capture.PNG

     

    The user also need to update the Calendar Id to themselves Calendar.

     

    For your second question:

    If you have heaps of user who needs to use this app, I afraid the only way is everyone should update the connection to himself's before them run the app.

     

    Please let me know if your problem could be solved.

     

    Regards,
    Alice Zhang

  • MacGizmo Profile Picture
    32 on 31 May 2018 at 02:27:27
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    Hi Alice / @v-yuazh-msft

     

    Thanks for the response. I forgot to mentioned on the original post that when other user the app, it should create the event on their own calendar instead of mine so I assume that this is possible.

     

    I guess my next question is:

    1. how other user add their own account as one of the connection on the Create Event step

    2. If i have heaps of user who needs to use this app, is there a better way of doing the above steps instead of asking every single one of them to add their own account to the connection? Can I somehow do it?

     

    Thanks

    Ben

  • v-yuazh-msft Profile Picture
    on 31 May 2018 at 02:10:28
    Re: Create Event error on Outlook calendar using Flow on PowerApps

    Hi @ MacGizmo,

     

     

    I have made a test on my side and the issue is confirmed on my side.

     

    If you let other user to run your flow  on PowerApps, the connection of the "Create Event" action would remain your account.So the user couldn't run your flow on PowerApps to create event on your outlook calandar.

    Capture.PNG

     

    If you want the user to run your flow on PowerApps to create event on your outlook calandar.I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    If you want the user to run your flow to create event on himself's outlook calandar, you could let him update the connection of the "Create Event" action to himself's account instead of yours.

     

    Please let me know if your problem could be solved.

     

    Regards,
    Alice Zhang

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

Overall leaderboard