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
New Member

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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,969)