Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Response Groups Management (Delay in Agents Removal)

$
0
0

Hi Everyone,

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 http://support.microsoft.com/kb/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


Viewing all articles
Browse latest Browse all 6937

Trending Articles