Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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 ¡¡¡

  • Community Power Platform Member Profile Picture
    on at
    Re: there was a problem adding your datasource. Please try again

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

  • sable Profile Picture
    2 on at
    Re: there was a problem adding your datasource. Please try again

    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
    on at
    Re: there was a problem adding your datasource. Please try again

    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?

  • v-yamao-msft Profile Picture
    on at
    Re: there was a problem adding your datasource. Please try again

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics