cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kaanand
New Member

AddUserToRecordTeam - could someone explain me what are the parameters while adding user in the access team template on custom entity.

Kaanand_0-1637953843526.png

Where I need to put userid, custom recordid ? teamtemplateid I can see it in the list. I have tried several options but getting error like -

 

 "An error occurred while validating input parameters: Microsoft.OData.ODataException: One or more parameters of the operation 'AddUserToRecordTeam' are missing from the request payload. The missing parameters are: Record.
at Microsoft.OData.ODataParameterReaderCore.EnterScope(ODataParameterReaderState state, String name, Object value)
at Microsoft.OData.JsonLight.ODataJsonLightParameterDeserializer.ReadNextParameter(PropertyAndAnnotationCollector propertyAndAnnotationCollector)
at Microsoft.OData.ODataParameterReaderCore.ReadImplementation()
at Microsoft.OData.ODataParameterReaderCore.InterceptException[T](Func`1 action)
at Microsoft.Crm.Extensibility.ODataV4.CrmODataActionPayloadDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext)
at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)"

 

1 ACCEPTED SOLUTION

Accepted Solutions
Kaanand
New Member

Thank you for the reply. But found my mistake - I was passing Role Id as lookup, it should be only GUID.

View solution in original post

2 REPLIES 2
v-qiaqi-msft
Community Support
Community Support

Kaanand
New Member

Thank you for the reply. But found my mistake - I was passing Role Id as lookup, it should be only GUID.

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,580)