From 21b96a5866424f416043f50b8d1522652763cd42 Mon Sep 17 00:00:00 2001 From: Dingmeng Xue Date: Mon, 31 May 2021 11:34:14 +0800 Subject: [PATCH] Release Az.Resources 4.1.1 (#15149) * [Resource] Fixed issue that property is cleaned by [#15134]. (#15136) * Az.Resources 4.1.1 release * Update version of Az.Accounts in psd1 Co-authored-by: LucasYao93 <53558334+LucasYao93@users.noreply.github.com> --- .../ResourceManager/Properties/AssemblyInfo.cs | 4 ++-- .../Cmdlets/UpdateAzureADApplicationCommand.cs | 2 +- src/Resources/Resources/Az.Resources.psd1 | 13 ++++--------- src/Resources/Resources/ChangeLog.md | 3 +++ src/Resources/Resources/Properties/AssemblyInfo.cs | 4 ++-- src/Resources/Tags/Properties/AssemblyInfo.cs | 4 ++-- tools/Az/Az.psd1 | 2 +- 7 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/Resources/ResourceManager/Properties/AssemblyInfo.cs b/src/Resources/ResourceManager/Properties/AssemblyInfo.cs index 030635e3c8d8..409a46a5b097 100644 --- a/src/Resources/ResourceManager/Properties/AssemblyInfo.cs +++ b/src/Resources/ResourceManager/Properties/AssemblyInfo.cs @@ -25,8 +25,8 @@ [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] [assembly: Guid("e8f34267-c461-4eae-b156-5f3528553d10")] -[assembly: AssemblyVersion("4.1.0")] -[assembly: AssemblyFileVersion("4.1.0")] +[assembly: AssemblyVersion("4.1.1")] +[assembly: AssemblyFileVersion("4.1.1")] #if !SIGN [assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Resources.Test")] [assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.MachineLearning.Test")] 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/Az.Resources.psd1 b/src/Resources/Resources/Az.Resources.psd1 index 5f736203f2cc..1e4d14950662 100644 --- a/src/Resources/Resources/Az.Resources.psd1 +++ b/src/Resources/Resources/Az.Resources.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 5/20/2021 +# Generated on: 5/28/2021 # @{ @@ -12,7 +12,7 @@ # RootModule = '' # Version number of this module. -ModuleVersion = '4.1.0' +ModuleVersion = '4.1.1' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' @@ -54,7 +54,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.8'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.3.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'Microsoft.Azure.Management.Authorization.dll', @@ -197,12 +197,7 @@ PrivateData = @{ # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = '* Changed ''-IdentifierUris'' in ''New-AzADApplication'' to optional parameter -* Removed generated ''DisplayName'' of ADApplication created by ''New-AzADServicePrincipal'' -* Updated SDK to 3.13.1-preview to use GA TemplateSpecs API version -* Added ''AdditionalProperties'' to PSADUser and PSADGroup [#14568] -* Supported ''CustomKeyIdentifier'' in ''New-AzADAppCredential'' and ''Get-AzADAppCredential'' [#11457], [#13723] -* Changed ''MainTemplate'' to be shown by the default formatter for Template Spec Versions' + ReleaseNotes = '* Fixed issue that property ''IdentifierUri'' is cleaned by ''Update-AzAdApplication'' [#15134]' # Prerelease string of this module # Prerelease = '' diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index a202b1353f37..8d69e32e7c9d 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,6 +20,9 @@ ## Upcoming Release +## Version 4.1.1 +* Fixed issue that property `IdentifierUri` is cleaned by `Update-AzAdApplication` [#15134] + ## Version 4.1.0 * Changed `-IdentifierUris` in `New-AzADApplication` to optional parameter * Removed generated `DisplayName` of ADApplication created by `New-AzADServicePrincipal` diff --git a/src/Resources/Resources/Properties/AssemblyInfo.cs b/src/Resources/Resources/Properties/AssemblyInfo.cs index 27368138e244..a7890a45eb35 100644 --- a/src/Resources/Resources/Properties/AssemblyInfo.cs +++ b/src/Resources/Resources/Properties/AssemblyInfo.cs @@ -25,8 +25,8 @@ [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] [assembly: Guid("e386b843-f3f0-4db3-8664-37d16b860dde")] -[assembly: AssemblyVersion("4.1.0")] -[assembly: AssemblyFileVersion("4.1.0")] +[assembly: AssemblyVersion("4.1.1")] +[assembly: AssemblyFileVersion("4.1.1")] #if !SIGN [assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Resources.Test")] #endif diff --git a/src/Resources/Tags/Properties/AssemblyInfo.cs b/src/Resources/Tags/Properties/AssemblyInfo.cs index 3fba757811f4..abac66e6bddd 100644 --- a/src/Resources/Tags/Properties/AssemblyInfo.cs +++ b/src/Resources/Tags/Properties/AssemblyInfo.cs @@ -25,8 +25,8 @@ [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] [assembly: Guid("e386b843-f3f0-4db3-8664-37d16b860dde")] -[assembly: AssemblyVersion("4.1.0")] -[assembly: AssemblyFileVersion("4.1.0")] +[assembly: AssemblyVersion("4.1.1")] +[assembly: AssemblyFileVersion("4.1.1")] #if !SIGN [assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Resources.Test")] #endif diff --git a/tools/Az/Az.psd1 b/tools/Az/Az.psd1 index 472d32c6056f..a665c5b8c65b 100644 --- a/tools/Az/Az.psd1 +++ b/tools/Az/Az.psd1 @@ -106,7 +106,7 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.3.0'; }, @{ModuleName = 'Az.RedisEnterpriseCache'; RequiredVersion = '1.0.0'; }, @{ModuleName = 'Az.Relay'; RequiredVersion = '1.0.3'; }, @{ModuleName = 'Az.ResourceMover'; RequiredVersion = '1.0.0'; }, - @{ModuleName = 'Az.Resources'; RequiredVersion = '4.1.0'; }, + @{ModuleName = 'Az.Resources'; RequiredVersion = '4.1.1'; }, @{ModuleName = 'Az.SecurityInsights'; RequiredVersion = '1.0.0'; }, @{ModuleName = 'Az.ServiceBus'; RequiredVersion = '1.5.0'; }, @{ModuleName = 'Az.ServiceFabric'; RequiredVersion = '3.0.0'; },