I am trying to create a task using CMR SDK 2011 and I am getting the error "System.ServiceModle.FaultException 1[Micorsoft.Xrm.Sdk.Orginization.ServiceFault]: Required field 'Status' is missing (Fault Detail is equal to Micorsoft.Xrm.Sdk.Orginization.ServiceFault).
Code used is below:
'create the task first
Dim tsk As New Task
tsk.RegardingObjectId = acct.ToEntityReference
tsk.Subject = "Support Package Email Sent " + Now.ToString
tsk.Category = "Support Package Email"
tsk.ActualDurationMinutes = 1
tsk.ActualStart = Now
tsk.Description = "Email notification sent"
Dim tskid As Guid = _xrm.Create(tsk)
Any suggestions are greatly appreciated!