< Back

New-AzureRmADApplication

Tue Jan 29, 2019 10:05 pm

NAME New-AzureRmADApplication



SYNOPSIS

Creates a new azure active directory application.





SYNTAX

New-AzureRmADApplication [-AvailableToOtherTenants <Boolean>] -CertValue <String> [-DefaultProfile <IAzureContextContainer>] -DisplayName <String>

[-EndDate <DateTime>] [-HomePage <String>] -IdentifierUris <String[]> [-ReplyUrls <String[]>] [-StartDate <DateTime>] [-Confirm] [-WhatIf]

[<CommonParameters>]



New-AzureRmADApplication [-AvailableToOtherTenants <Boolean>] [-DefaultProfile <IAzureContextContainer>] -DisplayName <String> [-EndDate

<DateTime>] [-HomePage <String>] -IdentifierUris <String[]> -Password <SecureString> [-ReplyUrls <String[]>] [-StartDate <DateTime>] [-Confirm]

[-WhatIf] [<CommonParameters>]



New-AzureRmADApplication [-AvailableToOtherTenants <Boolean>] [-DefaultProfile <IAzureContextContainer>] -DisplayName <String> [-HomePage

<String>] -IdentifierUris <String[]> -KeyCredentials <PSADKeyCredential[]> [-ReplyUrls <String[]>] [-Confirm] [-WhatIf] [<CommonParameters>]



New-AzureRmADApplication [-AvailableToOtherTenants <Boolean>] [-DefaultProfile <IAzureContextContainer>] -DisplayName <String> [-HomePage

<String>] -IdentifierUris <String[]> -PasswordCredentials <PSADPasswordCredential[]> [-ReplyUrls <String[]>] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

Creates a new azure active directory application.





PARAMETERS

-AvailableToOtherTenants <Boolean>

The value specifying whether the application is a single tenant or a multi-tenant.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-CertValue <String>

The value of the "asymmetric" credential type. It represents the base 64 encoded certificate.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DisplayName <String>

Display name of the new application.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-EndDate <DateTime>

The effective end date of the credential usage. The default end date value is one year from today. For an "asymmetric" type credential, this

must be set to on or before the date that the X509 certificate is valid.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-HomePage <String>

The URL to the application homepage.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-IdentifierUris <String[]>

The URIs that identify the application.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-KeyCredentials <PSADKeyCredential[]>

The list of certificate credentials associated with the application.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Password <SecureString>

The password to be associated with the application.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-PasswordCredentials <PSADPasswordCredential[]>

The list of password credentials associated with the application.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ReplyUrls <String[]>

The application reply urls.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-StartDate <DateTime>

The effective start date of the credential usage. The default start date value is today. For an "asymmetric" type credential, this must be

set to on or after the date that the X509 certificate is valid from.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]





Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Graph.RBAC.Version1_6.ActiveDirectory.PSADApplication







NOTES





Keywords: azure, azurerm, arm, resource, management, manager, resource, group, template, deployment



Create new AAD application.



PS C:\\> New-AzureRmADApplication -DisplayName "NewApplication" -HomePage "http://www.microsoft.com" -IdentifierUris "http://NewApplication"



Creates a new azure active directory application without any credentials.





Create new AAD application with password.



PS E:\\> $SecureStringPassword = ConvertTo-SecureString -String "password" -AsPlainText -Force

PS C:\\> New-AzureRmADApplication -DisplayName "NewApplication" -HomePage "http://www.microsoft.com" -IdentifierUris "http:

//NewApplication" -Password $SecureStringPassword



Creates a new azure active directory application and associates password credentials with it.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... pplication

Remove-AzureRmADApplication

Get-AzureRmADApplication

New-AzureRmADServicePrincipal

Get-AzureRmADAppCredential

New-AzureRmADAppCredential

Remove-AzureRmADAppCredential