01-04-2022 13:56 PM
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 wonder why this is not already a feature...
Hi there,
I want to use your Power Automate script but iam stuck at List all Shifts
Let me post my Input;
{
"method": "get",
"queries": {
"startTime": "2021-12-13T11:19:51.8781082Z"
},
"path": "/v1.0/teams//schedule/shifts",
"host": {
"api": {
"runtimeUrl": "https://flow-apim-europe-001-francecentral-01.azure-apim.net/apim/shifts"
},
"connection": {
"name": "/providers/Microsoft.PowerApps/apis/shared_shifts/connections/shared-shifts-17fa575d-da2a-40fb-87b4-f3c5-4982191a"
}
},
"authentication": {
"scheme": "Key",
"parameter": "*sanitized*",
"type": "Raw"
}
}
And this is the output
{
"statusCode": 404,
"headers": {
"Access-Control-Allow-Methods": "GET, PUT, PATCH, DELETE, POST",
"Access-Control-Allow-Origin": "*",
"Access-Control-Max-Age": "3600",
"Access-Control-Expose-Headers": "*",
"Date": "Mon, 13 Dec 2021 11:19:54 GMT",
"Content-Length": "54",
"Content-Type": "application/json"
},
"body": {
"statusCode": 404,
"message": "Resource not found"
}
}
Can you help me with this?
I have the same issue with List al Time Off Reasons
Thank you in advance
I imported this flow and connected it to my team and calendar, but no events populate no matter how many times I run it. The flow checker doesn't return any issues. What do I need to do to fix it?
Hi MalteM,
Thank you for your flow. Is there a way I can edit the flow to show everyone's shifts? For some context, I have moved our company over to SharePoint and I want to be able to show the shift calendar on a SharePoint page as a web part. The only way I can think of doing this is using your flow but to show all staff shifts from that particular group and then adding the Outlook 365 Group calendar to SharePoint.
Thanks in Advance
Dear @MalteM
First of all: Thank you very much for your Flow! Was searching quite a long time for a way to keep my Teams shifts/absences in sync with my Outlook calendar.
Unfortunately I am experiencing the same as @QTC and after each change on a shift, the old version stays in my calendar.
Any Ideas how to solve this?
Thank you in advance and with best regards!
Thomas
As the flow works right now it will just look up shifts and create an event in outlook calender (if there isn't already an event with the same name at that time). So when you change time or name of a shift, the old event will stay in calender. Since I created this flow Microsoft decided to add some triggers to the shifts connector on power automate. You probably could edit this flow or create a new one, which reacts to created/updated/removed shifts.
Hi all, Apologies if missed anything, I am starting to look at this for our workplace are there any further updates or best ways to start?
Got it to work perfectly in sync, I got the times correct, however they appear with "No subject" what is the best approach to add a subject to the times?
It's because you didn't specify the team id