Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

Possible to run PowerShell script to update auto-numbering prefix?

(0) ShareShare
ReportReport
Posted on by

We've noticed as we're deploying new code to Dynamics 365 instances via the Package Deployer, the auto numbering prefix is overwritten in the next environment when deployed (i.e. from Dev to Test/UAT). As such, we'd like to use a post deployment script that would reset the case auto-numbering prefix as we have a different prefix per environment.

Has anyone used/seen a PowerShell script that would apply this? I've not seen anything in docs online so far.

Thanks! 

  • Paul_Owen Profile Picture
    2,027 on at
    RE: Possible to run PowerShell script to update auto-numbering prefix?

    There's an XRM Toolbox plugin for manipulating Auto Number fields

    pastedimage1579534527277v1.png

    Regards

    Paul

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar 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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans