Azure PowerShell v4.1.0 Release Notes
Release Date: 2020-05-01 // about 4 years ago-
๐ Highlights since the last release
- ๐ Supported PowerShell versions: Windows PowerShell 5.1, PowerShell Core 6.2.4+, PowerShell 7
- General availability of Az.Functions
- ๐ Az.ApiManagement, Az.Batch, Az.Compute, Az.KeyVault, Az.Monitor, Az.Network, Az.OperationalInsights, Az.Resources, and Az.Storage have major release
Az.Accounts
- โก๏ธ Updated 'Add-AzEnvironment' and 'Set-AzEnvironment' to accept parameters 'AzureSynapseAnalyticsEndpointResourceId' and 'AzureSynapseAnalyticsEndpointSuffix'
- โ Added Azure.Core related assemblies into Az.Accounts, supported PowerShell platforms include Windows PowerShell 5.1, PowerShell Core 6.2.4, PowerShell 7+
Az.Aks
- โฌ๏ธ Upgraded API Version to 2019-10-01
- ๐ Supported to create AKS using Windows container
- โก๏ธ Provided new cmdlets: 'New-AzAksNodePool', 'Update-AzAksNodePool', 'Remove-AzAksNodePool', 'Get-AzAksNodePool', 'Install-AzAksKubectl', 'Get-AzAksVersion'
Az.ApiManagement
- 'New-AzApiManagement' and 'Set-AzApiManagement': [-AssignIdentity] parameter renamed as [-SystemAssignedIdentity]
- 'New-AzApiManagement' and 'Set-AzApiManagement': New parameter added: [-UserAssignedIdentity ]
- 'Get-AzApiManagementProperty': renamed as 'Get-AzApiManagementNamedValue'. PropertyId parameter renamed as NamedValueId.
- 'New-AzApiManagementProperty': renamed as 'New-AzApiManagementNamedValue'. PropertyId parameter renamed as NamedValueId.
- 'Set-AzApiManagementProperty': renamed as 'Set-AzApiManagementNamedValue'. PropertyId parameter renamed as NamedValueId.
- ๐ 'Remove-AzApiManagementProperty': renamed as 'Remove-AzApiManagementNamedValue'. PropertyId parameter renamed as NamedValueId.
- โ Added new 'Get-AzApiManagementAuthorizationServerClientSecret' cmdlet and 'Get-AzApiManagementAuthorizationServer' will not return client secret anymore.
- โ Added new 'Get-AzApiManagementNamedValueSecretValue' cmdlet and 'Get-AzApiManagementNamedValue' will not return secret value.
- โ Added new 'Get-AzApiManagementOpenIdConnectProviderClientSecret' cmdlet and 'Get-AzApiManagementOpenIdConnectProvider' will not return client secret anymore.
- โ Added new 'Get-AzApiManagementSubscriptionKey' cmdlet and 'Get-AzApiManagementSubscription' will not return subscription keys anymore.
- โ Added new 'Get-AzApiManagementTenantAccessSecret' cmdlet and 'Get-AzApiManagementTenantAccess' will not return keys anymore.
- โ Added new 'Get-AzApiManagementTenantGitAccessSecret' cmdlet and 'Get-AzApiManagementTenantGitAccess' will not return keys anymore.
Az.ApplicationInsights
- โ Added Parameters: 'RetentionInDays' 'PublicNetworkAccessForIngestion' 'PublicNetworkAccessForQuery' for 'New-AzApplicationInsights'
- โก๏ธ Created cmdlet 'Update-AzApplicationInsights'
- Created cmdlets for Linked Storage Account
Az.Batch
- โก๏ธ Updated Az.Batch to use 'Microsoft.Azure.Batch' SDK version 13.0.0 and 'Microsoft.Azure.Management.Batch' SDK version 9.0.0.
- โ Added the ability to select the kind of certificate being added using the new '-CertificateKind' parameter to 'New-AzBatchCertificate'.
- โ Removed 'ApplicationPackages' property from 'PSApplication' which was previously always ''.
- The specific packages inside of an application now can be retrieved using 'Get-AzBatchApplicationPackage'. For example: 'Get-AzBatchApplication -AccountName myaccount -ResourceGroupName myresourcegroup -ApplicationId myapplication'.
- When creating a pool using 'New-AzBatchPool', the 'VirtualMachineImageId' property of 'PSImageReference' can now only refer to a Shared Image Gallery image.
- When creating a pool using 'New-AzBatchPool', the pool can be provisioned without a public IP using the new 'PublicIPAddressConfiguration' property of 'PSNetworkConfiguration'.
- The 'PublicIPs' property of 'PSNetworkConfiguration' has moved in to 'PSPublicIPAddressConfiguration' as well. This property can only be specified if 'IPAddressProvisioningType' is 'UserManaged'.
Az.Compute
- โ Added HostId parameter to 'Update-AzVM' cmdlet
- โก๏ธ Updated Help documents for 'New-AzVMConfig', 'New-AzVmssConfig', 'Update-AzVmss', 'Set-AzVMOperatingSystem' and 'Set-AzVmssOsProfile' cmdlets.
- ๐ฅ Breaking changes
- FilterExpression parameter is removed from 'Get-AzVMImage' cmdlet.
- AssignIdentity parameter is removed from 'New-AzVmssConfig', 'New-AzVMConfig' and 'Update-AzVM' cmdlets.
- AutomaticRepairMaxInstanceRepairsPercent is removed from 'New-AzVmssConfig' and 'Update-AzVmss' cmdlets.
- AvailabilitySetsColocationStatus, VirtualMachinesColocationStatus and VirtualMachineScaleSetsColocationStatus properties are removed from ProximityPlacementGroup.
- MaxInstanceRepairsPercent property is removed from AutomaticRepairsPolicy.
- The types of AvailabilitySets, VirtualMachines and VirtualMachineScaleSets are changed from IList to IList.
- โก๏ธ Description for 'Get-AzVM' cmdlet has been updated to better describe it.
Az.DataFactory
- ๐ Supported CRUD of data flow runtime properties in Managed IR.
Az.FrontDoor
- โ Added new cmdlets for creation, update, retreival, and deletion of Front Door Rules Engine object
- โ Added helper cmdlets for construction of Front Door Rules Engine object
- โ Added Rules Engine reference to Front Door Routing Rule object.
- โ Added Private Link parameters to Front Door Backend object
Az.Functions
- General availability of ''Az.Functions'' module
Az.HDInsight
- ๐ Supported Customer-managed key disk encryption.
Az.HealthcareApis
- 0๏ธโฃ Access policies are no longer defaulted to the current principal
Az.IotHub
- โ Added cmdlet to invoke a query in an IoT hub to retrieve information using a SQL-like language.
- ๐ Fix issue that 'Add-AzIotHubDevice' fails to create Edge Enabled Device without child devices [#11597]
- โ Added cmdlet to generate SAS token for Iot Hub, device or module.
- โ Added cmdlet to invoke configuration metrics query.
- ๐ Manage IoT Edge automatic deployment at scale. New cmdlets are:
- 'Add-AzIotHubDeployment'
- 'Get-AzIotHubDeployment'
- 'Remove-AzIotHubDeployment'
- 'Set-AzIotHubDeployment'
- โ Added cmdlet to invoke an IoT Edge deployment metrics query.
- โ Added cmdlet to apply the configuration content to the specified edge device.
Az.KeyVault
- โ Removed two aliases: 'New-AzKeyVaultCertificateAdministratorDetails' and 'New-AzKeyVaultCertificateOrganizationDetails'
- 0๏ธโฃ Enabled soft delete by default when creating a key vault
- Network rules can be set to govern the accessibility from specific network locations when creating a key vault
- โ Added support to bring your own key (BYOK)
- 'Add-AzKeyVaultKey' supports generating a key exchange key
- 'Get-AzKeyVaultKey' supports downloading a public key in PEM format
- โก๏ธ Updated the 'KeyOps' part of the help document of 'Add-AzKeyVaultKey'
Az.Monitor
- ๐ Fixed bug for 'Set-AzDiagnosticSettings', retention policy won't apply to all categories [#11589]
- ๐ Supported WebTest availability criteria for metric alert V2
- 'New-AzMetricAlertRuleV2Criteria': an option to create webtest availability criteria was added
- 'Add-AzMetricAlertRuleV2': supports the new webtest availability criteria
- โ Removed redundant definition for RetentionPolicy in PSLogProfile [#7608]
- โ Removed redundant properties difined in PSEventData [#11353]
- ๐ Renamed 'Get-AzLog' to 'Get-AzActivityLog'
Az.Network
- โ Added breaking change attribute to notify that Zone default behaviour will be changed
- 'New-AzPublicIpAddress'
- 'New-AzPublicIpPrefix'
- 'New-AzLoadBalancerFrontendIpConfig'
- โ Added support for a new top level resource SecurityPartnerProvider
- New cmdlets added:
- New-AzSecurityPartnerProvider
- Remove-AzSecurityPartnerProvider
- Get-AzSecurityPartnerProvider
- Set-AzSecurityPartnerProvider
- New cmdlets added:
- โ Added 'RequiredZoneNames' on 'PSPrivateLinkResource' and 'GroupId' on 'PSPrivateEndpointConnection'
- ๐ Fixed incorrect type of SuccessThresholdRoundTripTimeMs parameter for New-AzNetworkWatcherConnectionMonitorTestConfigurationObject
- โก๏ธ Updated VirtualWan cmdlets to set default value of AllowVnetToVnetTraffic argument to True.
- 'New-AzVirtualWan'
- 'Update-AzVirtualWan'
- โ Added new cmdlets to support DNS zone group for private endpoint
- 'New-AzPrivateDnsZoneConfig'
- 'Get-AzPrivateDnsZoneGroup'
- 'New-AzPrivateDnsZoneGroup'
- 'Set-AzPrivateDnsZoneGroup'
- 'Remove-AzPrivateDnsZoneGroup'
- โ Added 'DNSEnableProxy', 'DNSRequireProxyForNetworkRules' and 'DNSServers' parameters to 'AzureFirewall'
- โ Added 'EnableDnsProxy', 'DnsProxyNotRequiredForNetworkRule' and 'DnsServer' parameters to 'AzureFirewall'
- Updated cmdlet:
- New-AzFirewall
- Updated cmdlet:
Az.OperationalInsights
- โก๏ธ Updated legacy code to apply new generated SDK
- โ Deleted cmdlets due to deprecated APIs
- 'Get-AzOperationalInsightsSavedSearchResult' (alias 'Get-AzOperationalInsightsSavedSearchResults')
- 'Get-AzOperationalInsightsSearchResult' (alias 'Get-AzOperationalInsightsSearchResults')
- 'Get-AzOperationalInsightsLinkTarget' (alias 'Get-AzOperationalInsightsLinkTargets')
- โ Added parameters for 'Set-AzOperationalInsightsWorkspace' and 'New-AzOperationalInsightsWorkspace'
- Created cmdlets for Linked Stoarge Account
- Created cmdlets for Clusters and Linked Service
Az.RecoveryServices
- ๐ Azure Site Recovery added support for protecting proximity placement group virtual machines for Azure to Azure provider.
- ๐ Azure Site Recovery added support for zone to zone replication.
- ๐ Azure Backup Added Long term retention support for Azure FileShare Recovery Points.
- Azure Backup Added disk exclusion properties to 'Get-AzRecoveryServicesBackupItem' cmdlet output.
- โ Added private endpoint for Vault credential file for site recovery service.
Az.Resources
- โ Added message warning about view delay when creating a new Role Definition
- ๐ Changed policy cmdlets to output strongly-typed objects
- โ Removed '-TenantLevel' parameter used for on the 'Get-AzResourceLock' cmdlet [#11335]
- ๐ Fixed 'Remove-AzResourceGroup -Id ResourceId'[#9882]
- โ Added new cmdlet for getting ARM template What-If results at resource group scope: 'Get-AzDeploymentResourceGroupWhatIfResult'
- โ Added new cmdlet for getting ARM template What-If results at subscription scope: 'Get-AzDeploymentWhatIfResult'
- Alias: 'Get-AzSubscriptionDeploymentWhatIf'
- ๐ Overrode '-WhatIf' and '-Confirm' parameters for 'New-AzDeployment' and 'New-AzResourceGroupDeployment' to use ARM template What-If results
- โ Added deprecation message for 'ApiVersion' parameter in deployment cmdlets
- โ Added capability to show improved error messages for deployment failures
- โ Added correlationId logging for deployment failures
- โ Added 'error' property to the deployment script output
- โก๏ธ Updated nuget Microsoft.Azure.Management.ResourceManager to '3.7.1-preview'
- โ Removed specific test cases as Error property in DeploymentValidateResult has changed to readonly from nuget 3.7.1-preview
- Brought GenericResourceExpanded from SDK ResourceManager 3.7.1-preview
- โ Added tag support for all Get cmdlets for deployment, as well as
- 'New-AzDeployment'
- 'New-AzManagementGroupDeployment'
- 'New-AzResourceGroupDeployment'
- 'New-AzTenantDeployment'
Az.ServiceFabric
- ๐ Fixed bug in add certificate using --SecretIdentifier that was getting the wrong certificate thumbprint
Az.Sql
- โจ Enhance performance of:
- 'Set-AzSqlDatabaseSensitivityClassification'
- 'Set-AzSqlInstanceDatabaseSensitivityClassification'
- 'Remove-AzSqlDatabaseSensitivityClassification'
- 'Remove-AzSqlInstanceDatabaseSensitivityClassification'
- 'Enable-AzSqlDatabaseSensitivityRecommendation'
- 'Enable-AzSqlInstanceDatabaseSensitivityRecommendation'
- 'Disable-AzSqlDatabaseSensitivityRecommendation'
- 'Disable-AzSqlInstanceDatabaseSensitivityRecommendation'
- โ Removed client-side validation of 'RetentionDays' parameter from cmdlet 'Set-AzSqlDatabaseBackupShortTermRetentionPolicy'
- Auditing to a storage account in Vnet, fixing a bug when creating a Storage Blob Data Contributor role.
Az.Storage
- โ Added '-AsJob' to get/list account cmdlet 'Get-AzStorageAccount'
- โก๏ธ Make KeyVersion to optional when update Storage account with KeyvaultEncryption, to support key auto-rotation
- 'Set-AzStorageAccount'
- ๐ Fixed remove Azure File Directory fail with pipeline
- 'Remove-AzStorageDirectory'
- ๐ Fixed [#9880]: Change NetWorkRule DefaultAction value defination to align with swagger.
- 'Update-AzStorageAccountNetworkRuleSet'
- 'Get-AzStorageAccountNetworkRuleSet'
- ๐ Fixed [#11624]: Skip duplicated rules when add NetworkRules, to avoid server failure
- 'Add-AzStorageAccountNetworkRule'
- โฌ๏ธ Upgraded Microsoft.Azure.Cosmos.Table SDK to 1.0.7
- โ Added a warning message to remind user to list again with ContinuationToken when only part items are returned in list DataLake Gen2 Items,
- 'Get-AzDataLakeGen2ChildItem'
- ๐ Supported to create or update Storage account with Azure Files Active Directory Domain Service Authentication
- 'New-AzStorageAccount'
- 'Set-AzStorageAccount'
- ๐ Supported to new or list Kerberos keys of Storage account
- 'New-AzStorageAccountKey'
- 'Get-AzStorageAccountKey'
- ๐ Supported failover Storage account
- 'Invoke-AzStorageAccountFailover'
- โก๏ธ Updated help of 'Get-AzStorageBlobCopyState'
- โก๏ธ Updated help of 'Get-AzStorageFileCopyState' and 'Start-AzStorageBlobCopy'
- โ Integrated Storage client library v12 to Queue and File cmdlets
- ๐ Changed output type from CloudFile to AzureStorageFile, the original output will become a child property of the new output
- 'Get-AzStorageFile'
- 'Remove-AzStorageFile'
- 'Get-AzStorageFileContent'
- 'Set-AzStorageFileContent'
- 'Start-AzStorageFileCopy'
- ๐ Changed output type from CloudFileDirectory to AzureStorageFileDirectory, the original output will become a child property of the new output
- 'New-AzStorageDirectory'
- 'Remove-AzStorageDirectory'
- ๐ Changed output type from CloudFileShare to AzureStorageFileShare, the original output will become a child property of the new output
- 'Get-AzStorageShare'
- 'New-AzStorageShare'
- 'Remove-AzStorageShare'
- ๐ Changed output type from FileShareProperties to AzureStorageFileShare, the original output will become a sub child property of the new output
- 'Set-AzStorageShareQuota'
Az.TrafficManager
- ๐ Fixed incorrect profile name in 'DisableAzureTrafficManagerEndpoint' verbose output
Az.Websites
- ๐ Fixed typo on help of 'Update-AzWebAppAccessRestrictionConfig'.