Skip to main content
Community site session details

Community site session details

Session Id : noWW3mEHOPVIODe6nOj6Ht
Power Automate - Using Flows
Unanswered

Dynamics create user

Like (0) ShareShare
ReportReport
Posted on 21 Mar 2019 16:36:42 by

I tried to create a flow which must create a user in Dynamics but when test I get an error: BadRequest.

input item:

{
"firstname": "pat",
"invitestatuscode": 0,
"lastname": "san",
"emailaddress1": "test@free.fr",
"description": "sdazd",
"telephone1": "123456789"
}
Output
status code 400
{
"status": 400,
"message": "An error occurred while validating input parameters: Microsoft.OData.ODataException: Does not support untyped value in non-open type.\r\n at System.Web.OData.Formatter.Deserialization.DeserializationHelpers.ApplyProperty(ODataProperty property, IEdmStructuredTypeReference resourceType, Object resource, ODataDeserializerProvider deserializerProvider, ODataDeserializerContext readContext)\r\n at System.Web.OData.Formatter.Deserialization.ODataResourceDeserializer.ApplyStructuralProperties(Object resource, ODataResourceWrapper resourceWrapper, IEdmStructuredTypeReference structuredType, ODataDeserializerContext readContext)\r\n at Microsoft.Crm.Extensibility.CrmODataEntityDeserializer.ApplyStructuralProperties(Object resource, ODataResourceWrapper resourceWrapper, IEdmStructuredTypeReference structuredType, ODataDeserializerContext readContext)\r\n at System.Web.OData.Formatter.Deserialization.ODataResourceDeserializer.ReadResource(ODataResourceWrapper resourceWrapper, IEdmStructuredTypeReference structuredType, ODataDeserializerContext readContext)\r\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)",
"source": "orgxxxxxxxxx.crm4.dynamics.com",
"errors": [],
"debugInfo": "clientRequestId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Where is the bug?
  • Community Power Platform Member Profile Picture
    on 25 Mar 2019 at 16:14:01
    Re: Dynamics create user

    screen copy from Flow here

  • v-bacao-msft Profile Picture
    on 25 Mar 2019 at 09:03:21
    Re: Dynamics create user

    Hi @Anonymous ,

     

    I am not able to reproduce a similar error on my side. Could you provide a screenshot of Flow configuration?

    Some searches found that similar errors would occur if properties that do not exist in JSON Object are configured.

    You could try to configure only the required fields, the other optional fields are not populated first, and then gradually check the fields that caused the error.

    In addition, please upgrade your previous version CDS database as required, although I don't know if this is the cause of this error, but it can be used as a reference.

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow
Loading complete