Hi,
I'm trying to add new records in the table 'teamroles' with javascript.
My code:
function test(){ data = new Object(); data.teamid = "Guid string"; data.roleid = "Guid string"; Xrm.WebApi.createRecord("teamroles", data).then(function (result) { console.log(result.id); }); }
I get a BadRequest (http 400) and the following Error:
The 'Create' method does not support entities of type 'systemuserroles'. MessageProcessorCache returned MessageProcessor.Empty.
Does this mean it is not possible to create new record in de intersect table teamroles?
Or is there another way to assign a security role to a new Team?
Kind regards,
Klaas