< Back

Set-AzureRmADApplication

Tue Jan 29, 2019 10:06 pm

NAME Set-AzureRmADApplication



SYNOPSIS

Updates an existing azure active directory application.





SYNTAX

Set-AzureRmADApplication -ApplicationId <String> [-AvailableToOtherTenants <Boolean>] [-DefaultProfile <IAzureContextContainer>] [-DisplayName

<String>] [-HomePage <String>] [-IdentifierUris <String[]>] [-ReplyUrls <String[]>] [-Confirm] [-WhatIf] [<CommonParameters>]



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

<String>] [-IdentifierUris <String[]>] -ObjectId <String> [-ReplyUrls <String[]>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Updates an existing azure active directory application. To update the credentials associated with this application, please use

New-AzureRmADAppCredential cmdlet.





PARAMETERS

-ApplicationId <String>

The id of the application to update.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-AvailableToOtherTenants <Boolean>

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



Required? false

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>

New Display name for the application.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-HomePage <String>

New URL of the application homepage.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-IdentifierUris <String[]>

New URIs that identify the application.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ObjectId <String>

The object id of the application to update.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ReplyUrls <String[]>

New reply urls for the application.



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









Example 1



PS E:\\> Set-AzureRmADApplication -ObjectId fb7b3405-ca44-4b5b-8584-12392f5d96d7 -DisplayName "UpdatedAppName" -HomePage "http://www.microsoft.com"

-IdentifierUris "http://UpdatedApp" -AvailableToOtherTenants $false



Updates the properties of an existing azure active directory application with objectId "fb7b3405-ca44-4b5b-8584-12392f5d96d7".





Example 2



PS E:\\> Set-AzureRmADApplication -ObjectId fb7b3405-ca44-4b5b-8584-12392f5d96d7 -DisplayName "UpdatedAppName"



Updates the display name of an existing azure active directory application with objectId "fb7b3405-ca44-4b5b-8584-12392f5d96d7".







RELATED LINKS

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

Get-AzureRmADApplication

New-AzureRmADApplication

Remove-AzureRmADApplication

New-AzureRmADAppCredential

Get-AzureRmADAppCredential

Remove-AzureRmADAppCredential