Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

MS Shifts to Outlook 365 Calendar

(0) ShareShare
ReportReport
Posted on by 2

Good Morning,

 

I am hoping you may be able to offer me some guidance please.

 

My organisation recently started using MS Shifts for resource scheduling. I was asked to look in to finding a way of automating adding the shift details to each users O365 Calendar.

 

I followed this forum post and confirm that the flow is running successfully:

 

https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Shifts-To-Office365-Outlook-Calendar-Automatization/td-p/630520

 

My intention was to send instructions to all users of how to import the flow, but realised that this does not meet the overall requirement. Our Manager makes several changes to the shifts i.e. deleting them and adding new shifts. This flow does not remove deleted shifts from user's calendars.

 

I therefore did a little more research and found this post and created an automated flow:

 

https://powerusers.microsoft.com/t5/General-Power-Automate/When-a-shift-is-deleted-in-StaffHub-remove-entry-from-O365/td-p/111295

 

I have modified my original flow (that creates calendar invites) so the ShiftID is added to the body of the calendar invite. Thus enabling the new automated flow to loop through each calendar invite and remove the relevant entry upon a shift being deleted.

 

Things appeared to be working at face value but I then realised that the flow runs several times upon the deletion of a shift. It also gets stuck in a loop so that, eventually, new generations of the flow do not run as no more calls to the relevant APIs can be made.

 

I look forward to any guidance that can be given.

 

I am attaching screenshots of the automated flow and results and can provide more information on request.

 

Many thanks,

 

Ray

  • Community Power Platform Member Profile Picture
    on at
    Re: MS Shifts to Outlook 365 Calendar

    This post should do the trick:

    https://sharepains.com/2024/03/07/synchronise-microsoft-shifts-outlook-calendars/

  • raymondg Profile Picture
    2 on at
    Re: MS Shifts to Outlook 365 Calendar

    raymondg_0-1657783425304.png

     

    raymondg_1-1657783506773.png

     

    raymondg_2-1657783532884.pngraymondg_3-1657783545349.png

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1