Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Dynamics create user

(0) ShareShare
ReportReport
Posted on 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 at
    Re: Dynamics create user

    screen copy from Flow here

  • v-bacao-msft Profile Picture
    on at
    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow