Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Dynamics create user

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": "",
"description": "sdazd",
"telephone1": "123456789"
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": "",
"errors": [],
"debugInfo": "clientRequestId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Where is the bug?
Community Support Team
Community Support Team

Re: Dynamics create user

Hi @patrick_s ,


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,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Dynamics create user

Helpful resources


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,134)