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

3 REPLIES 3
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.

hillaryzhy
Regular Visitor

Hi Kaanad, could you share your solution? I am seeing the same error as you do. I passed Contact GUID into it but still error. What I did: Row Id = the contact I want to add to the access team,  TeamTemplateid = GUID of the access team template. Thank you so much! I appreciated your help!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,122)