An API that connects multiple Microsoft services, enabling data access and automation across platforms
The behavior described is not configurable from the client side and is not documented as expected behavior for the GET /teams/{teamId}/schedule/shifts API.
The schedule/shifts endpoint is documented simply to “Get the list of shift instances in a schedule” for a given team, and there is no indication in the documentation that copying/pasting shifts in the Shifts UI should cause all returned shifts to appear as belonging to a single user, nor that this behavior changed as of a specific date.
Given that:
- The API contract is to return the list of
shiftresources for the team schedule. - The issue started recently (after May 1st) and is tied to UI copy/paste behavior.
- There is no documented parameter or workaround in the Graph
shiftsor PowerShell cmdlets that would alter user assignment semantics for copied shifts.
This aligns with a service-side regression or product bug rather than a client misuse.
Recommended actions:
- Treat this as a product bug in the Shifts/Graph integration.
- Open a support ticket with Microsoft, providing:
- The affected tenant and team IDs.
- Example
shiftobjects fromGET /teams/{teamId}/schedule/shiftsshowing all 12 shifts assigned to the sameuserId. - Screenshots or evidence from the Shifts UI showing the same shifts correctly distributed across users.
- The approximate time when the behavior changed (May 1st) and whether it reproduces consistently when using copy/paste.
- Continue using the temporary workaround (creating the first shift per user manually, then copying from that user) only as a short-term mitigation until Microsoft confirms and fixes the issue.
There is no supported client-side way in the documented APIs or PowerShell cmdlets (such as New-MgTeamScheduleShift / New-MgBetaTeamScheduleShift or Update-MgTeamScheduleShift / Update-MgBetaTeamScheduleShift) to override or correct this behavior automatically once the service is returning incorrect userId assignments; it must be addressed on the service side.
References: