Managing Environments

The Environments tab of the Business Central administration center provides you with an overview of the Business Central production and sandbox environments for the tenant, and you can manage updates for each environment.

Business Central Admin Center

Viewing details for an environment

In the list of environments, you can open a page with more details for an environment by choosing the link in the Name column of the list for the environment.

View details about an environment

Create a new production environment

The Business Central administration center provides an easy method for creating environments for the tenant. For example, if you have been using a production environment for training purposes, and you have decided to start using Business Central to run the business, you can delete the original production environment and then create a new production environment.

Note

Each Business Central tenant is limited to three production environments.

To create a production environment:

  1. On the Environments tab of the Business Central administration center, choose the New action on the action ribbon.
  2. In the Create Environment pane, in the Environment Type list, choose Production.
  3. In the Country list, select the country for the environment. The selected country determines the localization for the environment, as well as the Azure region in which the environment is created and stored.
  4. Select Create.

When the new production environment is created, it will be on the latest production version of Business Central.

Create a new sandbox environment

A sandbox environment is a non-production instance of Business Central. Isolated from production, a sandbox environment is the place to safely explore, learn, demo, develop, and test the service without the risk of affecting the data and settings of your production environment.

Note

Each Business Central tenant is limited to three sandbox environments.

To create a sandbox environment:

  1. On the Environments tab of the Business Central administration center, choose the New action on the action ribbon.
  2. In the Create Environment pane, specify a name for the new environment.
  3. In the Create Environment pane, in the Environment Type list, choose Sandbox.
  4. Specify if you want the sandbox environment to contain a copy of another environment. Ifyou choose this option, you must specify the environment to copy.

    Note

    When you create a sandbox environment as a copy of another environment, the new environment is created on the same application version as the environment that you are copying. The new environment will also contain all the per-tenant extensions and AppSource extensions that are installed and published in the original environment that is being copied.

  5. In the Country list, select the country for the environment. The selected country determines the localization for the environment, as well as the Azure region in which the environment is created and stored.
  6. Select the relevant application version for the new sandbox environment from the Version list.
  7. Select Create.

    Note

    The sandbox environment will not be accessible until the State shows Active.

A single, default sandbox environment can also be created from within a page in the production environment of the Business Central application. For more information, see How to: Create a Sandbox Environment.

To delete a sandbox environment, choose the environment on the Environments tab of the Business Central administration center, and then Select Delete on the action ribbon.

Precautions for sandbox environments with production data

If a sandbox is created with a copy of a production environment, a number of precautions are taken for that sandbox:

  • The job queue is automatically stopped
  • Any base application integration settings are cleared
  • Outbound HTTP calls from extensions are blocked by default and must be approved for each extension
  • Any General Data Protection Regulation (GDPR) action must be handled separately and repeated for the sandbox. There is no synchronization with the production environment after the sandbox has been created

To enable outbound HTTP calls, go to the Extension Management page in Business Central, and choose Configure. Then, on the Extension Settings page, make sure that Allow HttpClient Requests is selected. This setting must be enabled for each extension.

Selecting a version for a new sandbox environment

If you choose to create a sandbox that is not a copy of an existing environment, you must specify an application version for the new environment. The version list will show the latest production version, which is the version used for new production environments.

The version list may also have one or more preview versions. Preview versions are early release candidates of upcoming releases of Business Central that are made available specifically for sandbox environments. This gives you access to review new functionality, validate extension compatibility, and other general testing of the upcoming release.

When you create a sandbox environment on a preview version, the environment will automatically be updated to new preview versions when they become available. However, the environment will not be updated to the production version. Once a sandbox environment is on a preview version, it must stay on a preview version until it is deleted. The environment can also be deleted if an update between preview versions fails. We recommend that preview versions are used only for temporary testing of an upcoming release.

See also

Working with Administration Tools
The Business Central Administration Center
Managing Environments
Updating Environments
Managing Tenant Notifications
Introduction to automation APIs