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?