PPPowerAppsEnvironment¶
Parameters¶
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
DisplayName | Key | String | Display name for the PowerApps environment | |
Location | Required | String | Location of the PowerApps environment. | canada, unitedstates, europe, asia, australia, india, japan, unitedkingdom, unitedstatesfirstrelease, southamerica, france, usgov |
EnvironmentSKU | Required | String | Environment type. | Production, Standard, Trial, Sandbox |
Ensure | Write | String | Only accepted value is 'Present'. | Present, Absent |
Credential | Write | PSCredential | Credentials of the Power Platform Admin | |
ApplicationId | Write | String | Id of the Azure Active Directory application to authenticate with. | |
TenantId | Write | String | Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com | |
CertificateThumbprint | Write | String | Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication. |
PPPowerAppsEnvironment¶
This resources configures the PowerApps Environment.
Examples¶
Example 1¶
This example creates a new PowerApps environment in production.
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$credsGlobalAdmin
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost
{
PPPowerAppsEnvironment 'PowerAppsDemoEnvironment'
{
DisplayName = "My Demo Environment"
EnvironmentSKU = "Production"
Location = "canada"
Ensure = "Present"
Credential = $credsGlobalAdmin
}
}
}