What Are Environments?

In Business Central Cloud (SaaS), an environment is an isolated instance of Business Central where data, configurations, and extensions live independently. Every tenant can have multiple environments, and each environment is either a Production Environment or a Sandbox Environment.

 

The Core Difference

Production is where your business runs daily operations so real transactions, real data, real financial records.

– Sandbox is where you test, develop, experiment, and learn without risk to live data.

You can delete a sandbox freely. Deleting a production environment is a serious action with significant consequences.

 

·      Performance

Production environments run on a dedicated, high-performance Azure tier. They receive prioritized availability and support from Microsoft. Sandbox environments run on a lower performance tier on Azure. This means sandbox performance does not reflect what real users experience in production.

    If you need performance testing that reflects real production behavior, you must purchase an additional Production environment through your CSP partner. By default, only one Production environment is included in the subscription any additional one requires extra cost.

 

·      Extension Deployment from VS Code

This is one of the most important differences for developers.

In a Sandbox environment:

  • The debugging endpoint is open by default
  • You can publish extensions directly from Visual Studio Code to the environment
  • You can attach a live debugging session and step through running AL code in real time

In a Production environment:

  • Direct publishing from VS Code is not allowed
  • You cannot attach a live debugging session
  • The only debugging option available is Snapshot Debugging, where you record a session snapshot and analyze it offline afterward

This means sandbox is the environment for active development and debugging, while production requires extensions to be properly packaged and deployed through Extension Management or AppSource.

 

How to do Deployment in both Environment is Explained in Separate Article.

 

·      Preview Version Support

Environments can be updated to Preview versions of Business Central before those versions are officially released. This allows partners and customers to test upcoming features, validate customizations, and prepare for the next wave before it goes live.

Production environments cannot be placed on preview versions. They only receive officially released updates.

This makes sandboxes the correct environment for testing compatibility with upcoming BC releases before your production environment is automatically updated.

·      Sandbox-Only Features

Microsoft occasionally releases new capabilities as Sandbox-only features. These features are available in sandbox environments before they are cleared for production use. This allows customers and partners to evaluate the functionality in a safe environment without needing to be on a preview version.

Like Copilot Agents View:

·      Included Environments per Subscription

Both the Essential and Premium Subscription Types include the following Environments at no Extra Charge:

  • 1 Production environment
  • 3 Sandbox environments

·      Backup and Restore

Both Production and Sandbox environments are automatically backed up by Microsoft using Azure SQL Database automated backups. Both environment types of support point-in-time restore for up to 28 days.

The critical difference is in the restore target:

Source Environment

Can Restore To Production

Can Restore To Sandbox

Production

Yes

Yes

Sandbox

No

Yes

How to do Deployment in both Environment is Explained in Separate Article.

 

·      Database Export

Previously, only Production environments supported database export from the Admin Center. Starting with Business Central 2025 Release Wave 2, Sandbox environments also support database export. This means you can now export a sandbox database for offline analysis, data migration testing, or backup purposes the same way you could for production.

·      Partner Sandbox

The Partner Sandbox is a special type of sandbox designed specifically for Microsoft partners. It is not a production environment and cannot be used as one.

Partners can purchase the Dynamics 365 Business Central Partner Sandbox license through Microsoft, provided they have a valid Microsoft Partner Network (MPN) ID. The minimum purchase is 5 users per tenant. The Partner Sandbox gives access to Business Central Premium functionality and is intended for:

  • Learning and training
  • Development and testing
  • End-to-end customer demonstrations
  • Solution building and validation

Partners can also access Early Access Preview (Next Major) Environments through the Partner Sandbox, allowing them to see the next major version of Business Central before it is released to customers.

 

·      Environment Transfers Between Tenants

Both Production and Sandbox environments support transfer between Microsoft Entra tenants (formerly Azure Active Directory tenants). This is useful in scenarios such as:

  • A partner handing over an Environment to a Customer Tenant after Implementation.
  • Consolidating Environments across Tenants after a Company Merger or Restructuring.

This feature applies equally to both environment types.

·      Quick Comparison Table

Feature

Production

Sandbox

Intended use

Live business operations

Testing, development, demos

Azure performance tier

High (dedicated)

Standard (shared)

VS Code direct publish

Not allowed

Allowed

Live AL debugging

Not allowed

Allowed

Snapshot Debugging

Allowed

Allowed

Preview versions

Not allowed

Allowed

Sandbox-only features

Not available

Available

Included per subscription

1

3

Backup retention

28 days

28 days

Restore to Production

Yes

No

Restore to Sandbox

Yes

Yes

Database export

Yes

Yes (from BC25 Wave 2)

Tenant transfer

Yes

Yes

Can be deleted freely

No (Serious Action)

Yes

 

 

 

By Ahmad Subhani

Microsoft Certified Consultant | Chartered Management Accountant | Working At Adrem Technologies As a Business Central Functional Consultant

Leave a Reply

Your email address will not be published. Required fields are marked *