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 a202b1353f37..4d0fb3abc565 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release +* Fixed issue that property `IdentifierUri` is cleaned by `Update-AzAdApplication` [#15134] ## Version 4.1.0 * Changed `-IdentifierUris` in `New-AzADApplication` to optional parameter