Create and manage an environment

Completed

A default environment is automatically created for you when you sign up for Power Apps, Dynamics 365, or if you have a Microsoft 365 account with Microsoft. At least one environment is always designated as the default when you start to work with Microsoft Dataverse.

Cases for creating Dataverse environments

There are many reasons why you might create an environment with Dataverse in your tenant. Bear in mind that once you create an environment with Dataverse in it, you can access that Dataverse data from other environments as well. Dataverse creation with an environment reserves up to 1 GB in storage, so you should have a plan when setting up Dataverse environments.

A use case with only one instance of Dataverse for two environments could be when you have a development environment and a testing environment. In this scenario, you might want to share the same Dataverse database between the two environments. You can create two environments, one for development and one for testing. Your development environment could include a Dataverse database, while your testing environment doesn't, or vice-versa. You can develop your app in the development environment. Then once you move to the testing environment, you can connect to the same Dataverse database created with the development environment.

Another use case would be keeping production data separate from development/testing data. In this case you might create a production environment with its own Dataverse database, and you could restrict data access to the production environment. That way you could have two Dataverse environments with separate data.

The focus of this unit is how to create an environment that includes Dataverse.

Exercise

To create a new environment with Dataverse, use the following procedure:

  1. Sign in to the Power Platform admin center. The numbers in the image below correspond with the subsequent procedure steps.

    Screenshot of the Power Platform admin center with the steps 2-4 numbered to the New environment panel.

  2. Select Environments from the left-hand side rail.

  3. Select the New button from the top left side of the command bar.

  4. In the New Environment panel on the right side of your screen, you can name the new environment, select the region, choose the type, and describe the purpose. Notice the Add a Dataverse data store option. This option is only available for the sandbox or production environments, since trial and developer environments already include Dataverse.

    By making this option Yes, you add the ability to use Dataverse tables built into this environment. Since this unit is about creating and managing environments in Dataverse, we want to ensure that we're adding a Dataverse data store. If you're creating a sandbox or production environment, toggle it to Yes.

    The Pay-as-you-go with Azure toggle provides you with the option to pay for select Power Platform services such as Dataverse and Power Apps if you already have an Azure subscription. Unless you want to include this in your environment, leave it toggled to "No."

    Once you've input the required options, you can initiate the creation of your new environment by selecting Next.

  5. The Add Dataverse panel appears next with any environment pending Dataverse data store creation. This tab completes the process of initiating a new environment with Dataverse.

    • The Language and Currency options default to the region selected in the previous tab, but you can select other options.

    • You must select a Security group but more on that in the next step.

    • You have options to create a custom URL, enable Dynamics 365 apps (depending on the type selected in the New environment tab, such as type Sandbox or Production), and to deploy sample apps with data.

    You can select the back arrow at the top left of the panel to adjust your choice from the New environment tab. The following image shows the Add Dataverse tab if anything other than Developer is chosen.

    Screenshot of Add Dataverse entry tab with the Security group option highlighted.

  6. Regarding the Security group option, you must select a Security group to create the environment. With a security group designated, you restrict access to the environment to members of that security group.

    Note

    The exception to the requirement to select a security group is the Developer environment, which includes Dataverse but simplifies the options to just language and currency.

    Select the + Select button to choose a security group. Your options appear on the Edit security group panel, which appears next. You can search/scroll to find a particular group.

    Screenshot of Edit security group tab with All Employees selected.

    Notice that under "Open access" at the top, you can also opt for None, providing unrestricted access across your tenant (if you want all tenant users to be able to access this environment). Once you select a security group option, select Done to continue.

  7. With your security group selected (other than the environment type Developer), you can now select Save to create your new environment.

    Tip

    Remember, each environment requires 1GB of storage space from your Tenant and you can't create a new environment without it. If you don't have the space, you need to either purchase or create more space in your tenant. You can learn more about Dataverse storage capacity here, if required.

Congratulations, you just created a new environment including Dataverse!

Now let's say you have an environment where you would like to add Dataverse, either because you need more data storage or you want to take advantage of the Copilot features available in Dataverse environments. In the next unit, we explore how to add Dataverse to existing environments.