Skip to content

Releases: Azure/azure-powershell

Az.Accounts 2.6.0

22 Oct 13:34
Compare
Choose a tag to compare

https://www.powershellgallery.com/packages/Az.Accounts/2.6.0

Az.Accounts 2.6.0

  • Added -FederatedToken on Connect-AzAccount
  • Updated Azure.Core from 1.19.0 to 1.20.0.

Az.Storage v3.12.1-preview

15 Oct 11:54
db2deab
Compare
Choose a tag to compare
Pre-release

https://www.powershellgallery.com/packages/Az.Storage/3.12.1-preview

Version 3.12.1-preview

  • Supported create storage account with enable account level immutability with versioning, and create/udpate storage account with account level immutability policy.
    • New-AzStorageAccount
    • Set-AzStorageAccount

Az v6.5.0

08 Oct 11:59
a726d72
Compare
Choose a tag to compare

Gallery Module for Azure PowerShell : https://www.powershellgallery.com/packages/Az/6.5.0

To install Az from the PowerShell Gallery, run the following command:

Install-Module -Name Az -Repository PSGallery -Force

To update from an older version of Az, run the following command:

Update-Module -Name Az

Docker images

  • mcr.microsoft.com/azure-powershell:latest
  • mcr.microsoft.com/azure-powershell:ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:6.5.0-ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:debian-9
  • mcr.microsoft.com/azure-powershell:6.5.0-debian-9
  • mcr.microsoft.com/azure-powershell:centos-7
  • mcr.microsoft.com/azure-powershell:6.5.0-centos-7
  • mcr.microsoft.com/azure-powershell:alpine-3.10
  • mcr.microsoft.com/azure-powershell:6.5.0-alpine-3.10

6.5.0 - October 2021

Az.Accounts

  • Supported getting the access token for Microsoft Graph.
  • Added AuthorizeRequestDelegate to allow service module to adjust token audience.
  • Utilized AssemblyLoadContext to resolve assembly conflict issues in PowerShell.
  • Updated Azure.Core from 1.16.0 to 1.19.0.

Az.Attestation

  • General availability of 'Az.Attestation' module

Az.Cdn

  • Fixed null reference exception and typos in 'New-AzFrontDoorCdnRule' cmdlet

Az.Compute

  • Updated Compute .NET SDK package reference to version 49.1.0
  • Fixed a bug in 'Get-AzVM' that caused incorrect power status output.

Az.DataFactory

  • Added a DataFlowEnableQuickReuse argument for the 'Set-AzDataFactoryV2IntegrationRuntime' cmdlet to enable quick reuse of clusters in next pipeline activities.
  • Updated ADF .Net SDK version to 4.25.0
  • Added a VNetInjectionMethod argument for the 'Set-AzDataFactoryV2IntegrationRuntime' cmdlet to support the express virtual network injection of Azure-SSIS Integration Runtime.

Az.FrontDoor

  • Allowed rule engine action creation without RouteConfigurationOverride for 'New-AzFrontDoorRulesEngineActionObject'.
  • Fixed DynamicCompression parameter being ignored issue of 'New-AzFrontDoorRulesEngineActionObject'.

