Hello!
Recently one of my flows that reads teams shifts for a given shift type has begun to malfunction. The flow fetches all shifts from my team, filters based on shift display name, then posts a message in our slack workspace notifying the user they are on shift.
This has worked well until today. Now, the first step of the flow, Get Shifts From Team, returns the incorrect user ID. When debugging, I found that no matter who I assign the shift to, even if I assign the shift to everyone on my team, the same user id is returned for every shift.
The only thing I had changed is added a scheduling group within the team, which I did not expect to have any impact, as the call does not look for scheduling group specifically. The call only looks for the top level team, which remains unchanged. The call still returns the correct # of shifts, but regardless of who I assign the shift to, the returned data from graph API call is incorrect.
It doesn't appear to be stale data, as the last updated dates are correct in the returned data. When I remove shift from all team members, the call properly returns no data, then re-adding he shift to any person in my team will return the same user ID.
The user ID retuned is not mine, but indeed a member of the correct team. The shift schedule is being shared each time.
Any ideas?