Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Create Event (v4) doesn't work properly

(0) ShareShare
ReportReport
Posted on by 12

Hello,

I've built a flow, where you can request vacation from your CEO. The flow works like this:

You enter your name, start and end date of your vacation and submit it.

The Submit button triggers the flow.

The flow uses a central connection which can use our shared calendar.

An email is sent to the CEO, which he can accept or decline.

If the email is accepted send an email to the backoffice and create a event in a shared calendar.

 

In the developing phase, I've entered my email, so that they don't get mails and everything worked fine.

After making sure that it works correctly, I entered the correct mails. The other workers tried to make a request, and the create event doesn't work. The inputs are the same as the one in the development phase (which worked), just with other name.

I can't really figure it out what's wrong.

 

Any help is appreciated2.png2022-02-28 08_55_06-Run History _ Power Automate - Brave.png

  • KevinHerr Profile Picture
    KevinHerr 2 on at
    Re: Create Event (v4) doesn't work properly

    Thank you all for this, it helped us deduce another issue we ran into. I believe the below may help other people who run into similar issues.

     

    Even though shared mailbox permissions were delegated properly, the reason (V4) wasn't working for us was the way we shared the calendar. We ended up logging directly into the Shared Mailbox and sharing the calendar directly to the user there, which sends an invite to the user, once that user received the email, they had to click the accept invite option inside of the email.

     

    The issue detailed - Everything runs in the context of the user running the application. The shared calendar wasn't populating in the user's context, only their own calendars.

     

    Note: You can verify this if you check the logs after attempting to run it to see if the JSON output from "Get calendars (V2)" mentioned below and make sure you can see the shared Calendar you are attempting to use.

  • Re: Create Event (v4) doesn't work properly

    Hi @Tamas_Gara ,

     

    I guess this is caused by the permissions not being synced in time.

    If it can't work properly for a long time, I suggest you submit a support ticket to Microsoft to ask for help.

     

    Best Regards,

    Weaarsky

  • Tamas_Gara Profile Picture
    Tamas_Gara 12 on at
    Re: Create Event (v4) doesn't work properly

    This is a picture from another worker : 

    6.png

  • Re: Create Event (v4) doesn't work properly

    Hi @Tamas_Gara ,

     

    Can the user find the calendar in the web Outlook instead of desktop outlook ?

     

    Best Regards,

    Wearsky

  • Tamas_Gara Profile Picture
    Tamas_Gara 12 on at
    Re: Create Event (v4) doesn't work properly

    5.png

    If I try the flow, it works. But if the other workers in the org try it, it doesn't work. They have the same rights for the calendar as I have. I didn't created the calendar, just the flow.

     

     

  • Re: Create Event (v4) doesn't work properly

    Hi @Tamas_Gara ,

     

    Is the  calendar named '... Shared' you created before?

    I created a calendar named Test and I can find it in flow.

    vxiaochenmsft_0-1646296807186.png

    vxiaochenmsft_1-1646296832581.png

     

    Best Regards,

    Wearsky

     

     

     

  • Tamas_Gara Profile Picture
    Tamas_Gara 12 on at
    Re: Create Event (v4) doesn't work properly

    I just noticed in the get calendar outputs, it didn't found a calendar named ... Shared, but if look in my calendars, it is there.

  • Re: Create Event (v4) doesn't work properly

    Hi @Tamas_Gara ,

     

    1\ Manual flow uses the user's own connection by default.

    2\ As far as I know, as long as you share the calendar with a user, the user can get the calendar id through this action.

     

    Best Regards,

    Wearsky

  • Tamas_Gara Profile Picture
    Tamas_Gara 12 on at
    Re: Create Event (v4) doesn't work properly

    Everyone in the org. has this calendar. Is there something to be aware of the connections I use for the create event? 

  • Re: Create Event (v4) doesn't work properly

    Hi @Tamas_Gara ,

     

    Your filter action return the blank value.

    vxiaochenmsft_0-1646295005444.png

    It means It didn't find any related items ...

    Could you check if the user has a calendar named ***shared?

    vxiaochenmsft_1-1646295097564.png

     

    Best Regards,

    Wearsky

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard

Featured topics