Az.KeyVault

  • Supported custom role definitions on managed HSM:
    • Create via 'New-AzKeyVaultRoleDefinition',
    • Delete via 'Remove-AzKeyVaultRoleDefinition',
    • Filter all custom roles via 'Get-AzKeyVaultRoleDefinition -Custom'.
  • Supported Encrypt/Decrypt/Wrap/Unwrap using keys [#15679]
  • Enabled managing resources in other subscriptions without switching the context by adding '-Subscription '.

Az.Maintenance

  • Added Guest patch maintenance support.

Az.Network

  • Support for Sku, ScaleUnits parameters of BastionHost resource.
    • 'New-AzBastion'
    • 'Set-AzBastion'
  • Onboard Azure Resource Manager to Private Link Common Cmdlets
  • Updated cmdlets to add properties to enable/disable BgpRouteTranslationForNat for VpnGateway.
    • 'New-AzVpnGateway'
    • 'Update-AzVpnGateway'
  • Updated cmdlet to add property to disable InternetSecurity for P2SVpnGateway.
    • 'New-AzP2sVpnGateway'
  • Added new cmdlets for HubBgpConnection child resource of VirtualHub.
    • 'Get-AzVirtualHubBgpConnection'
    • 'New-AzVirtualHubBgpConnection'
    • 'Update-AzVirtualHubBgpConnection'
    • 'Remove-AzVirtualHubBgpConnection'
  • Onboard Azure HDInsight to Private Link Common Cmdlets

Az.RecoveryServices

  • Azure Site Recovery bug fixes for VMware to Azure Reprotect, Update policy and Disable scenarios.
  • Azure Backup added the support for UserAssigned MSI in RecoveryServices Vault.

Az.Resources

  • Added a clearer error message for a case in which TemplateUri do not accept bicep file.
  • Fixed typos with ManagementGroups breaking change descriptions [#15819].
  • Fixed resource tags casing issue - resource tags casing not being preserved.
  • Updated to Microsoft.Azure.Management.Authorization 2.13.0-preview.

Az.Sql

  • Fixed 'Get-AzSqlDatabaseImportExportStatus' to report the error encountered

Az.Storage

  • Upgraded Azure.Storage.Blobs to 12.10.0
  • Upgraded Azure.Storage.Files.Shares to 12.8.0
  • Upgraded Azure.Storage.Files.DataLake to 12.8.0
  • Upgraded Azure.Storage.Queues to 12.8.0
  • Supported upgrade storage account to enable HierarchicalNamespace
    • 'Invoke-AzStorageAccountHierarchicalNamespaceUpgrade'
    • 'Stop-AzStorageAccountHierarchicalNamespaceUpgrade'
  • Supported AccessTierInferred, Tags in blob inventory policy schema
    • 'New-AzStorageBlobInventoryPolicyRule'
  • Supported create/update storage account with PublicNetworkAccess enabled/disabled
    • 'New-AzStorageAccount'
    • 'Set-AzStorageAccount'
  • Supported create/update storage blob container with RootSquash
    • 'New-AzRmStorageContainer'
    • 'Update-AzRmStorageContainer'
  • Supported AllowProtectedAppendWriteAll in set container Immutability Policy, and add container LegalHold
    • 'Set-AzRmStorageContainerImmutabilityPolicy'
    • 'Add-AzRmStorageContainerLegalHold'

Az.StorageSync

  • Fixed a bug where not all properties of PSSyncSessionStatus and PSSyncActivityStatus objects were being populated properly.
  • This affected the 'Get-AzStorageSyncServerEndpoint' cmdlet when trying to access the following properties of the output:
    • SyncStatus.UploadStatus
    • SyncStatus.DownloadStatus
    • SyncStatus.UploadActivity
    • SyncStatus.DownloadActivity

Az.Websites

  • Updated 'Import-AzWebAppKeyVaultCertificate1' to set the default name with combination of keyvault name and cert name

Module under preview (the following modules mut be installed separately):

  • Az.Elastic 0.1.0
  • Az.Synapse 0.17.0
  • Az.VMware 0.3.0

Thanks to our community contributors

SHA256 Hashes of the release artifacts

  • Az-Cmdlets-6.5.0.34802.tar.gz
    • 2D2D99481E68E4AFDD7CB55F778064CDB7C4DCE9AAD0584DF4C3BA060F599886

Az v6.4.0

03 Sep 13:05
e30fe63
Compare
Choose a tag to compare

Gallery Module for Azure PowerShell : https://www.powershellgallery.com/packages/Az/6.4.0

To install Az from the PowerShell Gallery, run the following command:

Install-Module -Name Az -Repository PSGallery -Force

To update from an older version of Az, run the following command:

Update-Module -Name Az

Docker images

  • mcr.microsoft.com/azure-powershell:latest
  • mcr.microsoft.com/azure-powershell:ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:6.4.0-ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:debian-9
  • mcr.microsoft.com/azure-powershell:6.4.0-debian-9
  • mcr.microsoft.com/azure-powershell:centos-7
  • mcr.microsoft.com/azure-powershell:6.4.0-centos-7
  • mcr.microsoft.com/azure-powershell:alpine-3.10
  • mcr.microsoft.com/azure-powershell:6.4.0-alpine-3.10

6.4.0 - September 2021

Az.Accounts

  • Corrected the URLs to Azure Portal in the results of 'Get-AzEnvironment' and 'Get-AzContext'. [#15429]
  • Made infrastructural changes to support overriding default subscription via a '-SubscriptionId ' parameter.
    • Az.Aks is the first module that supports it.

Az.Aks

  • Made '-Subscription ' available in all Aks cmdlets. You can manage Aks resources in other subscriptions without switching the context.

Az.ApiManagement

  • Added new 'Sync-AzApiManagementKeyVaultSecret' cmdlet.
  • Added new 'New-AzApiManagementKeyVaultObject' cmdlet.
  • Added new optional [-useFromLocation] parameter to the 'Get-ApiManagementCache' 'New-ApiManagementCache''Update-ApiManagementCache' cmdlet.
  • Updated cmdlet New-AzApiManagement to manage ApiManagement service
    • Added support for the new 'Isolated' SKU
    • Added support for managing Availability Zones using 'Zone' property
    • Added support for Disabling Gateway in a Region using 'DisableGateway' property
    • Added support for managing the minimum Api Version to allow for Control Plane using 'MinimalControlPlaneApiVersion' property.
  • Updated cmdlet New-AzApiManagementRegion to manage ApiManagement service
    • Added support for managing Availability Zones using 'Zone' property
    • Added support for Disabling Gateway in a Region using 'DisableGateway' property
  • Updated cmdlet Add-AzApiManagementRegion to manage ApiManagement service
    • Added support for managing Availability Zones using 'Zone' property
    • Added support for Disabling Gateway in a Region using 'DisableGateway' property
  • Updated cmdlet Update-AzApiManagementRegion to manage ApiManagement service
    • Added support for managing Availability Zones using 'Zone' property
    • Added support for Disabling Gateway in a Region using 'DisableGateway' property
  • Updated cmdlet New-AzApiManagementCustomHostnameConfiguration to manage Custom Hostname Configuration
    • Added support for specifying 'IdentityClientId' to provide Managed Identity User Assigned ClientId to use with KeyVault

Az.Automation

  • Fixed bug: Closing in input file handle in Import-AzAutomationRunbook

Az.Cdn

  • Fixed mandatory parameters issue in 'Get-AzCdnEndpointResourceUsage' cmdlet

Az.Compute

  • Added new parameters '-LinuxConfigurationPatchMode', '-WindowsConfigurationPatchMode', and '-LinuxConfigurationProvisionVMAgent' to 'Set-AzVmssOSProfile'
  • Added new parameters '-SshKeyName' and '-GenerateSshKey' to 'New-AzVM' to create a VM with SSH
  • Fixed a bug in 'Add-AzVHD' on Linux that caused uploads to fail for certain destination URI
  • Added new cmdlets for Restore Points and Restore Point Collection:
    • 'New-AzRestorePoint'
    • 'New-AzRestorePointCollection'
    • 'Get-AzRestorePoint'
    • 'Get-AzRestorePointCollection'
    • 'Update-AzRestorePointCollection'
    • 'Remove-AzRestorePoint'
    • 'Remove-AzRestorePointCollection'
  • Added new parameters '-EnableSpotRestore' and '-SpotRestoreTimeout' to 'New-AzVMSSConfig' to enable Spot Restore Policy
  • Added new cmdlets: 'Update-AzCapacityReservationGroup' and 'Update-AzCapacityReservation'

Az.CosmosDB

  • Fixed a bug where the restore of deleted database accounts fail.

Az.DataFactory

  • Added a subnetId argument for the 'Set-AzDataFactoryV2IntegrationRuntime' cmdlet to support RBAC checking for VNet injection against the subnet resource ID instead of the VNet resource ID.
  • Added the 'Get-AzDataFactoryV2IntegrationRuntimeOutboundNetworkDependenciesEndpoint' cmdlet to provide a list of outbound network dependencies for SSIS integration runtime in Azure Data Factory that joins a virtual network.
  • Added PublicNetworkAccess to Data Factory.
  • Updated ADF .Net SDK version to 4.23.0

Az.KeyVault

  • Supported adding EC keys in key vault [#15699]

Az.Migrate

  • Supported duplicate disk UUID in source disk.
  • Supported subnets in same VNet for AVSet.
  • Supported runAsAccount fetching for multiple Vcenters in same site.

Az.Network

  • Updated cmdlet to add 'Subnet' property for IP based load balancer backend address pool.
    • 'New-AzLoadBalancerBackendAddressConfig'
  • Updated cmdlet to add 'TunnelInterface' property for backend pool related operations.
    • 'New-AzLoadBalancerBackendAddressPool'
    • 'Set-AzLoadBalancerBackendAddressPool'

Az.RecoveryServices

  • Azure Site Recovery multi appliance support for VMware to Azure disaster recovery scenarios using RCM as the control plane.
  • Azure Backup fixed targetPhysicalPath issue with SQL CRR
  • Azure Backup fixed disable protection for SQL workload
  • Azure Backup resolved bug in setting CMK properties in latest release
  • Azure Backup removed special characters from register-azrecoveryservicesbackupcontainer command help text

Az.Resources

  • Use JsonExtensions to serialize deserialize JSON objects to ensure the use of custom serialization settings [#15552]
  • Added support for 'Unsupported' and 'NoEffect' change types to deployment What-If cmdlets.

Az.SecurityInsights

  • Updated to 'Get-AzSentinelIncident' parameters
    • Added '-Filter' to support OData filter
    • Added '-OrderBy' to support OData ordering
    • Added '-Max' to support retrieving more than the default of 1000 incidents.

Az.Sql

  • Changed the underlying implementation of 'Get-AzSqlDatabase' to support a paginated response from the server
  • Added 'ZoneRedundant' parameter to 'New-AzSqlInstance' and 'Set-AzSqlInstance' to enable the creation and the update of zone - redundant instances.
  • Added ZoneRedundant field to the model of the managed instance so that it displays information about zone - redundancy for instance that are returned by 'Get-AzSqlInstance'.
  • Extended AuditActionGroups enum in server & database audit. Added DBCC_GROUP, DATABASE_OWNERSHIP_CHANGE_GROUP and DATABASE_CHANGE_GROUP.
  • Added 'AsJob' flag to 'Remove-AzSqlInstance'
  • Added 'SubnetId' parameter to 'Set-AzSqlInstance' to support the cross-subnet update SLO
  • Upgraded to newest SDK version

Az.Storage

  • Supported get/set blob tags on a specific blob
    • 'Get-AzStorageBlobTag'
    • 'Set-AzStorageBlobTag'
  • Supported create destination blob with specific blob tags while upload/copy Blob
    • 'Set-AzStorageBlobContent'
    • 'Start-AzStorageBlobCopy'
  • Supported list blobs across containers with a blob tag filter sql expression
    • 'Get-AzStorageBlobByTag'
  • Supported list blobs inside a container and include Blob Tags
    • 'Get-AzStorageBlob'
  • Supported run blob operation with blob tag condition, and fail the cmdlet when blob tag condition not match
    • 'Get-AzStorageBlob'
    • 'Get-AzStorageBlobContent'
    • 'Get-AzStorageBlobTag'
    • 'Remove-AzStorageBlob'
    • 'Set-AzStorageBlobContent'
    • 'Set-AzStorageBlobTag'
    • 'Start-AzStorageBlobCopy'
    • 'Stop-AzStorageBlobCopy'
  • Generate blob sas token with new API version
    • 'New-AzStorageBlobSASToken'
    • 'New-AzStorageContainerSASToken'
    • 'New-AzStorageAccountSASToken'
  • Fixed blob copy failure with OAuth credential when client and server has time difference [#15644]
    • 'Copy-AzStorageBlob'
  • Fixed remove Data Lake Gen2 item fail with readonly SAS token
    • 'Remove-AzDataLakeGen2Item'
  • Revised destination existing check in move Data Lake Gen2 item
    • 'Move-AzDataLakeGen2Item'

Az.StorageSync

  • Added parameter sets to 'Invoke-AzStorageSyncChangeDetection'
    • Can call the cmdlet without -DirectoryPath and -Path parameters to trigger change detection on an entire file share
  • Added support for authoritative upload as part of New-AzStorageSyncServerEndpoint.
  • Added cloud change enumeration status information in Cloud Endpoint object.
  • Updated Server Endpoint object with various health properties
  • Added 'ServerName' property in Server Endpoint and Registered Server objects to support showing the current FQDN of a server.

Az.Websites

  • Fixed 'Set-AzWebApp' to return a valid warning message when fails to add -Hostname #9316
  • Fixed 'Get-AzWebApp' to return CustomDomainVerificationId in the response. #9316

Module under preview (the following modules mut be installed separately):
• Az.BotService 0.3.1
• Az.Confluent 0.2.0
• Az.DataBox 0.2.0
• Az.DataProtection 0.3.0
• Az.PostgreSql 0.7.0
• Az.ProviderHub 0.2.0
• Az.Purview 0.1.0
• Az.Synapse 0.15.0

Thanks to our community contributors

Read more

Az.CosmosDB v1.3.1

27 Aug 07:41
Compare
Choose a tag to compare

Az.Storage v3.10.1-preview

11 Aug 01:18
f07cd19
Compare
Choose a tag to compare

Az.RecoveryServices v4.5.0

09 Aug 13:37
Compare
Choose a tag to compare

Az v6.3.0

30 Jul 09:59
6f548b8
Compare
Choose a tag to compare

Gallery Module for Azure PowerShell : https://www.powershellgallery.com/packages/Az/6.3.0

To install Az from the PowerShell Gallery, run the following command:

Install-Module -Name Az -Repository PSGallery -Force

To update from an older version of Az, run the following command:

Update-Module -Name Az

Docker images

  • mcr.microsoft.com/azure-powershell:latest
  • mcr.microsoft.com/azure-powershell:ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:6.3.0-ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:debian-9
  • mcr.microsoft.com/azure-powershell:6.3.0-debian-9
  • mcr.microsoft.com/azure-powershell:centos-7
  • mcr.microsoft.com/azure-powershell:6.3.0-centos-7
  • mcr.microsoft.com/azure-powershell:alpine-3.10
  • mcr.microsoft.com/azure-powershell:6.3.0-alpine-3.10

6.3.0 - August 2021

Az.Accounts

  • Disabled context auto saving when token cache persistence fails on Windows and macOS
  • Added PowerShell version into telemetry record
  • Upgraded Microsoft.ApplicationInsights from 2.4.0 to 2.12.0
  • Updated Azure.Core to 1.16.0

Az.Aks

  • Added 'Start-AzAksCluster', 'Stop-AzAksCluster', 'Get-AzAksUpgradeProfile' and 'Get-AzAksNodePoolUpgradeProfile'. [#14194]
  • Added property 'IdentityProfile' in the output of 'Get-AzAksCluster'. [#12546]

Az.CognitiveServices

  • [Breaking Change] Changed type of PSCognitiveServicesAccount.Identity.Type from IdentityType to ResourceIdentityType.
  • [Breaking Change] Changed type of PSCognitiveServicesAccount.Sku.Tier from SkuTier to string.
  • [Breaking Change] Removed ActionRequired from PrivateLinkServiceConnectionState.
  • Updated PowerShell to use 2021-04-30 version.
  • Added 'Undo-AzCognitiveServicesAccountRemoval' cmdlet.
  • Added parameters '-RestrictOutboundNetworkAccess', '-AllowedFqdnList', '-DisableLocalAuth', '-KeyVaultIdentityClientId', '-IdentityType', '-UserAssignedIdentityId' to 'New-AzureCognitiveServicesAccount' and 'Set-AzureCognitiveServicesAccount'.
  • Added parameters '-InRemovedState', '-Location' to 'Remove-AzureCognitiveServicesAccount' and 'Get-AzureCognitiveServicesAccount'.

Az.Compute

  • Fixed the warning in 'New-AzVM' cmdlet stating the sku of the VM is being defaulted even if a sku size is provided by the user. Now it only occurs when the user does not provide a sku size.
  • Edited 'Set-AzVmOperatingSystem' cmdlet to no longer overwrite any existing EnableAutomaticUpdates value on the passed in virtual machine if it exists.
  • Updated Compute module to use the latest .Net SDK version 48.0.0.
  • Added new cmdlets for the Capacity Reservation Feature:
    • 'New-AzCapacityReservationGroup'
    • 'Remove-AzCapacityReservationGroup'
    • 'Get-AzCapacityReservationGroup'
    • 'New-AzCapacityReservation'
    • 'Remove-AzCapacityReservation'
    • 'Get-AzCapacityReservation'
  • Added a new parameter '-CapacityReservationGroupId' to the following cmdlets:
    • 'New-AzVm'
    • 'New-AzVmConfig'
    • 'New-AzVmss'
    • 'New-AzVmssConfig'
    • 'Update-AzVm'
    • 'Update-AzVmss'

Az.DataFactory

  • Updated ADF .Net SDK version to 4.21.0

Az.Migrate

  • Added SQL Server license type.
  • Added CRN feature.
  • Added resource tags feature.
  • Updated to 2021-02-10 api version.

Az.Monitor

  • Added parameter 'ResourceGroupName' back for 'Add-AzAutoscaleSetting' parameter set 'AddAzureRmAutoscaleSettingUpdateParamGroup' and made it optional [#15491]

Az.RecoveryServices

  • Added Archive for V1 vaults.
  • Added ProtectedItemsCount in Get-AzRecoveryServicesBackupProtectionPolicy.
  • Azure site recovery bug fix for azure to azure in update vm properties.

Az.RedisCache

  • Added 'RedisVersion' parameter in 'New-AzRedisCache' and 'Set-AzRedisCache'

Az.Resources

  • Fixed bug with 'PSResource' where some constructors left 'SubscriptionId' property unassigned/null. [#10783]
  • Added support for creating and updating Template Spec in Bicep file [#15313]
  • Added '-ProceedIfNoChange' parameter to deployment create cmdlets.

Az.ServiceFabric

  • Fixed Managed and Classic Application models (Application, Cluster, Service) by updating constructor to take all new properties
    • This solves piping related issues where piping the results directly from a Get cmdlet call into and Update or Set call remove some intentionally set properties
    • Updated appropriate test files to cover the above mentioned cases

Az.Sql

  • Fixed identity logic in 'Set-AzSqlServer' and 'Set-AzSqlInstance'

Az.Storage

  • Supported Blob Last Access Time
    • 'Enable-AzStorageBlobLastAccessTimeTracking'
    • 'Disable-AzStorageBlobLastAccessTimeTracking'
    • 'Add-AzStorageAccountManagementPolicyAction'
  • Made 'Get-AzDataLakeGen2ChildItem' list all datalake gen2 items by default, instead of needing user to list chunk by chunk.
  • Fixed BlobProperties is empty issue when using sas without prefix '?' [#15460]
  • Fixed synchronously copy small blob failure [#15548]
    • 'Copy-AzStorageBlob'

Az.Websites

  • Fixed 'Add-AzWebAppAccessRestrictionRule' failing when users does not have permissions to get Service Tag list #15316 and #14862

Thanks to our community contributors

deprecated-generation

26 Jul 07:39
7f66cc2
Compare
Choose a tag to compare

Create this tag to keep a record for those old generated modules created by US team.

Az.CloudService v0.4.0

22 Jul 09:16
eeae147
Compare
Choose a tag to compare
Pre-release

https://www.powershellgallery.com/packages/Az.CloudService/0.4.0

Version 0.4.0

  • Introduced 2 additional parameter sets for New-AzCloudService.