external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Open.AzureAD16.Graph.PowerShell.dll-Help.xml |
AzureAD |
2.0.0 |
Creates a domain.
New-AzureADDomain [-IsDefault <Boolean>] [-IsDefaultForCloudRedirections <Boolean>] -Name <String>
[-SupportedServices <System.Collections.Generic.List`1[System.String]>] [<CommonParameters>]
The New-AzureADDomain cmdlet creates a domain in Azure Active Directory (AD).
PS C:\>New-AzureADDomain -Name Contoso.com
Name AvailabilityStatus AuthenticationType
---- ------------------ ------------------
Contoso.com Managed
This command creates a new domain.
PS C:\>New-AzureADDomain -Name Contoso.com -SupportedServices @("Email", "OfficeCommunicationsOnline")
Name AvailabilityStatus AuthenticationType
---- ------------------ ------------------
Contoso.com Managed
This command creates a new domain with the specified services for this domain.
PS C:\>New-AzureADDomain -Name Contoso.com -IsDefaultForCloudRedirections
Name AvailabilityStatus AuthenticationType
---- ------------------ ------------------
Contoso.com Managed
This command creates a new domain and marks it as the default for cross cloud redirections.
PS C:\>New-AzureADDomain -Name Contoso.com -IsDefault
Name AvailabilityStatus AuthenticationType
---- ------------------ ------------------
Contoso.com Managed
This command creates a new domain and marks it as the default to be used for new user creation.
Indicates whether or not this is the default domain that is used for user creation. There is only one default domain per company.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether or not this is the default domain used for cloud redirections.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The fully qualified name of the domain.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The capabilities assigned to the domain.
Type: System.Collections.Generic.List`1[System.String]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
See the migration guide for New-AzureADDomain to the Microsoft Graph PowerShell.