New-D09Dynamics365Environment
SYNOPSIS
Create a new Dynamics 365 environment with associated security groups and optional SharePoint sites.
SYNTAX
New-D09Dynamics365Environment [-EnvironmentName] <String> [-Tasknumber] <String>
[-EnvironmentLanguage] <String> [-CreateSharePointSite] [<CommonParameters>]
DESCRIPTION
This function creates a new Dynamics 365 environment in the Power Platform, including: - Security groups for production and QA environments. - Optional SharePoint sites for the environment. - App user registrations with passwords linked to PasswordState. The function supports specifying the environment language and handles diacritic removal for environment names.
EXAMPLES
EXAMPLE 1
New-D09Dynamics365Environment -EnvironmentName "Finance" -TaskNumber 12345 -EnvironmentLanguage "English"
Creates a new Dynamics 365 environment named "Finance" with English as the language.
EXAMPLE 2
New-D09Dynamics365Environment -EnvironmentName "Sales" -TaskNumber 67890 -EnvironmentLanguage "Dutch" -CreateSharePointSite
Creates a new Dynamics 365 environment named "Sales" with Dutch as the language and associated SharePoint sites.
PARAMETERS
-EnvironmentName
The name of the Dynamics 365 environment to be created.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Tasknumber
The task number associated with the creation of the environment, used for logging purposes.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnvironmentLanguage
The language of the environment. Supported values are "English" and "Dutch".
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CreateSharePointSite
A switch to indicate whether SharePoint sites should be created for the environment.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.