In today’s data-driven business environment, maintaining structured and consistent records in Microsoft Dynamics 365 is essential for scalability and efficiency. One common challenge organizations face is auto-numbering records—whether for invoices, work orders, or tickets.

With Power Automate and Dataverse, you can easily design a custom auto-numbering system without relying on code-heavy solutions or third-party plugins. In this guide, we’ll walk you through how to build a flexible, scalable, and automated numbering system—and how Skysoft Connections can help your business optimize Dynamics 365 workflows.

Why Do You Need Auto-Numbering in Dynamics 365?

Auto-numbering ensures every record—like a customer, project, or order—has a unique, consistent identifier. This not only improves traceability but also simplifies reporting and auditing.

Here’s why businesses rely on automated numbering:

  • Avoid duplicates and manual entry errors
  • Streamline workflows for better data management
  • Enhance reporting and visibility across departments
  • Ensure compliance with structured data formats

Tools You’ll Use

To build this solution, you’ll need access to:

ToolPurpose
Microsoft DataverseStores numbering data and configurations
Power Automate (Flow)Automates number generation and updates
Dynamics 365The core CRM or ERP where records are created

Step-by-Step: Creating the Auto-Numbering System

Let’s break down the process into simple, actionable steps.

Step 1: Create a Dataverse Table for Number Sequences

  1. In Dataverse, create a table called Auto Number Config.
  2. Add the following columns:
    • Entity Name (Text)
    • Prefix (Text)
    • Current Number (Whole Number)
    • Suffix (Optional)

This table will store your unique numbering sequence configuration for each entity.

Read more : what intermediate users must know about data services dataverse

Step 2: Design a Power Automate Flow

Next, head to Power Automate and create a cloud flow that triggers when a new record is created in Dynamics 365.

visual representation of Design a power automate Flow

Flow Steps Overview:

  1. Trigger:
    • Use When a row is added, modified, or deleted (Dataverse).
  2. Get Configuration:
    • Retrieve data from your Auto Number Config table based on the entity name.
  3. Increment the Number:
    • Add one to the current number using an expression like: add(int(triggerOutputs()?['body/CurrentNumber']),1)
  4. Compose Final Number:
    • Combine the prefix, incremented number, and optional suffix using the Compose action.
  5. Update Record:
    • Update the new record’s auto-number field with the generated value.
  6. Save New Value:
    • Update the Auto Number Config table’s Current Number column with the latest number.

Step 3: Test and Validate

  • Create a few test records in Dynamics 365.
  • Ensure the numbering sequence updates correctly and uniquely for each entity.
  • Adjust formatting or prefixes as needed (for example, INV-001, INV-002, etc.).

Benefits of Using Power Automate + Dataverse

Here’s why this approach is superior to traditional numbering methods:

FeatureTraditional Code-BasedPower Automate + Dataverse
ComplexityHighLow
FlexibilityLimitedHighly configurable
MaintenanceRequires developersBusiness-user friendly
IntegrationManual setupSeamless with Dynamics 365

This no-code or low-code approach allows administrators and consultants to modify numbering rules easily, adapting to changing business requirements.

Pro Tips for a Scalable Auto-Numbering Solution

To ensure your setup remains efficient and secure, keep these best practices in mind:

Pro Tips for a Scalable Auto-Numbering Solution
  • 🔹 Use prefixes wisely: Incorporate department or region codes for better categorization.
  • 🔹 Avoid race conditions: Use Power Automate concurrency control to prevent duplicate numbering.
  • 🔹 Store settings centrally: Manage all entity numbering in one Dataverse table for scalability.
  • 🔹 Leverage expressions: Use Power Automate expressions for flexible formats (e.g., YEAR + SEQ).

How Skysoft Connections Can Help

At Skysoft Connections, we specialize in custom Dynamics 365 automation solutions built on Power Platform technologies—including Power Apps, Power Automate, and Dataverse.

Our team helps organizations:

  • Implement custom workflows that enhance Dynamics 365 performance
  • Build scalable automation systems tailored to your operations
  • Integrate Power BI dashboards for real-time reporting
  • Migrate legacy data seamlessly into Microsoft Dataverse

With over 40,000+ hours of successful project delivery and a Top-Rated Plus record on Upwork, Skysoft Connections empowers businesses to unlock automation potential and eliminate manual bottlenecks.

Common Use Cases for Auto-Numbering

You can apply this solution across multiple Dynamics 365 modules:

  • Sales: Quote and order IDs
  • Customer Service: Case or ticket numbers
  • Field Service: Work order references
  • Finance: Invoice or payment identifiers

Conclusion

Creating an Auto-Numbering System in Dynamics 365 using Power Automate and Dataverse is a powerful way to automate one of the most repetitive yet critical tasks in CRM management.

It’s scalable, maintainable, and can be customized to fit any business model.
Partnering with Skysoft Connections ensures you not only build it right but also future-proof your automation strategy.

Key Takeaways

  • Auto-numbering boosts data consistency and saves manual effort.
  • Power Automate and Dataverse provide a low-code, flexible solution.
  • Skysoft Connections can help you design, deploy, and scale your automation workflows.

Read more : Proactively Managing API Call Limits When Integrating D365 with External Systems

FAQs

Can I use this auto-numbering approach for multiple entities?

Yes! You can manage different numbering formats for multiple entities by configuring separate entries in your Dataverse table.

Does this require coding knowledge?

No, it’s a low-code setup that can be managed using Power Automate expressions and Dataverse logic.

What if two users create records at the same time?

Enable concurrency control in your flow to handle parallel requests and prevent duplicates.

Can Skysoft Connections implement this for us?

Absolutely! Our Dynamics experts can design and deploy a tailored auto-numbering solution that integrates seamlessly with your existing CRM workflows.

is a software solution company that was established in 2016. Our quality services begin with experience and end with dedication. Our directors have more than 15 years of IT experience to handle various projects successfully. Our dedicated teams are available to help our clients streamline their business processes, enhance their customer support, automate their day-to-day tasks, and provide software solutions tailored to their specific needs. We are experts in Dynamics 365 and Power Platform services, whether you need Dynamics 365 implementation, customization, integration, data migration, training, or ongoing support.

Share This Story, Choose Your Platform!

Managing API Call Limits in Dynamics 365Proactively Managing API Call Limits When Integrating D365 with External Systems
Nested Filterable Sub-Grid in Power Apps for D365Building a Nested, Filterable Sub-Grid Replacement in a Power App for D365