You have activated the Consistency Check between the Assigned Agent and Team in a Ticket.
However, when the Team is changed in a Ticket, the Assigned Agent is not removed.
SAP Cloud for Customer - Service
Reproducing the Issue
Pre-Requisite: You have Ticket Routing Rules maintained, which automatically determine the Team (eg based on the maintained Service Category in the Ticket)
Go to the Service work center.
Select the Tickets view.
Open Ticket 123 (123 represents the Ticket ID).
Select the Edit button.
Change the Service Category.
The Service Category automatically changes the Team that is maintained in the Ticket.
You see that the Team changes, but the assigned Agent is not removed, although they are not part of the new Team.
The assigned Agent only gets removed, if the Team is changed via the Action Assign to Team option within the Ticket
Otherwise the Agent will be kept in the Ticket.
This is the Standard System Behaviour in SAP Cloud for Customer.
Consistency Team Agent Processor removed Check , KBA , LOD-CRM-SRP , Service Request Processing , Problem