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 / there was a problem ad...
Power Automate
Unanswered

there was a problem adding your datasource. Please try again

(0) ShareShare
ReportReport
Posted on by

I am trying to add a data source to my powerApps but it throws me an error, I am connecting with dynamics ax 365, could someone help me? 

there was a problem adding your datasource. Please try again

Error

Primary key column 'TaskId' must be either read-only and optional or writable and required.

Thanks ¡¡¡

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @mperez,

     

    Could you show me a screenshot of the error?

     

    Have you provided a correct Primary key when creating the connection?

     

    I tried to create a connection to Dynamics 365 for Operation, it didn’t return any error message.

     

     

    Best regards,

    Mabel Mao

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here's an exact flow how to recreate the error

     

    "Primary key column 'ItemNumber' must be either read-only and optional or writable and required."

     

    1. Open web.powerapps.com

    2. Press Canvas app from blank

    3. Tab: Insert > Data table

    4. Data > Add data source

    5. Select dynamics 365 for operations

    6. Choose environment

    7. Choose table "WarehousesOnHand" and connect

    8. Error message that displays: "Primary key column 'ItemNumber' must be either read-only and optional or writable and required."

     

    How can we solve this?

  • sable Profile Picture
    2 on at

    I am receving the same error. Tried re-creating the Table in D365. However, getting the same error for Primary Key 'Item Number'.  I'm able to use other Inventory tables though.

     

    Could you please advise further on resolving this issue ? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous , @sable did you ever get to the bottom of this. I'm having exactly the same problem with exactly the same table.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard