Az

6.0.0

Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows PowerShell.
For more information about the Az module, please visit the following: https://docs.microsoft.com/powershell/azure/

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az -RequiredVersion 6.0.0

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Microsoft Corporation

Copyright

Microsoft Corporation. All rights reserved.

Owners

Tags

Azure ARM ResourceManager Linux AzureAutomationNotSupported

PSEditions

Core Desktop

Dependencies

Release Notes

6.0.0 - May 2021
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.

Version History

Version Downloads Last updated
6.1.0 147,514 6/15/2021
6.0.0 (current version) 367,515 5/25/2021
5.9.0 474,261 5/4/2021
5.8.0 428,435 4/13/2021
5.7.0 403,128 3/23/2021
5.6.0 524,222 3/2/2021
5.5.0 713,438 2/9/2021
5.4.0 1,641,276 1/19/2021
5.3.0 1,427,427 12/29/2020
5.2.0 1,362,745 12/8/2020
5.1.0 1,590,399 11/17/2020
5.0.0 1,706,005 10/27/2020
4.8.0 992,828 10/13/2020
4.7.0 196,353 9/22/2020
4.6.1 1,772,114 8/28/2020
4.6.0 114,477 8/25/2020
4.5.0 408,540 8/4/2020
4.4.0 318,995 7/14/2020
4.3.0 360,975 6/23/2020
4.2.0 361,675 6/2/2020
4.1.0 203,166 5/19/2020
4.0.2-preview 1,978 12/23/2019
4.0.1-preview 599 10/9/2019
3.8.0 1,016,116 4/21/2020
3.7.0 295,853 3/31/2020
3.6.1 363,736 3/10/2020
3.5.0 330,258 2/18/2020
3.4.0 203,588 2/4/2020
3.3.0 345,972 1/7/2020
3.2.0 325,780 12/17/2019
3.1.0 463,625 11/26/2019
3.0.0 456,213 11/4/2019
2.8.0 591,766 10/15/2019
2.7.0 183,128 9/24/2019
2.6.0 303,809 8/27/2019
2.5.0 320,154 7/30/2019
2.4.0 175,019 7/2/2019
2.3.2 166,166 6/18/2019
2.2.0 77,839 6/4/2019
2.1.0 68,398 5/21/2019
2.0.0 92,098 5/6/2019
1.8.0 357,969 4/23/2019
1.7.0 53,047 4/9/2019
1.6.0 75,815 3/26/2019
1.5.0 55,512 3/12/2019
1.4.0 42,985 2/26/2019
1.3.0 31,298 2/12/2019
1.2.1 24,741 1/31/2019
1.2.0 4,387 1/29/2019
1.1.0 19,639 1/15/2019
1.0.1 33,289 12/18/2018
1.0.0 21,390 12/18/2018
0.10.0-preview 4,593 4/15/2020
0.7.0 13,964 12/4/2018
0.6.1 9,010 11/21/2018
0.5.0 9,491 11/6/2018
0.4.0 10,859 10/23/2018
0.3.0 10,620 10/9/2018
0.2.2 4,789 9/24/2018
0.1.0 233 8/28/2018