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 appreciated
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.
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
This is a picture from another worker :
Hi @Tamas_Gara ,
Can the user find the calendar in the web Outlook instead of desktop outlook ?
Best Regards,
Wearsky
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.
Hi @Tamas_Gara ,
Is the calendar named '... Shared' you created before?
I created a calendar named Test and I can find it in flow.
Best Regards,
Wearsky
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.
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
Everyone in the org. has this calendar. Is there something to be aware of the connections I use for the create event?
Hi @Tamas_Gara ,
Your filter action return the blank value.
It means It didn't find any related items ...
Could you check if the user has a calendar named ***shared?
Best Regards,
Wearsky