Shifts - Delete/Remove Schedule for Team
Allow the Deletion or Removal of a Schedule for a Team. Currently there is no option through the Desktop, Web or Mobile App.
Daniel Puckett commented
-- SOLVED --
To remove Shifts Scheduling from a Team that you accidentally added Shifts to, you can to set the Schedule for the Team to disabled (enabled: false).
IMPORTANT: This is a stupid hack that should not be needed if MS was paying attention, AND IN DOING THIS, if you want to ever use Shifts with the offending Team(s) again, you will need to set the Team's schedule back to enabled using this same method.
Familiarize yourself with the Graph API Explorer.
Login as you (assuming you are the owner of the team. Else have the owner promote you to an owner).
First, you need to lookup the ID of the Team. Best way is to query all teams for which you are a member.
[GET] [v1.0] https://graph.microsoft.com/v1.0/me/joinedTeams
This will fail. Grant one of the permissions that are now populated in the permissions tab. Try again. The list may be long. Find the Team, find the ID. It will be 36 hex chars and dashes.
Now try to get the current settings of the Team schedule.
The docs say this method is available in v1, but I had to use beta.
[GET] [beta] https://graph.microsoft.com/beta/teams/the team ID/schedule/
You will see many settings including enabled: true.
Now let's disable it.
For whatever reason the [PUT] method requires the timezone. Meh, I just copied what was in the [GET] results.
So make a Request body
and a Request Header
Then run the method again, but as a [PUT] [beta]
https://graph.microsoft.com/beta/teams/the team ID/schedule/
There will be no result. So rerun as a [GET] to see your change.
Going back into Shifts in the Teams desktop and selecting the offending Team will result in Shifts announcing the Team is no longer available. It will then disappear from view. yay.
From the mobile app, the offending teams were still showing, they may have disappeared over time, but in my impatience, I deleted Teams off my phone and reinstalled.
Kaiyrzhan Kozhaly commented
@jrr could you mention how to delete? I wasn't able to find it via Google.
There is a way around it, but it's super hidden. you have to do it through sharepoint.
Hi, Any update on this?
Ciprian Popovici commented
I want to deploy Microsoft shift across our organization. Unfortunately i have a big problem and cannot find a viable solution.
If i schedule the shifts for one user for two months or larger period, and later i want to move that user to another Group or remove that user form the shifts, i cannot do that unless i remove all the scheduled shifts for that user. The message i receive it's this "User has one or more assigned shifts in the currently selected schedule and can’t be removed until you delete them."
The big problem appear if that user was hundredths of shifts scheduled for months and i need to delete all those shifts manually. I need a solution to select all the shifts and then delete.
Can you create an option to select all the shifts for one user , that delete the shifts.
Everything MIcrosoft attempts is an abject failure.
Hayden Reeve commented
This feature would be extremely useful for Shifts.
We went through a trial period and now unfortunately our list of groups is flooded with the trial groups (we cannot delete the entire groups without interrupting other trials.)
all you have to do is highlight the shifts and press delete....
Add delete button! You've done so much other work on integrating this into Teams! Write a few more lines of code please!!!
This is ridiculous. A delete button for unwanted shift schedules two years in the making.
Who else but You, dear Microsoft
Any update? Deleting entire team is not a fix.
This needs fixing ASAP. Useless to me without.
Joana Villas-Boas commented
its been more then a year since this feature is planned. Any news when it will be implemented?
Without this capability shifts will remain just a tool not an application to manage and maintain rosters of any real duration. The import function works well in setting up staff that work on rotating shifts. however if a person changes lines becomes useless as to remove so many roster days is un necessary work, that pushs this 'tool' into the too hard basket and back to excel we go
This is important but trivial feature that is not available?! I need to rebuild shifts for diferent teams and change who is approving requests per each Shift or Group - that functionality is also missing. Good tool, but lacking trivial features thou.
Heiko Bialozyt commented
still same problem. the only way is to delete the entire team.
When will we finally be able to do this??
How can this seriously still not be available. Core functionality, surely... only 2 years late so far.
I’m hoping to move the scheduling of 150+ employees to shifts. We are using excel and it’s so much up keep. Deleting shifts will be an expected feature as staff is always requesting changes that not always require swapping. I was very excited about my first test meeting until I found out last night that we cannot delete shifts. The lack of this feature alone will shut down the migration. How are others managing this? This has so much potential but I feel like it’s not flexible enough (we need 3 different user roles- first line staff, managers and my department overseeing the entire schedule).