Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Patch a Dataverse Table with Auto Number Column

I am trying to use the patch command to add a new record to a second Dataverse table when a form is submitted for another table. I have it mostly working so far, but I am running into an issue where the Patch fails because the second table's primary column is an auto-number column. Patch seems to not be able to create a new record because that column is required, but it isn't a column I can patch myself. Is there a function that will tell Patch this is an auto-generated number?

Super User
Super User


Try removing the required property from that column.  It will autonumber without it.

 I would, but it is the default column for that table. I need it to auto number because that table is being used to track changes.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,474)