From 93a5c1f5347406be6bbd9373f044e4b35dcd5950 Mon Sep 17 00:00:00 2001 From: Lucas Yao Date: Fri, 28 May 2021 14:32:11 +0800 Subject: [PATCH] [Resource] Fixed issue that property is cleaned by [#15134]. --- .../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 9e96c99e3162..992a85ccafa4 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