Az

5.0.0

Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with WindowsPowerShell and PowerShell Core.
For more information about the Az module, please visit the following: https://docs.microsoft.com/en-us/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 5.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

5.0.0 - October 2020
Az.Accounts
* [Breaking Change] Removed 'Get-AzProfile' and 'Select-AzProfile'
* Replaced Azure Directory Authentication Library with Microsoft Authentication Library(MSAL)

Az.Aks
* [Breaking Change] Removed parameter alias 'ClientIdAndSecret' in 'New-AzAksCluster' and 'Set-AzAksCluster'.
* [Breaking Change] Changed the default value of 'NodeVmSetType' in 'New-AzAksCluster' from 'AvailabilitySet' to 'VirtualMachineScaleSets'.
* [Breaking Change] Changed the default value of 'NetworkPlugin' in 'New-AzAksCluster' from 'None' to 'azure'.
* [Breaking Change] Removed parameter 'NodeOsType' in 'New-AzAksCluster' as it supports only one value Linux.

Az.Billing
* Added 'Get-AzBillingAccount' cmdlet
* Added 'Get-AzBillingProfile' cmdlet
* Added 'Get-AzInvoiceSection' cmdlet
* Added new parameters in 'Get-AzBillingInvoice' cmdlet
* Removed properties DownloadUrlExpiry, Type, BillingPeriodNames from the response of Get-AzBillingInvoice cmdlet

Az.Cdn
* Added cmdlets to support multi-origin and private link functionality

Az.CognitiveServices
* Updated SDK to 7.4.0-preview.

Az.Compute
* Added '-VmssId' parameter to 'New-AzVm'
* Added 'PlatformFaultDomainCount' parameter to the 'New-AzVmss' cmdlet.
* New cmdlet 'Get-AzDiskEncryptionSetAssociatedResource'
* Added 'Tier' and 'LogicalSectorSize' optional parameters to the New-AzDiskConfig cmdlet.
* Added 'Tier', 'MaxSharesCount', 'DiskIOPSReadOnly', and 'DiskMBpsReadOnly' optional parameters to the 'New-AzDiskUpdateConfig' cmdlet.

Az.ContainerRegistry
* [Breaking Change] Updates API version to 2020-05-01
* [Breaking Change] Removed SKU 'Classic' and parameter 'StorageAccountName' from 'New-AzContainerRegistry'
* Added New cmdlets: 'Connect-AzContainerRegistry', 'Import-AzContainerRegistry', 'Get-AzContainerRegistryUsage', 'New-AzContainerRegistryNetworkRule', 'Set-AzContainerRegistryNetworkRule'
* Added new parameter 'NetworkRuleSet' to 'Update-AzContainerRegistry'

Az.Databricks
* Fixed a bug that may cause updating databricks workspace without `-EncryptionKeyVersion` to fail.

Az.DataFactory
* Updated ADF .Net SDK version to 4.12.0
* Updated ADF encryption client SDK version to 4.14.7587.7
* Added 'Stop-AzDataFactoryV2TriggerRun' and 'Invoke-AzDataFactoryV2TriggerRun' commands

Az.DesktopVirtualization
* Require Location property for creating top level arm objects.
       * Made `ApplicationGroupType` required for `New-AzWvdApplicationGroup`.
       * Made `HostPoolArmPath` required for `New-AzWvdApplicationGroup`.
       * Added `PreferredAppGroupType` for `New-AzWvdHostPool`.

Az.Functions
* [Breaking Change] Removed 'IncludeSlot' switch parameter from all but one parameter set of 'Get-AzFunctionApp'. The cmdlet now supports retrieving deployment slots in the results when '-IncludeSlot' is specified.
* Updated 'New-AzFunctionApp':
 - Fixed -DisableApplicationInsights so that no application insights project is created when this option is specified. [#12728]
 - [Breaking Change] Removed support to create PowerShell 6.2 function apps.
 - [Breaking Change] Changed the default runtime version in Functions version 3 on Windows for PowerShell function apps from 6.2 to 7.0 when the RuntimeVersion parameter is not specified.
 - [Breaking Change] Changed the default runtime version in Functions version 3 on Windows and Linux for Node function apps from 10 to 12 when the RuntimeVersion parameter is not specified.
 - [Breaking Change] Changed the default runtime version in Functions version 3 on Linux for Python function apps from 3.7 to 3.8 when the RuntimeVersion parameter is not specified.

Az.HDInsight
* For New-AzHDInsightCluster cmdlet:
    - Replaced parameter 'DefaultStorageAccountName' with 'StorageAccountResourceId'
    - Replaced parameter 'DefaultStorageAccountKey' with 'StorageAccountKey'
    - Replaced parameter 'DefaultStorageAccountType' with 'StorageAccountType'
    - Removed parameter 'PublicNetworkAccessType'
    - Removed parameter 'OutboundPublicNetworkAccessType'
    - Added new parameters: 'StorageFileSystem' and 'StorageAccountManagedIdentity' to support ADLSGen2
    - Added new parameter 'EnableIDBroker' to Support HDInsight ID Broker
    - Added new parameters: 'KafkaClientGroupId', 'KafkaClientGroupName' and 'KafkaManagementNodeSize' to support Kafka Rest Proxy
* For New-AzHDInsightClusterConfig cmdlet:
    - Replaced parameter 'DefaultStorageAccountName' with 'StorageAccountResourceId'
    - Replaced parameter 'DefaultStorageAccountKey' with 'StorageAccountKey'
    - Replaced parameter 'DefaultStorageAccountType' with 'StorageAccountType'
    - Removed parameter 'PublicNetworkAccessType'
    - Removed parameter 'OutboundPublicNetworkAccessType'
* For Set-AzHDInsightDefaultStorage cmdlet:
   - Replaced parameter 'StorageAccountName' with 'StorageAccountResourceId'
* For Add-AzHDInsightSecurityProfile cmdlet:
   - Replaced parameter 'Domain' with 'DomainResourceId'
   - Removed the mandatory requirement for parameter 'OrganizationalUnitDN'

Az.KeyVault
* [Breaking Change] Deprecated parameter DisableSoftDelete in 'New-AzKeyVault' and EnableSoftDelete in 'Update-AzKeyVault'
* [Breaking Change] Removed attribute SecretValueText to avoid displaying SecretValue directly [#12266]
* Supported new resource type: managed HSM
   - CRUD of managed HSM and cmdlets to operate keys on managed HSM
   - Full HSM backup/restore, AES key creation, security domain backup/restore, RBAC

Az.ManagedServices
* [Breaking Change] Updated parameters naming conventions and associated examples

Az.Network
* [Breaking Change] Removed parameter 'HostedSubnet' and added 'Subnet' instead
* Added new cmdlets for Virtual Router Peer Routes
   - 'Get-AzVirtualRouterPeerLearnedRoute'
   - 'Get-AzVirtualRouterPeerAdvertisedRoute'
* Updated New-AzFirewall cmdlet:
   - Added parameter '-SkuTier'
   - Added parameter '-SkuName' and made Sku as Alias for this
   - Removed parameter '-Sku'
* [Breaking Change] Made 'Connectionlink' argument mandatory in 'Start-AzVpnConnectionPacketCapture' and 'Stop-AzVpnConnectionPacketCapture'
* [Breaking Change] Updated 'New-AzNetworkWatcherConnectionMonitorEndPointObject' to remove parameter '-Filter'
* [Breaking Change] Replaced 'New-AzNetworkWatcherConnectionMonitorEndpointFilterItemObject' cmdlet with 'New-AzNetworkWatcherConnectionMonitorEndpointScopeItemObject'
* Updated 'New-AzNetworkWatcherConnectionMonitorEndPointObject' cmdlet:
- Added parameter '-Type'
- Added parameter '-CoverageLevel'
- Added parameter '-Scope'
* Updated 'New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject' cmdlet with new parameter '-DestinationPortBehavior'

Az.RecoveryServices
* Fixing Workload Restore for contributor permissions.
* Added new parameter sets and validations for Restore-AzRecoveryServicesBackupItem cmdlet.

Az.Resources
* Fixed parsing bug
* Updated ARM template What-If cmdlets to remove preview message from results
* Fixed an issue where template deployment cmdlets crash if '-WhatIf' is set at a higher scope [#13038]
* Fixed an issue where template deployment cmdlets does not preserve case for template parameters
* Added a default API version to be used in 'Export-AzResourceGroup' cmdlet
* Added cmdlets for Template Specs ('Get-AzTemplateSpec', 'Set-AzTemplateSpec', 'New-AzTemplateSpec', 'Remove-AzTemplateSpec', 'Export-AzTemplateSpec')
* Added support for deploying Template Specs using existing deployment cmdlets (via the new -TemplateSpecId parameter)
* Updated 'Get-AzResourceGroupDeploymentOperation' to use the SDK.
* Removed '-ApiVersion' parameter from '*-AzDeployment' cmdlets.

Az.Sql
* Added DiffBackupIntervalInHours to 'Set-AzSqlDatabaseBackupShortTermRetentionPolicy'
* Fixed issue where New-AzSqlDatabaseExport fails if networkIsolation not specified [#13097]
* Fixed issue where New-AzSqlDatabaseExport and New-AzSqlDatabaseImport were not returning OperationStatusLink in the result object [#13097]
* Update Azure Paired Regions URL in Backup Storage Redundancy Warnings

Az.Storage
* Removed obsolete property RestorePolicy.LastEnabledTime
* Change Type of DaysAfterModificationGreaterThan from int to int?
* Supported create/update file share with access tier
* Supported set/update/remove Acl recursively on Datalake Gen2 item
* Supported Container access policy with new permission x,t
* Changed the output of get/set Container access policy cmdlet, by change the child property Permission type from enum to String
* Fixed a sample script issue of set management policy with json

Az.Websites
* Added support for Premium V3 pricing tier
* Updated the WebSites SDK to 3.1.0

Version History

Version Downloads Last updated
5.4.0 690,751 1/19/2021
5.3.0 1,412,118 12/29/2020
5.2.0 1,359,495 12/8/2020
5.1.0 1,584,620 11/17/2020
5.0.0 (current version) 1,691,498 10/27/2020
4.8.0 638,349 10/13/2020
4.7.0 185,224 9/22/2020
4.6.1 1,766,193 8/28/2020
4.6.0 110,530 8/25/2020
4.5.0 402,699 8/4/2020
4.4.0 311,266 7/14/2020
4.3.0 354,318 6/23/2020
4.2.0 323,275 6/2/2020
4.1.0 202,092 5/19/2020
4.0.2-preview 1,974 12/23/2019
4.0.1-preview 596 10/9/2019
3.8.0 804,647 4/21/2020
3.7.0 294,959 3/31/2020
3.6.1 361,676 3/10/2020
3.5.0 325,583 2/18/2020
3.4.0 203,199 2/4/2020
3.3.0 345,085 1/7/2020
3.2.0 325,701 12/17/2019
3.1.0 458,146 11/26/2019
3.0.0 454,234 11/4/2019
2.8.0 511,081 10/15/2019
2.7.0 182,775 9/24/2019
2.6.0 299,075 8/27/2019
2.5.0 314,288 7/30/2019
2.4.0 174,606 7/2/2019
2.3.2 162,157 6/18/2019
2.2.0 77,784 6/4/2019
2.1.0 67,971 5/21/2019
2.0.0 88,501 5/6/2019
1.8.0 332,435 4/23/2019
1.7.0 52,971 4/9/2019
1.6.0 72,408 3/26/2019
1.5.0 55,501 3/12/2019
1.4.0 42,929 2/26/2019
1.3.0 31,195 2/12/2019
1.2.1 24,736 1/31/2019
1.2.0 4,385 1/29/2019
1.1.0 19,636 1/15/2019
1.0.1 33,283 12/18/2018
1.0.0 17,972 12/18/2018
0.10.0-preview 2,092 4/15/2020
0.7.0 13,950 12/4/2018
0.6.1 9,008 11/21/2018
0.5.0 9,489 11/6/2018
0.4.0 10,857 10/23/2018
0.3.0 10,618 10/9/2018
0.2.2 4,784 9/24/2018
0.1.0 226 8/28/2018