Gallery Module for Azure PowerShell: https://www.powershellgallery.com/packages/Az/9.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
SHA256 Hashes of the release artifacts
- Az-Cmdlets-9.0.0.36483.tar.gz
- CD5FC3B3D492175BA3D9808D2098F8FFFEAA156518512DAA654F7DBB6FE794CA
9.0.0 - October 2022
Az.Accounts
- Upgraded Azure.Core to 1.25.0 and Azure.Identity to 1.6.1
- Upgraded Microsoft.Identity.Client to 4.46.2 and Microsoft.Identity.Client.Extensions.Msal to 2.23.0
- Upgraded Microsoft.ApplicationInsights to 2.13.1
- [Breaking Change] Changed target framework of AuthenticationAssemblyLoadContext to netcoreapp3.1.
- [Breaking Change] Removed built-in environment of Azure Germany
- Supported tenant domain as input while using 'Connect-AzAccount' with parameter 'Tenant'. [#19471]
- Used the ArgumentCompleter attribute to replace the dynamic parameters of 'Get-AzContext'. [#18041]
- Fixed issue that module cannot be imported when required file is locked [#19624]
Az.Advisor
- Bumped API version to 2020-01-01
Az.Aks
- [Breaking Change] Removed the alias 'Install-AzAksKubectl' of 'Install-AzAksCliTool'.
Az.ApiManagement
- [Breaking Change] Changed the type of parameter 'Sku' from Enum to String in 'Add-AzApiManagementRegion', 'New-AzApiManagement' and 'Update-AzApiManagementRegion'.
Az.Attestation
- [Breaking Change] Replaced 'New/Remove/Get-AzAttestation' with 'New/Remove/Get-AzAttestationProvider'
- Added 'Get-AzAttestationDefaultProvider' and 'Update-AzAttestationProvider'
- Upgraded API version from 2018-09-01-preview to 2020-10-01
Az.Automation
- Added cmdlets 'Remove-AzAutomationHybridRunbookWorker', 'Remove-AzAutomationHybridRunbookWorkerGroup', 'Set-AzAutomationHybridRunbookWorkerGroup', 'Get-AzAutomationHybridRunbookWorker', 'Get-AzAutomationHybridRunbookWorkerGroup', 'Move-AzAutomationHybridRunbookWorker', 'New-AzAutomationHybridRunbookWorker', 'New-AzAutomationHybridRunbookWorkerGroup' for Hybrid Runbook Worker group management.
Az.Compute
- Added the 'TimeCreated' property to the Virtual Machine and Virtual Machine Scale Set models.
- Added Confidential VM functionality to multiple cmdlets.
- Added new parameter 'SecureVMDiskEncryptionSet' to cmdlet 'Set-AzDiskSecurityProfile'.
- Added new parameters 'SecureVMDiskEncryptionSet' and 'SecurityEncryptionType' to cmdlet 'Set-AzVMOSDisk'.
- Improved cmdlet descriptions and parameter descriptions for VM/VMSS creation.
- Added the 'BaseRegularPriorityCount' integer property to the following cmdlets: 'New-AzVmssConfig' and 'Update-AzVmssConfig'
- Added the 'RegularPriorityPercentage' integer property to the following cmdlets: 'New-AzVmssConfig' and 'Update-AzVmssConfig'
- Added Breaking Changes for Add-AzVMAdditionalUnattendContent and Get-AzGallery cmdlets
- Added '-DiskControllerType' property to the following cmdlets: 'New-AzVm', 'New-AzVmss', 'New-AzVmConfig', 'Set-AzVmssStorageProfile'
Az.Databricks
- Upgraded API version to 2022-04-01-preview
- Modified description of 'EnableNoPublicIP' parameter in the 'New-AzDatabricksWorkspace'. [#14381]
Az.DataFactory
- Updated ADF .Net SDK version to 6.4.0
Az.EventGrid
- Add remaining advanced filters
- StringNotContains
- StringNotBeginsWith
- StringNotEndsWith
- NumberInRange
- NumberNotInRange
- IsNullOrUndefined
- IsNotNull
Az.EventHub
- Most cmdlets in Az.EventHub module have been migrated to a new format and would witness breaking changes. Please refer our migration guide https://go.microsoft.com/fwlink/?linkid=2204690 to know breaking changes in detail.
Az.Functions
- Enabled support to create Node 18 Preview and Java 17 Preview function apps (fixes issues #19184 and #18925)
- Removed the logic that checks for AzureGermanCloud in the cloud endpoints (fixes issue #19667)
- Hided generated unused cmdlets (fixes #16666)
Az.KeyVault
- Fixed the exception content swallowed issue when exception.Response is null [#19531]
- Added the existing parameters 'Exportable', 'Immutable', 'UseDefaultCVMPolicy', and 'ReleasePolicyPath'
to the parameter sets 'InteractiveCreate', 'InputObjectCreate', and 'ResourceIdCreate'.
Az.MarketplaceOrdering
- Upgraded API version to 2021-01-01.
Az.Migrate
- Updated ApiVersion to 2022-05-01
- Added support for pause and resume
- 'Suspend-AzMigrateServerReplication'
- 'Resume-AzMigrateServerReplication'
- [Breaking Change] Removed unless cmdlets
- 'Get-AzMigrateReplicationEligibilityResult'
- 'Get-AzMigrateReplicationProtectionIntent'
- 'Get-AzMigrateReplicationVaultSetting'
- 'Get-AzMigrateSupportedOperatingSystem'
- 'New-AzMigrateReplicationProtectionIntent'
- 'New-AzMigrateReplicationVaultSetting'
Az.Monitor
- [Breaking Change] Upgraded API version for ActivityLogAlert from 2017-04-01 to 2020-10-01, affected cmdlets:
- 'Get-AzActivityLogAlert'
- 'Remove-AzActivityLogAlert'
- 'Set-AzActivityLogAlert' replaced by 'New-AzActivityLogAlert'
- 'Disable-AzActivityLogAlert' replaced by 'Update-AzActivityLogAlert'
- 'Enable-AzActivityLogAlert' replaced by 'Update-AzActivityLogAlert'
- 'New-AzActionGroup' replaced by 'New-AzActivityLogAlertActionGroupObject'
- [Breaking Change] Upgraded API version for DiagnosticSetting from 2017-05-01-preview to 2021-05-01-preview
- 'Get-AzDiagnosticSettingCategory'
- 'Get-AzDiagnosticSetting'
- 'New-AzDiagnosticSetting'
- 'Remove-AzDiagnosticSetting'
- 'Set-AzDiagnosticSetting' replaced by 'New-AzDiagnosticSetting'
- 'New-AzDiagnosticDetailSetting' replaced by 'New-AzDiagnosticSettingLogSettingsObject' and 'New-AzDiagnosticSettingMetricSettingsObject'
- 'Get-AzSubscriptionDiagnosticSettingCategory' replaced by 'Get-AzEventCategory'
- [Breaking Change] Upgraded API version for Autoscale from 2015-04-01 to 2022-10-01
- 'Get-AzAutoscaleSetting'
- 'Remove-AzAutoscaleSetting'
- 'Add-AzAutoscaleSetting' replaced by 'New-AzAutoscaleSetting'
- 'New-AzAutoscaleNotification' replaced by 'New-AzAutoscaleNotificationObject'
- 'New-AzAutoscaleProfile' replaced by 'New-AzAutoscaleProfileObject'
- 'New-AzAutoscaleRule' replaced by 'New-AzAutoscaleScaleRuleObject'
- 'New-AzAutoscaleWebhook' replaced by 'New-AzAutoscaleWebhookNotificationObject'
- [Breaking Change] Upgraded API version for ScheduledQueryRule from 2018-04-16 to 2021-08-01
- 'Get-AzScheduledQueryRule'
- 'New-AzScheduledQueryRuleAlertingAction'
- 'New-AzScheduledQueryRuleAznActionGroup'
- 'New-AzScheduledQueryRule'
- 'New-AzScheduledQueryRuleLogMetricTrigger'
- 'New-AzScheduledQueryRuleSchedule'
- 'New-AzScheduledQueryRuleSource'
- 'New-AzScheduledQueryRuleTriggerCondition'
- 'Remove-AzScheduledQueryRule'
- 'Set-AzScheduledQueryRule'
- 'Update-AzScheduledQueryRule'
Az.MySql
- Added 'PublicNetworkAccess' to 'Update-AzMySqlServer' [#19189]
Az.Network
- Added a new endpoint switch 'AzureArcVM' in 'New-AzNetworkWatcherConnectionMonitor'
- Updated 'New-AzVirtualNetworkGatewayConnection' to support bypassing the ExpressRoute gateway when accessing private-links
- Updated 'Update-AzCustomIpPrefix' to support no-internet advertise CustomIpPrefix
- Updated 'New-AzNetworkInterface' to support create/update nic with DisableTcpStateTracking property
- Updated cmdlet to support specifying a VirtualRouterAsn on Virtual Hub
- 'New-AzVirtualHub'
- 'Update-AzVirtualHub'
- Updated cmdlet to support specifying an ASN on VPN Gateway
- 'New-AzVpnGateway'
- 'Update-AzVpnGateway'
- Updated 'New-AzRoutingConfiguration' to support bypassing NVA for spoke vNet traffic
- Updated 'Update-AzCustomIpPrefix' to support new parameters: Asn, Geo, ExpressRouteAdvertise
- Updated cmdlets to enable verification on client certificate revocation by using a new property VerifyClientRevocation in ApplicationGatewayClientAuthConfiguration
- 'New-AzApplicationGatewayClientAuthConfiguration'
- 'Set-AzApplicationGatewayClientAuthConfiguration'
- Updated 'New-AzCustomIpPrefix' to support IPv4 Parent/Child CustomIpPrefix creation.
- Added Uppercase Transform in New-AzApplicationGatewayFirewallCondition
- Added DdosProtectionMode parameter in New-AzPublicIpAddress
- Added ProbeThreshold parameter to Load Balancer Probe
- 'Add-AzLoadBalancerProbeConfig'
- 'New-AzLoadBalancerProbeConfig'
- 'Set-AzLoadBalancerProbeConfig'
- Updated 'New-AzApplicationGatewayFirewallPolicyManagedRuleOverride' to support specifying an action for a managed rule override in Application Gateway WAF Policy
- Added breaking change enum values/notification for the following network manager cmdlets
- 'Deploy-AzNetworkManagerCommit'
- 'New-AzNetworkManagerConnectivityConfiguration'
- 'New-AzNetworkManagerConnectivityGroupItem'
- 'New-AzNetworkManagerSecurityAdminRule'
- 'New-AzNetworkManagerSecurityAdminConfiguration'
- 'New-AzNetworkManagerAddressPrefixItem'
- 'New-AzNetworkManager'
- Added 'EnableUDPLogOptimization' parameter to 'New-AzFirewall'
- Fixed a bug that does not return HubIPAddresses and PrivateIPAddress during a Get-AzFirewall command
- Replaced 'IdentifyTopFatFlow' parameter with 'EnableFatFlowLogging' parameter to 'New-AzFirewall'
- Fixed a bug not able to add MSSQL application rules to an AZURE FIREWALL POLICY
- Onboard Project AzureML Registries to Private Link Common Cmdlets
Az.RecoveryServices
- [Breaking Change] Added fix for Enable-AzRecoveryServicesBackupProtection cmdlet. Resolved the null refrence issue by making policy a mandatory parameter.
- [Breaking Change] Removed status filter from Get-AzRecoveryServicesBackupContainer command
- Added SubTasks Duration for IaasVM job
Az.Resources
- Removed unused reference to resource identifier in role assignment create cmdlet
- Exposed parameter '-Count' for 'Get-AzADApplication', 'Get-AzADServicePrincipal', 'Get-AzADGroup' [#19476]
Az.SecurityInsights
- Changed 'Az.SecurityInsights' to autorest-based module
Az.ServiceBus
- Most cmdlets in Az.ServiceBus module have been migrated to a new format and would witness breaking changes. Please refer our migration guide https://go.microsoft.com/fwlink/?linkid=2204584 to know breaking changes in detail.
Az.Sql
- Added new fields to the 'Get-AzSqlInstanceDatabaseLogReplay' cmdlet
- Improved error handling in the 'Stop-AzSqlInstanceDatabaseLogReplay' cmdlet
- Added StorageContainerIdentity parameter in the 'Start-AzSqlInstanceDatabaseLogReplay' cmdlet
- Removed the following cmdlets: 'Clear-AzSqlServerAdvancedThreatProtectionSetting' and 'Clear-AzSqlDatabaseAdvancedThreatProtectionSetting'
- Added the following cmdlets: 'Get-AzSqlInstanceDatabaseAdvancedThreatProtectionSetting', 'Get-AzSqlInstanceAdvancedThreatProtectionSetting', 'Update-AzSqlInstanceDatabaseAdvancedThreatProtectionSetting' and 'Update-AzSqlInstanceAdvancedThreatProtectionSetting'
- Removed the following aliases: 'Enable-AzSqlServerAdvancedThreatProtection', 'Disable-AzSqlServerAdvancedThreatProtection', 'Get-AzSqlServerThreatDetectionSetting', 'Remove-AzSqlServerThreatDetectionSetting', 'Set-AzSqlServerThreatDetectionSetting', 'Get-AzSqlDatabaseThreatDetectionSetting', 'Set-AzSqlDatabaseThreatDetectionSetting' and 'Remove-AzSqlDatabaseThreatDetectionSetting'
- Changed the returned object for the following cmdlets: 'Get-AzSqlServerAdvancedThreatProtectionSetting' and 'Get-AzSqlDatabaseAdvancedThreatProtectionSetting'
- Changed the parameters for the following cmdlets: 'Update-AzSqlServerAdvancedThreatProtectionSetting' and 'Update-AzSqlDatabaseAdvancedThreatProtectionSetting'. Only 'Enable' parameter is now supported.
- Changed endpoint used in SQL Server and SQL Instance from AD Graph to MS Graph
Az.StackHCI
- Made GraphAccessToken parameter obsolete in Register-AzStackHCI, Unregister-AzStackHCI and Set-AzStackHCI cmdlets. This is because Az.StackHCI module does not depend on Azure AD anymore.
- Include API version for all Microsoft.AzStackHCI related AZ-Resource calls
Az.Storage
- Migrated following Azure File dataplane cmdlets from 'Microsoft.Azure.Storage.File 11.2.2' to 'Azure.Storage.Files.Shares 12.10.0'
- 'Get-AzStorageFile'
- 'Get-AzStorageFileCopyState'
- 'Get-AzStorageShare'
- 'Get-AzStorageShareStoredAccessPolicy'
- 'New-AzStorageDirectory'
- 'New-AzStorageFileSasToken'
- 'New-AzStorageShare'
- 'New-AzStorageShareSasToken'
- 'New-AzStorageShareStoredAccessPolicy'
- 'Remove-AzStorageDirectory'
- 'Remove-AzStorageFile'
- 'Remove-AzStorageShare'
- 'Remove-AzStorageShareStoredAccessPolicy'
- 'Set-AzStorageShareQuota'
- 'Set-AzStorageShareStoredAccessPolicy'
- 'Start-AzStorageFileCopy'
- 'Stop-AzStorageFileCopy'
- Migrated Get/List blob to always use 'Azure.Storage.Blobs'
- 'Get-AzStorageBlob'
- Fix create file sas failure with file object pipeline
- 'New-AzStorageFileSasToken'
Az.Synapse
- [Breaking Change] Updated models of Synapse Link for Azure Sql Database
- Updated 'New-AzSynapseWorkspace' and 'Update-AzSynapseWorkspace' to support for user assigned managed identity (UAMI) by '-UserAssignedIdentityAction' and '-UserAssignedIdentityId'
- Added EnablePublicNetworkAccess parameter to 'New-AzureSynapseWorkspace' and 'Update-AzSynapseWorkspace'
Thanks to our community contributors
- Aliaksei Venski (@AliakseiVenski), Update New-AzServiceBusAuthorizationRuleSASToken.md (#19521)
- Jason (@moo2u2), Fixed multiple hostnames param for app gateway http listener (#19451)
- Jan-Hendrik Peters [MSFT] (@nyanhp), [Connect-AzConnectedMachine] Fixes error with return value processing (#19542)
- @rahulbissa2727, PS changes for Uppercase Transform (#19546)