Skip to content

Releases: Azure/azure-powershell

Az.Resources 4.1.1

31 May 03:50
136d623
Compare
Choose a tag to compare

https://www.powershellgallery.com/packages/Az.Resources/4.1.1

Version 4.1.1

  • Fixed issue that property IdentifierUri is cleaned by Update-AzAdApplication [#15134]

AzureStack-v1.8.3

03 Jun 07:16
0b8172d
Compare
Choose a tag to compare
  • AzureRM Compatible AzureStack operator module. Bug fix for taking >= dependency on AzureRM.Profile module version 5.8.4

Az.Storage v3.7.1-preview

31 May 05:55
8f27110
Compare
Choose a tag to compare
Pre-release

Supported soft delete DataLake Gen2 item

- Get-AzDataLakeGen2DeletedItem
- Restore-AzDataLakeGen2DeletedItem

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

Az 6.0.0

21 May 07:41
b2e4e07
Compare
Choose a tag to compare

Gallery Module for Azure PowerShell : https://www.powershellgallery.com/packages/Az/6.0.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.0.0-ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:debian-9
  • mcr.microsoft.com/azure-powershell:6.0.0-debian-9
  • mcr.microsoft.com/azure-powershell:centos-7
  • mcr.microsoft.com/azure-powershell:6.0.0-centos-7
  • mcr.microsoft.com/azure-powershell:alpine-3.10
  • mcr.microsoft.com/azure-powershell:6.0.0-alpine-3.10

6.0.0 - May 2021

Az 6.0.0 (Az.Accounts 2.3.0) is only supported on Windows PowerShell 5.1, PowerShell 7.0 version 7.0.6 or greater and PowerShell 7.1 version 7.1.3 or greater, open https://aka.ms/install-powershell to learn how to upgrade. For further information, go to http://aka.ms/azpslifecyle.

Az.Accounts

  • Upgraded Azure.Identity to 1.4 and MSAL to 4.30.1
  • Removed obsolete parameters 'ManagedServiceHostName', 'ManagedServicePort' and 'ManagedServiceSecret' of cmdlet 'Connect-AzAccount', environment variables 'MSI_ENDPOINT' and 'MSI_SECRET' could be used instead
  • Customize display format of PSAzureRmAccount to hide secret of service principal [#14208]
  • Added optional parameter 'AuthScope' to 'Connect-AzAccount' to support enhanced authentication of data plane features
  • Set retry times by environment variable [#14748]
  • Supported subject name issuer authentication

Az.Compute

  • Added 'Invoke-AzVmInstallPatch' to support patch installation in VMs using PowerShell.
  • Updated Compute module to use the latest .Net SDK version 46.0.0.
  • Added optional parameter '-EdgeZone' to the following cmdlets:
    • 'Get-AzVMImage
    • 'Get-AzVMImageOffer'
    • 'Get-AzVMImageSku'
    • 'New-AzDiskConfig'
    • 'New-AzImageConfig'
    • 'New-AzSnapshotConfig'
    • 'New-AzVM'
    • 'New-AzVmssConfig'
    • 'New-AzVMSS'

Az.ContainerInstance

  • Added new cmdlets: 'Start-AzContainerGroup', 'Stop-AzContainerGroup' [#10773], 'Invoke-AzContainerInstanceCommand' [#7648], 'Update-AzContainerGroup', 'Add-AzContainerInstanceOutput', 'Get-AzContainerInstanceCachedImage', 'Get-AzContainerInstanceCapability', 'Get-AzContainerInstanceUsage', 'New-AzContainerGroupImageRegistryCredentialObject', 'New-AzContainerGroupPortObject', 'New-AzContainerGroupVolumeObject', 'New-AzContainerInstanceEnvironmentVariableObject', 'New-AzContainerInstanceInitDefinitionObject', 'New-AzContainerInstanceObject', 'New-AzContainerInstancePortObject' and 'New-AzContainerInstanceVolumeMountObject'
  • Supported Log Analytics parameters in 'New-AzContainerGroup' [#11117]
  • Added support to specify network profile and the name of Azure File Share in 'New-AzContainerGroup' [#9993] [#12218]
  • Added support to specify environment variables as SecureValue [#10110] [#10640]

Az.ContainerRegistry

  • Fixed username and password issue in 'Import-AzContainerRegistryImage' [#14971]
  • Fixed data plane operations (repository, tag, manifest) failed cross registry in single Powershell session [#14849]

Az.CosmosDB

  • Introduced support for Sql data plane RBAC, allowing the creation, updating, removal, and retrieval of Role Definitions and Role Assignments
    • The following cmdlets are added:
      • Get-AzCosmosDBSqlRoleDefinition, Get-AzCosmosDBSqlRoleAssignment,
      • New-AzCosmosDBSqlRoleDefinition, New-AzCosmosDBSqlRoleAssignment,
      • Remove-AzCosmosDBSqlRoleDefinition, Remove-AzCosmosDBSqlRoleAssignment,
      • Update-AzCosmosDBSqlRoleDefinition, Update-AzCosmosDBSqlRoleAssignment,
      • New-AzCosmosDBSqlPermission

Az.DesktopVirtualization

  • Upgraded api version to 2021-02-01-preview.

Az.Functions

  • Added support in function app creation for Python 3.9 and Node 14 function apps
  • Removed support in function app creation for V2, Python 3.6, Node 8, and Node 10 function apps
  • Updated IdentityID parameter from string to string array in Update-AzFunctionApp. This is to be consistent with New-AzFunctionApp which has the same parameter as a string array
  • Updated FullyQualifiedErrorId for an invalid Functions version from FunctionsVersionIsInvalid to FunctionsVersionNotSupported
  • When creating a Node.js function app, if no runtime version is specified, the default runtime version is set to 14 instead of 12

Az.KeyVault

  • Provided key size for RSA key [#14819]

Az.Kusto

  • Bumped API version to stable 2021-01-01

Az.Maintenance

  • Bumped API version to stable 2021-05-01

Az.Migrate

  • Fixed an issue in Initialize-AzMigrateReplicationInfrastructure.ps1

Az.Network

  • Updated validation to allow passing zero value for saDataSizeKilobytes parameter
    • 'New-AzureRmIpsecPolicy'
  • Added optional parameter '-EdgeZone' to the following cmdlets:
    • 'New-AzNetworkInterface'
    • 'New-AzPublicIpAddress'
    • 'New-AzVirtualNetwork'

Az.RecoveryServices

  • Fixed security issue with SQL restore, this is a necessary breaking change. TargetContainer becomes mandatory for Alternate Location Restore.
  • Removed Set-AzRecoveryServicesBackupProperties cmdlet alias, Set-AzRecoveryServicesBackupProperty is supported.
  • Removed Get-AzRecoveryServicesBackupJobDetails cmdlet alias, Get-AzRecoveryServicesBackupJobDetail is supported.
  • Added support for cross subscription DS Move.
  • Azure Site Recovery support for VMware to Azure disaster recovery scenarios using RCM as the control plane.

Az.Resources

  • 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

Az.SecurityInsights

  • GA release for Az.SecurityInsights

Az.ServiceFabric

  • Removed deprecated cluster certificate commands:
    • 'Add-AzServiceFabricClusterCertificate'
    • 'Remove-AzServiceFabricClusterCertificate'
  • Changed PSManagedService model to avoid using the properties parameter directly from sdk.
  • Removed deprecated parameters for managed cmdlets:
    • 'ReverseProxyEndpointPort'
    • 'InstanceCloseDelayDuration'
    • 'ServiceDnsName'
    • 'InstanceCloseDelayDuration'
    • 'DropSourceReplicaOnMove'
  • Fixed 'Update-AzServiceFabricReliability' to update correctly the vm instance count of the primary node type on the cluster resource.

Az.Sql

  • Updated 'Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline' documentation to include example of define array of array with one inner array.
  • Added cmdlet 'Copy-AzSqlDatabaseLongTermRetentionBackup'
    • Copy LTR backups to different servers
  • Added cmdlet 'Update-AzSqlDatabaseLongTermRetentionBackup'
    • Update Backup Storage Redundancy values for LTR backups
  • Added CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to 'Get-AzSqlDatabase', 'New-AzSqlDatabase', 'Set-AzSqlDatabase', 'New-AzSqlDatabaseSecondary', 'Set-AzSqlDatabaseSecondary', 'New-AzSqlDatabaseCopy'
    • Changed BackupStorageRedundancy value to CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to reflect both the current value and what has been requested if a change was made

Az.Storage

  • Supported file share snapshot
    • 'New-AzRmStorageShare'
    • 'Get-AzRmStorageShare'
    • 'Remove-AzRmStorageShare'
  • Supported remove file share with it's snapshot (leased and not leased), by default remove file share will fail when share has snapshot
    • 'Remove-AzRmStorageShare'
  • Supported Set/Get/Remove blob inventory policy
    • 'New-AzStorageBlobInventoryPolicyRule'
    • 'Set-AzStorageBlobInventoryPolicy'
    • 'Get-AzStorageBlobInventoryPolicy'
    • 'Remove-AzStorageBlobInventoryPolicy'
  • Supported DefaultSharePermission in create/update storage account
    • 'New-AzStorageAccount'
    • 'Set-AzStorageAccount'
  • Supported AllowCrossTenantReplication in create/update storage account
    • 'New-AzStorageAccount'
    • 'Set-AzStorageAccount'
  • Supported Set Object Replication Policy with SourceAccount/DestinationAccount as Storage account resource Id
    • 'Set-AzStorageObjectReplicationPolicy'
  • Supported set SasExpirationPeriod as TimeSpan.Zero
    • 'New-AzStorageAccount'
    • 'Set-AzStorageAccount
  • Make sure the correct account name is used when create account credential
    • 'New-AzStorageContext'

Az.StorageSync

  • Deprecated 'Invoke-AzStorageSyncFileRecall'
    • Customers should instead use 'Invoke-StorageSyncFileRecall', a cmdlet that is shipped with the Azure File Sync agent.
  • Removed offline data transfer feature in 'New-AzStorageSyncServerEndpoint'.

Az.StreamAnalytics

  • Bumped API version to 2017-04-01-preview
  • Added StreamAnalytics Cluster support

Az.Websites

  • updated 'Set-AzAppServicePlan' to keep existing Tags when adding new Tags
  • Fixed 'Set-AzWebApp' to set the AppSettings
  • updated 'Set-AzWebAppSlot' to set FtpsState
  • Added support for StaticSites.

Thanks to our community contributors

  • @corichte, Update New-AzVirutalNetworkGatewayConnection Ex 1 (#14858)
  • Hiroshi Yoshioka (@hyoshioka0128)
    • Typo "Azure SQL database"→"Azure SQL Database" (#14883)
    • Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14891)
    • Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14892)
    • Typo "Azure SQL managed instance"→"Az...
Read more

Az 5.9.0

30 Apr 08:10
a5730e9
Compare
Choose a tag to compare

Gallery Module for Azure PowerShell : https://www.powershellgallery.com/packages/Az/5.9.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:5.9.0-ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:debian-9
  • mcr.microsoft.com/azure-powershell:5.9.0-debian-9
  • mcr.microsoft.com/azure-powershell:centos-7
  • mcr.microsoft.com/azure-powershell:5.9.0-centos-7
  • mcr.microsoft.com/azure-powershell:alpine-3.10
  • mcr.microsoft.com/azure-powershell:5.9.0-alpine-3.10

5.9.0 - May 2021

Az.Aks

  • Added support 'AcrNameToAttach' in 'Set-AzAksCluster'. [#14692]
  • Added support 'AcrNameToDetach' in 'Set-AzAksCluster'. [#14693]
  • Added 'Set-AzAksClusterCredential' to reset the ServicePrincipal of an existing AKS cluster.

Az.Automation

  • Added support for User Assigned Identities and PublicNetworkAccess flag

Az.Cdn

  • Added cmdlets to support new AFD Premium / Standard SKUs

Az.Compute

  • Updated the 'Set-AzVMDiskEncryptionExtension' cmdlet to support ADE extension migration from two pass (version with AAD input parameters) to single pass (version without AAD input parameters).
    • Added a switch parameter '-Migrate' to trigger migration workflow.
    • Added a switch parameter '-MigrationRecovery' to trigger recovery workflow for VMs experiencing failures after migration from two pass ADE.

Az.DataFactory

  • Added User Assigned Identities to Data Factory.
  • Updated ADF .Net SDK version to 4.18.0

Az.FrontDoor

  • Allowed Enable-AzFrontDoorCustomDomainHttps's SecretVersion parameter to be optional to support bring-your-own-certificate auto-rotation

Az.KeyVault

  • Fixed a bug for 'Get-AzKeyVaultSecret -IncludeVersions' when current version is disabled [#14740]
  • Displayed error code and message when updating purged secret [#14800]

Az.RecoveryServices

  • Azure Site Recovery support for Multiple IP per NIC for Azure to Azure provider.
  • Azure Site Recovery support for SqlServerLicenseType for VMware to Azure and HyperV to Azure providers.
  • Azure Site Recovery support for Availability set for VMware to Azure and HyperV to Azure providers.
  • Azure Site Recovery support for TargetVmSize for VMware to Azure and HyperV to Azure providers.
  • Azure Site Recovery support for ResourceTagging for VMware to Azure and HyperV to Azure providers.
  • Azure Site Recovery support for Virtual Machine Scale Set for Azure to Azure provider.
  • Added support for restoring unmanaged disks vm as managed disks.

Az.Resources

  • Added parameter 'ObjectType' for 'New-AzRoleAssignment'

Az.ServiceFabric

  • Upgraded Managed Cluster commands to use Service Fabric Managed Cluster SDK version 1.0.0 which uses service fabric resource provider api-version 2021-05-01.
  • 'New-AzServiceFabricManagedCluster' add parameters UpgradeCadence and ZonalResiliency.
  • 'New-AzServiceFabricManagedNodeType' add parameters DiskType, VmUserAssignedIdentity, IsStateless and MultiplePlacementGroup.
  • 'New-AzServiceFabricManagedClusterService' and 'Set-AzServiceFabricManagedClusterService' mark parameters for deprecation: InstanceCloseDelayDuration, DropSourceReplicaOnMove and ServiceDnsName. They are not supported.

Az.ResourceMover

  • General availability of 'Az.ResourceMover' module

Az.Storage

  • Supported create/update storage account with KeyExpirationPeriod and SasExpirationPeriod
    • 'New-AzStorageAccount'
    • 'Set-AzStorageAccount'
  • Supported create/update storage account with keyvault encryption and access keyvault with user assigned identity
    • 'New-AzStorageAccount'
    • 'Set-AzStorageAccount'
  • Supported EdgeZone in create storage account
    • 'New-AzStorageAccount'
  • Fixed an issue that delete immutable blob will prompt incorrect message.
    • 'Remove-AzStorageAccount'
  • Allowed update Storage Account KeyVault properties by cleanup Keyversion to enable key auto rotation [#14769]
    • 'Set-AzStorageAccount'
  • Added breaking change warning message for upcoming cmdlet breaking change
    • 'Remove-AzRmStorageShare'

Thanks to our community contributors

Az.Tools.Predictor 0.3.0

28 Apr 07:02
f41b115
Compare
Choose a tag to compare
Pre-release

Release Notes

  • Add Open-AzPredictorSurvey to welcome feedback.

https://www.powershellgallery.com/packages/Az.Tools.Predictor/0.3.0

Az 5.8.0

09 Apr 11:03
5ddae26
Compare
Choose a tag to compare

Gallery Module for Azure PowerShell : https://www.powershellgallery.com/packages/Az/5.8.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:5.8.0-ubuntu-18.04
  • mcr.microsoft.com/azure-powershell:debian-9
  • mcr.microsoft.com/azure-powershell:5.8.0-debian-9
  • mcr.microsoft.com/azure-powershell:centos-7
  • mcr.microsoft.com/azure-powershell:5.8.0-centos-7
  • mcr.microsoft.com/azure-powershell:alpine-3.10
  • mcr.microsoft.com/azure-powershell:5.8.0-alpine-3.10

5.8.0 - April 2021

Az.Accounts

  • Fallback to first valid context if current default context key is 'Default' which is invalid

Az.Automation

  • Added support for Customer Managed Key Encryption with System Assigned Identity
  • Fixed issue that disables the schedule for update deployment if schedule was re-created with same name

Az.Compute

  • Fixed a bug when 1 data disk attached to VMSS for Remove-AzVmssDataDisk [#13368]
  • Added new cmdlets to support TrustedLaunch related cmdlets:
    • 'Set-AzVmSecurityProfile'
    • 'Set-AzVmUefi'
    • 'Set-AzVmssSecurityProfile'
    • 'Set-AzVmssUefi'
  • Edited default value for Size parameter in New-AzVM cmdlet from Standard_DS1_v2 to Standard_D2s_v3.

Az.ContainerRegistry

  • Fixed bug in 'Get-AzContainerRegistryManifest' showing incorrect image name

Az.HDInsight

  • Supported getting default vmsize from backend if customer does not provide the related parameters: '-WorkerNodeSize', '-HeadNodeSize', '-ZookeeperNodeSize', '-EdgeNodeSize', '-KafkaManagementNodeSize'.

Az.HealthcareApis

  • Added support for Acr LoginServers

Az.KeyVault

  • Fixed a bug for 'Get-AzKeyVaultSecret -AsPlainText' if the secret is not found [#14645]

Az.Migrate

  • Nullref Bug fixed in get discovered server and initialize replication infrastructure commandlets.

Az.Monitor

  • Added cmdlet to get diagnostic setting categories for subscription
    • 'Get-AzSubscriptionDiagnosticSettingCategory'
  • Supported subscription diagnostic setting operations with new parameter: SubscriptionId
    • 'Get-AzDiagnosticSetting'
    • 'New-AzDiagnosticSetting'
    • 'Remove-AzDiagnosticSetting'
  • Supported 'AutoMitigate' parameter in metric alert rule properties. The flag indicates whether the alert should be auto resolved or not.

Az.Resources

  • Added upcoming breaking change warnings on below cmdlets, because the value of 'IdentifierUris' parameter will need verified domain.
    • 'New-AzADApplication'
    • 'Update-AzADApplication'
    • 'New-AzADServicePrincipal'
    • 'Update-AzADServicePrincipal'
  • Ignored Bicep warning message in error stream if exitcode equals zero.

Az.Sql

  • Added cmdlet output breaking change warnings to the following:
    • 'New-AzSqlDatabase'
    • 'Get-AzSqlDatabase'
    • 'Set-AzSqlDatabase'
    • 'Remove-AzSqlDatabase'
    • 'New-AzSqlDatabaseSecondary'
    • 'Remove-AzSqlDatabaseSecondary'
    • 'Get-AzSqlDatabaseReplicationLink'
    • 'New-AzSqlDatabaseCopy'
    • 'Set-AzSqlDatabaseSecondary'

Az.Storage

  • Fixed copy blob fail with source context as Oauth [#14662]
    • 'Start-AzStorageBlobCopy'

Az.StreamAnalytics

  • Added upcoming breaking change warning message to all cmdlets because of upcoming changes on parameters.

Thanks to our community contributors

Az.CloudService v0.2.0

02 Apr 04:38
516013a
Compare
Choose a tag to compare
Pre-release

Release Notes

  • Bumped API version to stable 2021-03-01
  • Supported OSFamily and OSVersion

Az.Sql v3.0.0-preview

27 Mar 01:56
c2f1fd9
Compare
Choose a tag to compare
Az.Sql v3.0.0-preview Pre-release
Pre-release

Release Notes

  • Added cmdlet Copy-AzSqlDatabaseLongTermRetentionBackup
    • Copy LTR backups to different servers
  • Added cmdlet Update-AzSqlDatabaseLongTermRetentionBackup
    • Update Backup Storage Redundancy values for LTR backups
  • Added CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to Get-AzSqlDatabase, New-AzSqlDatabase, Set-AzSqlDatabase, New-AzSqlDatabaseSecondary, Set-AzSqlDatabaseSecondary, New-AzSqlDatabaseCopy
    • Changed BackupStorageRedundancy value to CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to reflect both the current value and what has been requested if a change was made

Az.Migrate v1.0.1

26 Mar 07:50
Compare
Choose a tag to compare

Release Notes

  • Nullref Bug fixed in get discovered server and initialize replication infrastructure cmdlets.