Hi,
We have a Create plug-in on a custom entity that loops through a list of records and is supposed changes the ownership of those records.
The Assign function code is shown below:
OrganizationRequest
request = new
OrganizationRequest("AssignRequest");
request["Target"]
= new
EntityReference(entityname,
id);
request["Assignee"]
= new
EntityReference("systemuser",
systemuserid);
OrganizationResponse
response = (OrganizationResponse)service.Execute(request);
We are receiving a "Request not Supported: AssignRequest" error on the Execute Method line.
The user that is executing this plugin has System Administrator rights, so there is no priviledge issues.
Let me know if you have any suggestions.
Thanks,