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 Apps / Unique ID column in da...
Power Apps
Answered

Unique ID column in dataverse

(0) ShareShare
ReportReport
Posted on by 388

Hi,

 I am creating canvas application with dataverse as the backend.

What is the best way to create unique id column in dataverse? 

Can I use Primary Name column for auto generated unique id number?

 

Please advise. Any help would be greatly appreciated.

 

Thank you

I have the same question (0)
  • mahoneypat Profile Picture
    1,720 on at

    Yes.  After you create the table, go back and edit the Name column to have the data type of AutoNumber.  You may have to make it an Optional column, so the user isn't required to populate it (it will be auto generated once the record is created).

     

    mahoneypat_0-1635733538265.png

     

     

    Pat

  • Verified answer
    Ram Prakash Duraisamy Profile Picture
    5,714 Super User 2026 Season 1 on at

    Hello @aaedla,

     

    As per OOB Behavior, in each table there is a Column Available with Primary Key but that is related to GUID Field.

    If you want you can use the same else create a New Field with AUTONUMBER and set the Numbering Mode and use the same.

     

    You can set the Prefix and the Seed too

     

    rampprakash_0-1635749435571.png

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @aaedla :

    All Tables in the Dataverse will automatically generate a Column of type "Unique Identifier", and his DisplayName is usually the name of the table.You could get it in this way:

    vbofengmsft_0-1635754178571.png

    Best Regards,

    Bof

     

  • f_wolf359 Profile Picture
    3 on at

    Be wary of this as the Autonumber column does not enforce unique values.

     

    https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Autonumber-isn-t-unique/td-p/1744606

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard