You are currently viewing PowerApps create environment tutorial

PowerApps create environment tutorial

In this article, we will learn how to PowerApps create environments and how to control environment creation through PowerShell and the admin center.

PowerApps environments

  • Environments are containers that administrators use to Manage apps, flows, connections, and other assets in your Organization.
  • Environments are created under an Azure Active Directory tenant
  • An environment is a way to create and manage an instance of a Dataverse database.
  • PowerApps automatically creates a single default environment for each tenant, and this environment is shared by all users in that tenant.
  • there are 5 types of environments that you can create
    1. Default environment
    2. Developer environment
    3. Production environment
    4. Sandbox environment
    5. Trial environment

For more details about the characteristics of each environment type, please check the article ” Powerapps environments types”

How do you create a new environment in power app?

  1. log in to the Power Platform admin center.
  2. In the environment section in the left navigation, you can create new environment by clicking New.
PowerApps create environment
PowerApps create environment
  1. Provide ameaning full name for your environmnet, choose the region in which its data needs to be stored and choose the environmnet type that you want to create.
en2 | Power Platform Geeks
Power Apps environment types
  1. If you want to create environment with adtabase instance “environment with Dataverse”, enable Create a database for this environmnet and then click next

If you disable it you can create an instance of database later after creating the enironment.

en3 | Power Platform Geeks
  1. Enter the requiered field in the next page,
    1. language: default language for user interfaces in this environment
    2. If you want to create custom domain
    3. The currency that will be used in the reports
    4. If you want to include dynamic 365 apps in your environmnet enable it
    5. also If you want to seploy sample apps and data enable it

If you disable these features you can’t add them again after creating the environmnt

en4 | Power Platform Geeks
Enable sample apps and data
  1. by clicking on the Save button the powerapps will preparing your environment in a few seconds

This is how PowerApps create environments.

Who can create environments in PowerApps?

Your license determines whether you can create environments.

LicenseTrialProduction
Microsoft 365 PlansNoNo
Dynamics 365 Teams PlansNoNo
Power Apps Developer PlanNoNo
Dynamics 365 trialYes (one)No
Dynamics 365 PlansYes (one)Yes
Power Apps planYes (one)Yes
Power Apps trialYes (one)Yes
Power Virtual Agents trial planYesNo
Power Virtual Agents planNoYes

Control environment creation

How can I control who can create and manage environments in the Power Platform admin center?

Control environment creation through Power Platform admin center

  1. Sign in to the Microsoft Power Platform admin center.
  2. Select the Gear icon in the upper-right corner of the Microsoft Power Platform site.
  3. Select Power Platform settings.
Control environmnet creation
Control environment creation
  1. Select Only specific admins to control who can create production and sandbox and trial environments
en6 | Power Platform Geeks
Control environment creation

Control environment creation through PowerShell

$settings = @{ DisableEnvironmentCreationByNonAdminUsers = $true }
Set-TenantSettings $settings

Conclusion

There are four environment types that you can create from the admin center + the community plan or what we call the personnel environment. By default, the environment creation is for everyone unless the admin restricts the environment creation for only specific admins.

See Also

Heba Kamal

Microsoft MVP, MCT, Technical Speaker, Blogger, and Microsoft 365 and Power Platform Consultant.