Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Error-To create new record in D365 Business Central, trigger= when connection is created in D365 CRM

(0) ShareShare
ReportReport
Posted on by

I am configuring a flow to create a new record in business central.  The trigger is when a connection record is created in the CRM.  I encountered error and not understand why and need your help.

Steps:

step 1: when connection record is created in D365 CRM, the flow is triggered

step 2: get account information (connect_from(account)) in CRM;

step 3: get account inforamtion (connect_to(account)) in CRM,

Step 4: check condition 1

Step 5: check condition 2

Step 6: create record in Business Central

            ID= connectionid

            Customer_ID #= connect_from(account)_bc_id#,

            Connected_Customer ID #= connect_to(account)_bc_id#

       Screenshot: https://drive.google.com/drive/u/1/recent 

I got below error: https://drive.google.com/drive/u/1/recent

*****Error Message copy as:

status"400,

  "message""The server response is: 'We're sorry, an error occurred during evaluation.'\r\n     inner exception: We're sorry, an error occurred during evaluation.\r\n         inner exception: Guid should contain 32 digits with 4 dashe......***

 

I do not understand why and how to correct this error. Thank you.

 

 

 

  • B@houston Profile Picture
    on at
    Re: Error-To create new record in D365 Business Central, trigger= when connection is created in D365

    This issue is resoved after the we modified the field property in Business Central.  Thank you very much for your kind help.

  • GabrielStJohn Profile Picture
    on at
    Re: Error-To create new record in D365 Business Central, trigger= when connection is created in D365

    Hey, @wang123!

    Thank you for posting on the Flow Community Forum! It appears as though @v-bacao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Error-To create new record in D365 Business Central, trigger= when connection is created in D365

    Hi @wang123,

     

    I am afraid I can't access the link you provided. Could you provide a full screenshot of the Flow configuration?

    The error code 400 indicates that the configuration of this action does not match the expected.

    And the error message contains "inner exception: Guid should contain 32 digits with 4 dashe......***". The error may be in the content of the request configuration.

    You could try not to configure the three fields that are not required to be populated within configuring the Create Related Customer BC action, and check if there are similar problems.

    Or configure them one by one to troubleshoot the cause of the problem.

    Please provide more details and we would provide proper workaround for you.

     

    Best Regards,

    Barry

  • B@houston Profile Picture
    on at
    Re: Error-To create new record in D365 Business Central, trigger= when connection is created in D365

    Forum 1.pngForum 2.png

  • B@houston Profile Picture
    on at
    Re: Error-To create new record in D365 Business Central, trigger= when connection is created in D365

    https://www.dropbox.com/home/Sent%20files?preview=Forum+2.png   Error screenshot

    https://www.dropbox.com/home/Sent%20files?preview=Forum+1.png: step 6 screenshot

  • B@houston Profile Picture
    on at
    Re: Error-To create new record in D365 Business Central, trigger= when connection is created in D365

    Error screenshot:

     

    Screenshot Step 6:  

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 >