My question is about creating/updating Response Groups via windows powershell.While playing with the Response Groups through Powershell sometimes I get the error "...Cannot insert duplicate key row in object 'dbo.Agents' with unique index 'IX_Agents_UserSid'....".The scenario occurs when I remove an Agent from a group and try to add this agent immediately again to the same OR any other group. It is known scenario that there is some latency associated with the deletion process of an agent as also mentioned at support.microsoft.com/.../2393943.
While the agent is marked for deletion, we can't play with this agent until the deletion process is over which can be delayed at Lync server end. So, I was wondering if there is any way to forcefully process/remove the agent using any command through powershell without a delay...? Thanks for your time
Thanks Craig, I will try this and will share the results.