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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,579)