web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Template Move rows fro...
Power Automate
Answered

Template Move rows from and Excel table to Dynamics AX Online Vendors - Error when uploading

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 Hello,


I am trying to use the template to upload Vendors to D365 for Operations. I am getting the follow error when the flow runs:

 

"status": 400, "message": "An error has occurred. Write failed for table row of type 'VendVendorEntity'. Infolog: Error: Invalid party type name found: '', this party type does not exists in the system..",

 

I have tried creating the flow from scratch as well but it continues to fail at the create record step. My fields appear to be mapped correctly and I have created the necessary rows in the Excel Sheet. 

 

Body
{ "VendorGroupId": "40", "PrimaryEmailAddress": "testemail@aol.com", "dataAreaId": "USMF", "VendorName": "Ray Supplies", "VendorAccountNumber": "797979" }
 
Has anyone used this template successfully? Any ideas on how to resolve the error?
Categories:
I have the same question (0)
  • Verified answer
    ashgupta Profile Picture
    Microsoft Employee on at

    Hi Dave,

     

    Without the complete excel file/ dyanmics table schema, its harder to say but based on the message, it seems its not able to find PartyType which may be an enum. I also dont see on the body.

     

    Can you double check and share what values are there in CSV file?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Ashgupta,

     

    Thanks for the reply! Here are the values on my Excel sheet:

     

    DataGroupID     USMF

    VendAcctNum   797979 

    VendorGroupID  40

    Name                   Ray Supplies 

    Email                   testemail@aol.com 

    __PowerAppsId__ 7qlIz7gPVNM

     

    It is formated as a regular table in Excel but I was having an issue inserting a screen shot. Thanks again for the help.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Ashgupta,

     

    Thanks a lot for your pointing me in right direction. I added a party type field and was able to upload the file successfully.

  • ashgupta Profile Picture
    Microsoft Employee on at

    Perfect. thanks for your confirmation.

  • Sumeet Profile Picture
    16 on at

    did you create a party type field in AX?

  • Daiye Profile Picture
    8 on at

    Hi @Anonymous,

     

    I had the same problem when importing vendors to D365, or rather when updating vendors through an import in Data management. Most importantly the error message was the same:
    Error: Invalid party type name found: '', this party type does not exists in the system.."

     

    What solved my issue was finding the Party, and then the party type, that the Vendor was built upon. There are two available party types for the Enum "DirPartyBaseType":

    1. Person.

    2. Organization.

    (Name = Party type name)

     

    Due to an import of the Vendor done through migration back in 2015 the Vendor Party Type was of type "Any". Either this was a valid party type back then or the value was forced into D365 in the migration. The import in Data Management finds the correct Vendor but when it tries to update the vendor in any way the Party type is still "Any" which causes the error.

     

    My solution:

    Navigate to Organization Administration -> Global address book -> Global address book.

    Create a new party with the same name as your Party, save the form. Take note of the Party ID, something like "00000XXXX".

    Daiye_0-1636042361565.png

    Navigate to your vendor. Accounts payable -> Vendors -> All vendors ->  [Your vendor]

    Click Change party association in the General tab.

    Daiye_1-1636042524656.png

    Select your new party association that you just created (Party ID). Click Ok -> Ok.

    Done.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard