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