New-​Azure​Rm​AD​Application

Creates a new azure active directory application.

Syntax

New-AzureRmADApplication
   -DisplayName <String>
   -IdentifierUris <String[]>
   [-HomePage <String>]
   [-ReplyUrls <String[]>]
   [-AvailableToOtherTenants <Boolean>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-WhatIf]
   [-Confirm]
   -Password <String>
   [-StartDate <DateTime>]
   [-EndDate <DateTime>]
New-AzureRmADApplication
   -DisplayName <String>
   -IdentifierUris <String[]>
   [-HomePage <String>]
   [-ReplyUrls <String[]>]
   [-AvailableToOtherTenants <Boolean>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-WhatIf]
   [-Confirm]
   [-StartDate <DateTime>]
   [-EndDate <DateTime>]
   -CertValue <String>
New-AzureRmADApplication
   -DisplayName <String>
   -IdentifierUris <String[]>
   [-HomePage <String>]
   [-ReplyUrls <String[]>]
   [-AvailableToOtherTenants <Boolean>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-WhatIf]
   [-Confirm]
   -PasswordCredentials <PSADPasswordCredential[]>
New-AzureRmADApplication
   -DisplayName <String>
   -IdentifierUris <String[]>
   [-HomePage <String>]
   [-ReplyUrls <String[]>]
   [-AvailableToOtherTenants <Boolean>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-WhatIf]
   [-Confirm]
   -KeyCredentials <PSADKeyCredential[]>

Description

Creates a new azure active directory application.

Examples

-------------------------- Create new AAD application. --------------------------

@{paragraph=PS C:\>}

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. --------------------------

@{paragraph=PS C:\>}

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

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

Required Parameters

-CertValue

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

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DisplayName

Display name of the new application.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-IdentifierUris

The URIs that identify the application.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-KeyCredentials

The list of certificate credentials associated with the application.

Type:PSADKeyCredential[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Password

The password to be associated with the application.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PasswordCredentials

The list of password credentials associated with the application.

Type:PSADPasswordCredential[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AvailableToOtherTenants

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

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EndDate

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.

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-HomePage

The URL to the application homepage.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReplyUrls

The application reply urls.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-StartDate

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.

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WhatIf
Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Notes

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