var olook = [];
var lookup = {};
lookup.id = "8a7a2996-c11d-e911-a841-000d3a1f4157";
lookup.entityType = "team";
lookup.name = "Tax Team";
olook[0] = lookup;
formContext.getAttribute("ownerid").setValue(olook);
This code results in the following error and I'm not sure what the problem is. The ID/Name are correct for that team.
"Value should be of type: entityType: Parameter Name: value[0].entityType"