New-AdminPowerAppCdsDatabase

Creates a Microsoft Dataverse with Dynamics 365 apps enabled database for the specified environment.

Syntax

New-AdminPowerAppCdsDatabase
   [-EnvironmentName] <String>
   [-CurrencyName] <String>
   [-LanguageName] <String>
   [[-WaitUntilFinished] <Boolean>]
   [[-Templates] <String[]>]
   [[-SecurityGroupId] <String>]
   [[-DomainName] <String>]
   [[-ApiVersion] <String>]
   [<CommonParameters>]

Description

The New-AdminPowerAppCdsDatabase cmdlet creates a Dataverse with Dynamics 365 apps enabled database for the specified environment with the specified default language and currency. Use Get-Help New-AdminPowerAppCdsDatabase -Examples for more detail.

Examples

EXAMPLE 1

New-AdminPowerAppCdsDatabase -EnvironmentName 8d996ece-8558-4c4e-b459-a51b3beafdb4 -CurrencyName USD -LanguageName 1033

Creates a database with the US dollar currency and US English language.

Parameters

-ApiVersion

The api version to call with.

Type:String
Position:8
Default value:2018-01-01
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-CurrencyName

The default currency for the database, use Get-AdminPowerAppCdsDatabaseCurrencies to get the supported values.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DomainName

The domain name.

Type:String
Position:7
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

The environment ID.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-LanguageName

The default languages for the database, use Get-AdminPowerAppCdsDatabaseLanguages to get the support values.

Type:String
Position:3
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-SecurityGroupId

The Microsoft Entra ID security group object identifier to which to restrict database membership.

Type:String
Position:6
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Templates

The list of templates that are used for provisioning. If not provided, then an empty Dataverse database is created.

Type:String[]
Position:5
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WaitUntilFinished

Default is true. If set to true, then the cmdlet doesn't return a value until provisioning of the database is complete (as either a success or failure).

Type:Boolean
Position:4
Default value:True
Required:False
Accept pipeline input:False
Accept wildcard characters:False