09-20-2022 10:55 AM
Automatically copies your shifts and Time Off instances from Microsoft Teams Shifts into your Office365 Outlook calendar. Default options are set to check the shifts and Time Off instances once a day.
Needs a "Microsoft Teams", "Office 365 Outlook", "Office 365 User" and "Shifts (Microsoft Teams)" connection. Import the flow and set the value of the CalendarName variable to the name of your calendar into which the shifts/Time Off instances are to be copied. Also, set the value of the TeamName variable to the name of your team from which the shifts/Time Off instances are copied.
"I set the [USER INPUT] to the name of the calendar" Remove this and see if it works. The Teams name needs to be exact and if you changed the name it need to be the original name.
Anyone know how to make the Event created in Outlook have the status of "Busy", as currently it creates as "Free".
Show as under the Create Instance for either side of the flow can be changed to Busy
I can't seem to find "Create Instance" for this flow? I'm using the browser interface for Power Automate. I went inside every box and went to Settings / Advanced Options / Peek Code where available, and can't seem to find it.
@MalteM and @Anonymous I had the issue that the flow was duplicating the events after every run, and not removing deleted items. I have inserted few steps that what they do is delete all the entries in the calendar before repopulating them. I guess that there should be a more efficient option. Hopefully this helps as a temporary solution.
Thanks for creating the flow, really useful!! 👍
@EBob That is a good point, this addition will delete all the events in the selected calendar. I did not realize it as I have a specific calendar just for Shifts events
2 QUESTIONS:
1) Does this flow do a one-time publish, or does it synchronize? In other words, if I delete a shift in Shifts, will it delete it in calendar?
2) Does this flow copy only one person's shift over to outlook, or:
a) can I use to to publish shifts for all team members into one single outlook group calendar?
b) can I use it to publish all team members' shifts to their individual outlook calendars?
The flow, as I set it up, synchronizes everyday at 18:00, and what id does it is remove all the entries in the calendar and copies the ones still in shifts. I guess that it could be a setup in a different way.
ABout your question 2. I have no idea, I guess that you would need to "play" with it and see if it is possible. I have only used to synchronize the work assigned to one person in its own calendar.
Okay, i got it to work now. It seems to be important that the calendar name is exactly the same.
Another question, how can I make the added vacation/time of as "Show busy"? Is that also possible?