From 4a3058627554ff63d703367dfb2250beb70ab3ba Mon Sep 17 00:00:00 2001 From: LucasYao93 <53558334+LucasYao93@users.noreply.github.com> Date: Fri, 28 May 2021 17:52:51 +0800 Subject: [PATCH] [Resource] Fixed issue that property is cleaned by [#15134]. (#15136) --- .../ActiveDirectory/Cmdlets/UpdateAzureADApplicationCommand.cs | 2 +- src/Resources/Resources/ChangeLog.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Resources/Resources/ActiveDirectory/Cmdlets/UpdateAzureADApplicationCommand.cs b/src/Resources/Resources/ActiveDirectory/Cmdlets/UpdateAzureADApplicationCommand.cs index 6781c4421391..a73241fc6c68 100644 --- a/src/Resources/Resources/ActiveDirectory/Cmdlets/UpdateAzureADApplicationCommand.cs +++ b/src/Resources/Resources/ActiveDirectory/Cmdlets/UpdateAzureADApplicationCommand.cs @@ -100,7 +100,7 @@ public override void ExecuteCmdlet() { DisplayName = DisplayName, Homepage = HomePage, - IdentifierUris = (IdentifierUri == null) ? new string[] { } : IdentifierUri, + IdentifierUris = IdentifierUri, ReplyUrls = ReplyUrl, AvailableToOtherTenants = this.IsParameterBound(c => c.AvailableToOtherTenants) ? AvailableToOtherTenants : (bool?)null }; diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 32a928596d7d..197ebd971ddc 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,6 +20,7 @@ ## Upcoming Release * Allow naming the deployment when testing deployments [#11497] +* Fixed issue that property `IdentifierUri` is cleaned by `Update-AzAdApplication` [#15134] ## Version 4.1.0 * Changed `-IdentifierUris` in `New-AzADApplication` to optional parameter