07-14-2021 02:13 AM - last edited 07-14-2021 02:24 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 just updated the flow and linked it in the original post. There should be no more duplicate events.
Hey MalteM,
Thank you for the flow but you should probably add some manual on how to install and use this since there are alot of people here not knowing how to import the flow to power automate or how and where to change the values for the Teams or their Calendar.
It would be awesome if you do this 😉
Anyway, could you tell me why do I get this error? Everything else has a green mark on it
Can you click an "Next failed" and show the error message?
Also if someone wants to write a more detailed manual on how to import the flow I can add this to the starting post. Can't do it myself since I have little to no time right now.
Getting the indentical error but it still seems to be working. When I look at my outlook calendar, the shifts were all added.
I can confirm @Beebopdoowap. Sometimes I get the error but mostly it works like a charm
I ran your flow but I get an error 400 :
"statusCode": 400,
"headers": {
"Pragma": "no-cache",
"x-ms-request-id": "e2bf6968-c7b1-4c2b-b5dd-fc2a933f0210",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Cache-Control": "no-store, no-cache",
"Set-Cookie": "ARRAffinity=540d435d9e124887614425ac3a1a59170072a70f62fae90a951d423a1d05d580;Path=/;HttpOnly;Secure;Domain=office365-we.azconn-we-01.p.azurewebsites.net,ARRAffinitySameSite=540d435d9e124887614425ac3a1a59170072a70f62fae90a951d423a1d05d580;Path=/;HttpOnly;SameSite=None;Secure;Domain=office365-we.azconn-we-01.p.azurewebsites.net",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"Date": "Wed, 06 Oct 2021 12:55:13 GMT",
"Content-Length": "303",
"Content-Type": "application/json",
"Expires": "-1"
},
"body": {
"status": 400,
"message": "Parameter 'startDateTimeUtc' cannot be null or empty.\r\nclientRequestId: e2bf6968-c7b1-4c2b-b5dd-fc2a933f0210",
"error": {
"message": "Parameter 'startDateTimeUtc' cannot be null or empty."
},
"source": "office365-we.azconn-we-01.p.azurewebsites.net"
}
}
I have searched for the parameter but could not find it : can you help me out ?
I read someone say this only updates 14 days out but when i run this it goes way beyond 14 days. How can i get this to look only 14 days out to copy over that data only?
Also, in Power Automate the flow says it failed but it actually worked. Is this normal?
Thanks