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

Owners

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

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.

FileList

Version History

Version Downloads Last updated
13.0.0 412,747 11/19/2024
12.5.0 733,893 11/11/2024
12.4.0 2,955,812 10/8/2024
12.3.0 2,486,945 9/3/2024
12.2.0 1,850,469 8/6/2024
12.1.0 1,618,185 7/9/2024
12.0.0 4,507,715 5/21/2024
11.6.0 1,505,749 4/30/2024
11.5.0 1,747,991 4/2/2024
11.4.0 1,712,150 3/5/2024
11.3.1 1,408,638 2/9/2024
11.3.0 299,245 2/6/2024
11.2.0 1,456,468 1/9/2024
11.1.0 1,554,819 12/5/2023
11.0.0 1,140,400 11/14/2023
10.4.1 2,718,285 9/27/2023
10.4.0 69,057 9/26/2023
10.3.0 2,111,282 9/5/2023
10.2.0 1,279,746 8/1/2023
10.1.0 1,082,899 7/4/2023
10.0.0 1,489,999 5/23/2023
9.7.1 2,050,077 4/28/2023
9.7.0 143,037 4/25/2023
9.6.0 803,521 4/4/2023
9.5.0 1,127,336 3/9/2023
9.4.0 1,680,610 2/7/2023
9.3.0 1,224,649 1/10/2023
9.2.0 1,133,667 12/6/2022
9.1.1 665,333 11/17/2022
9.1.0 544,617 11/1/2022
9.0.1 965,358 10/17/2022
8.3.0 1,856,284 9/6/2022
8.2.0 905,911 8/2/2022
8.1.0 670,993 7/5/2022
8.0.0 3,908,373 5/24/2022
7.5.0 3,883,593 4/26/2022
7.4.0 373,973 4/5/2022
7.3.2 465,228 3/12/2022
7.3.0 249,533 3/1/2022
7.2.1 189,763 2/18/2022
7.2.0 278,104 2/7/2022
7.1.0 679,626 1/4/2022
7.0.0 490,057 12/7/2021
6.6.0 2,071,913 11/2/2021
6.5.0 519,606 10/12/2021
6.4.0 754,715 9/7/2021
6.3.0 644,336 8/3/2021
6.2.1 533,696 7/9/2021
6.2.0 67,027 7/6/2021
6.1.0 396,918 6/15/2021
6.0.0 (current version) 397,190 5/25/2021
5.9.0 3,068,119 5/4/2021
5.8.0 440,708 4/13/2021
5.7.0 664,855 3/23/2021
5.6.0 538,628 3/2/2021
5.5.0 882,230 2/9/2021
5.4.0 1,646,337 1/19/2021
5.3.0 1,471,192 12/29/2020
5.2.0 1,394,376 12/8/2020
5.1.0 1,639,646 11/17/2020
5.0.0 1,713,055 10/27/2020
4.8.0 3,494,017 10/13/2020
4.7.0 264,618 9/22/2020
4.6.1 1,821,184 8/28/2020
4.6.0 118,739 8/25/2020
4.5.0 428,372 8/4/2020
4.4.0 364,083 7/14/2020
4.3.0 410,147 6/23/2020
4.2.0 395,546 6/2/2020
4.1.0 338,555 5/19/2020
4.0.2-preview 2,406 12/23/2019
4.0.1-preview 1,049 10/9/2019
3.8.0 2,001,140 4/21/2020
3.7.0 299,396 3/31/2020
3.6.1 371,950 3/10/2020
3.5.0 372,405 2/18/2020
3.4.0 204,738 2/4/2020
3.3.0 382,101 1/7/2020
3.2.0 326,413 12/17/2019
3.1.0 530,773 11/26/2019
3.0.0 461,397 11/4/2019
2.8.0 1,058,366 10/15/2019
2.7.0 184,554 9/24/2019
2.6.0 318,426 8/27/2019
2.5.0 396,785 7/30/2019
2.4.0 176,067 7/2/2019
2.3.2 176,038 6/18/2019
2.2.0 78,543 6/4/2019
2.1.0 70,117 5/21/2019
2.0.1 10,521 12/15/2021
2.0.0 112,182 5/6/2019
1.8.0 366,576 4/23/2019
1.7.0 54,026 4/9/2019
1.6.0 83,021 3/26/2019
1.5.0 55,961 3/12/2019
1.4.0 43,793 2/26/2019
1.3.0 33,041 2/12/2019
1.2.1 25,186 1/31/2019
1.2.0 4,834 1/29/2019
1.1.0 20,105 1/15/2019
1.0.1 33,766 12/18/2018
1.0.0 27,504 12/18/2018
0.10.0-preview 13,348 4/15/2020
0.7.0 14,732 12/4/2018
0.6.1 9,449 11/21/2018
0.5.0 9,931 11/6/2018
0.4.0 11,297 10/23/2018
0.3.0 11,060 10/9/2018
0.2.2 5,229 9/24/2018
0.1.0 698 8/28/2018
Show less