C# Update Incident's AssignedTo to No Value
I am trying to update the Incident's AssignedTo value to No Value but it is not working. It is still staying assigned to my account. There is nothing in the Incident Rules that would assign it back to my account.
Incident incident = new Incident(); ID incidentID = new ID(); incidentID.id = x; incidentID.idSpecified = true; incident.ID = incidentID; GroupAccount account = new GroupAccount(); NamedIDHierarchy accountID = new NamedIDHierarchy(); accountID = null; account.Account = accountID; incident.AssignedTo = account;