Az

2.1.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

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name Az -RequiredVersion 2.1.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

2.1.0 - May 2019
Az.ApiManagement
* Created new Cmdlets for managing diagnostics at the global and API Scope
   - **Get-AzApiManagementDiagnostic** - Get the diagnostics configured a global or api Scope
   - **New-AzApiManagementDiagnostic** - Create new diagnostics at the global scope or api Scope
   - **New-AzApiManagementHttpMessageDiagnostic** - Create diagnostic setting for which Headers to log and the size of Body Bytes
   - **New-AzApiManagementPipelineDiagnosticSetting** - Create Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
   - **New-AzApiManagementSamplingSetting** - Create Sampling Setting  for the requests/response for a diagnostic
   - **Remove-AzApiManagementDiagnostic** - Remove a diagnostic entity at global or api scope
   - **Set-AzApiManagementDiagnostic** - Update a diagnostic Entity at global or api scope
* Created new Cmdlets for managing Cache in ApiManagement service
   - **Get-AzApiManagementCache** - Get the details of the Cache specified by identifier or all caches
   - **New-AzApiManagementCache** - Create a new 'default' Cache or Cache in a particular azure 'region'
   - **Remove-AzApiManagementCache** - Remove a cache
   - **Update-AzApiManagementCache** - Update a cache
* Created new Cmdlets for managing API Schema
   - **New-AzApiManagementSchema** - Create a new Schema for an API
   - **Get-AzApiManagementSchema** - Get the schemas configured in the API
   - **Remove-AzApiManagementSchema** - Remove the schema configured in the API
   - **Set-AzApiManagementSchema** - Update the schema configured in the API
* Created new Cmdlet for generating a User Token.
   - **New-AzApiManagementUserToken** - Generate a new User Token valid for 8 hours by default.Token for the 'GIT' user can be generated using this cmdlet./
* Created a new cmdlet to retrieving the Network Status
   - **Get-AzApiManagementNetworkStatus** - Get the Network status connectivity of resources on which API Management service depends on. This is useful when deploying ApiManagement service into a Virtual Network and validing whether any of the dependencies are broken.
* Updated cmdlet **New-AzApiManagement** to manage ApiManagement service
   - Added support for the new 'Consumption' SKU
   - Added support to turn the 'EnableClientCertificate' flag on for 'Consumption' SKU
   - The new cmdlet **New-AzApiManagementSslSetting** allows configuring 'TLS/SSL' setting on the 'Backend' and 'Frontend'. This can also be used to configure 'Ciphers' like '3DES' and 'ServerProtocols' like 'Http2' on the 'Frontend' of an ApiManagement service.
   - Added support for configuring the 'DeveloperPortal' hostname on ApiManagement service.
* Updated cmdlets **Get-AzApiManagementSsoToken** to take 'PsApiManagement' object as input
* Updated the cmdlet to display Error Messages inline
    > PS D:\github\azure-powershell> Set-AzApiManagementPolicy -Context  -PolicyFilePath C:\wrongpolicy.xml -ApiId httpbin
    >   Set-AzApiManagementPolicy :
    Error Code: ValidationError
    Error Message: One or more fields contain incorrect values:
    Error Details:
       [Code=ValidationError, Message=Error in element 'log-to-eventhub' on line 3, column 10: Logger not found, Target=log-to-eventhub]
* Updated cmdlet **Export-AzApiManagementApi** to export APIs in 'OpenApi 3.0' format
* Updated cmdlet **Import-AzApiManagementApi**
   - To import Api from 'OpenApi 3.0' document specification
   - To override the 'PsApiManagementSchema' property specified in any ('Swagger', 'Wadl', 'Wsdl', 'OpenApi') document.
   - To override the 'ServiceUrl' property specified in any document.
* Updated cmdlet **Get-AzApiManagementPolicy** to return policy in Non-Xml escaped 'format' using 'rawxml'
* Updated cmdlet **Set-AzApiManagementPolicy** to accept policy in Non-Xml escaped 'format' using 'rawxml' and Xml escaped using 'xml'
* Updated cmdlet **New-AzApiManagementApi**
   - To configure API with 'OpenId' authorization server.
   - To create an API in an 'ApiVersionSet'
   - To clone an API using 'SourceApiId' and 'SourceApiRevision'.
   - Ability to configure 'SubscriptionRequired' at the Api scope.
* Updated cmdlet **Set-AzApiManagementApi**
   - To configure API with 'OpenId' authorization server.
   - To updated an API into an 'ApiVersionSet'    
   - Ability to configure 'SubscriptionRequired' at the Api scope.
* Updated cmdlet **New-AzApiManagementRevision**
   - To clone (copy tags, products, operations and policies) an existing revision using 'SourceApiRevision'. The new Revision assumes the 'ApiId' of the parent.
   - To provide an 'ApiRevisionDescription'
   - To override the 'ServiceUrl' when cloning an API.
* Updated cmdlet **New-AzApiManagementIdentityProvider**
   - To configure 'AAD' or 'AADB2C' with an 'Authority'
   - To setup 'SignupPolicy', 'SigninPolicy', 'ProfileEditingPolicy' and 'PasswordResetPolicy'
* Updated cmdlet **New-AzApiManagementSubscription**
   - To account for the new SubscriptonModel using 'Scope' and 'UserId'
   - To account for the old subscription model using 'ProductId' and 'UserId'
   - Add support to enable 'AllowTracing' at the subscription level.
* Updated cmdlet **Set-AzApiManagementSubscription**
   - To account for the new SubscriptonModel using 'Scope' and 'UserId'
   - To account for the old subscription model using 'ProductId' and 'UserId'
   - Add support to enable 'AllowTracing' at the subscription level.
* Updated following cmdlets to accept 'ResourceId' as input
   - 'New-AzApiManagementContext'
       > New-AzApiManagementContext -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso
   - 'Get-AzApiManagementApiRelease'
       > Get-AzApiManagementApiRelease -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso/apis/echo-api/releases/releaseId
   - 'Get-AzApiManagementApiVersionSet'
       > Get-AzApiManagementApiVersionSet -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/constoso/apiversionsets/pathversionset
   - 'Get-AzApiManagementAuthorizationServer'
   - 'Get-AzApiManagementBackend'
       > Get-AzApiManagementBackend -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso/backends/servicefabric
   - 'Get-AzApiManagementCertificate'
   - 'Remove-AzApiManagementApiVersionSet'
   - 'Remove-AzApiManagementSubscription'

Az.Automation
* Updated Get-AzAutomationJobOutputRecord to handle JSON and Text record values.
   - Fix for issue https://github.com/Azure/azure-powershell/issues/7977
   - Fix for issue https://github.com/Azure/azure-powershell/issues/8600
* Changed behavior for Start-AzAutomationDscCompilationJob to just start the job instead of waiting for its completion.
   * Fix for issue https://github.com/Azure/azure-powershell/issues/8347
* Fix for Get-AzAutomationDscNode when using -Name returns all node. Now it returns matching node only.

Az.Compute
* Add ProtectFromScaleIn and ProtectFromScaleSetAction parameters to Update-AzVmssVM cmdlet.
* New-AzVM wimple parameter set now uses by default an available location if 'East US' is not supported

Az.DataLakeStore
* Update the ADLS sdk to use httpclient, integrate dataplane testing with azure framework

Az.Monitor
* Fixed incorrect parameter names in help examples

Az.Network
* Add DisableBgpRoutePropagation flag to Effective Route Table output
   - Updated cmdlet:
       - Get-AzEffectiveRouteTable
* Fix double dash in New-AzApplicationGatewayTrustedRootCertificate documentation

Az.Resources
* Add new cmdlet Get-AzureRmDenyAssignment for retrieving deny assignments

Az.Sql
* Rename Advanced Threat Protection cmdlets to Advanced Data Security and enable Vulnerability Assessment by default

FileList

Version History

Version Downloads Last updated
13.4.0 3,955,777 4/1/2025
13.3.0 3,043,083 3/4/2025
13.2.0 2,519,930 2/11/2025
13.1.0 4,093,208 1/14/2025
13.0.0 5,374,288 11/19/2024
12.5.0 797,124 11/11/2024
12.4.0 3,022,367 10/8/2024
12.3.0 2,504,918 9/3/2024
12.2.0 1,953,664 8/6/2024
12.1.0 1,970,273 7/9/2024
12.0.0 4,582,987 5/21/2024
11.6.0 1,636,704 4/30/2024
11.5.0 1,756,676 4/2/2024
11.4.0 1,770,978 3/5/2024
11.3.1 1,462,333 2/9/2024
11.3.0 427,102 2/6/2024
11.2.0 1,465,271 1/9/2024
11.1.0 1,560,562 12/5/2023
11.0.0 1,160,865 11/14/2023
10.4.1 2,860,948 9/27/2023
10.4.0 69,154 9/26/2023
10.3.0 3,088,383 9/5/2023
10.2.0 1,281,490 8/1/2023
10.1.0 1,084,776 7/4/2023
10.0.0 1,496,074 5/23/2023
9.7.1 2,237,527 4/28/2023
9.7.0 143,136 4/25/2023
9.6.0 807,029 4/4/2023
9.5.0 1,132,223 3/9/2023
9.4.0 2,260,384 2/7/2023
9.3.0 1,238,752 1/10/2023
9.2.0 1,138,511 12/6/2022
9.1.1 676,549 11/17/2022
9.1.0 551,349 11/1/2022
9.0.1 1,196,830 10/17/2022
8.3.0 1,911,005 9/6/2022
8.2.0 916,392 8/2/2022
8.1.0 673,200 7/5/2022
8.0.0 3,950,975 5/24/2022
7.5.0 4,249,201 4/26/2022
7.4.0 377,512 4/5/2022
7.3.2 466,239 3/12/2022
7.3.0 261,413 3/1/2022
7.2.1 190,026 2/18/2022
7.2.0 292,591 2/7/2022
7.1.0 684,386 1/4/2022
7.0.0 495,473 12/7/2021
6.6.0 2,179,634 11/2/2021
6.5.0 520,613 10/12/2021
6.4.0 756,892 9/7/2021
6.3.0 648,395 8/3/2021
6.2.1 543,894 7/9/2021
6.2.0 68,324 7/6/2021
6.1.0 399,128 6/15/2021
6.0.0 400,058 5/25/2021
5.9.0 3,260,272 5/4/2021
5.8.0 440,843 4/13/2021
5.7.0 667,766 3/23/2021
5.6.0 538,912 3/2/2021
5.5.0 884,824 2/9/2021
5.4.0 1,646,882 1/19/2021
5.3.0 1,473,889 12/29/2020
5.2.0 1,395,691 12/8/2020
5.1.0 1,653,124 11/17/2020
5.0.0 1,713,245 10/27/2020
4.8.0 3,810,708 10/13/2020
4.7.0 265,637 9/22/2020
4.6.1 1,823,695 8/28/2020
4.6.0 119,084 8/25/2020
4.5.0 430,305 8/4/2020
4.4.0 365,022 7/14/2020
4.3.0 410,180 6/23/2020
4.2.0 397,477 6/2/2020
4.1.0 339,099 5/19/2020
4.0.2-preview 2,408 12/23/2019
4.0.1-preview 1,052 10/9/2019
3.8.0 2,036,801 4/21/2020
3.7.0 299,595 3/31/2020
3.6.1 372,236 3/10/2020
3.5.0 372,737 2/18/2020
3.4.0 204,739 2/4/2020
3.3.0 382,106 1/7/2020
3.2.0 326,414 12/17/2019
3.1.0 555,194 11/26/2019
3.0.0 462,496 11/4/2019
2.8.0 1,087,118 10/15/2019
2.7.0 184,580 9/24/2019
2.6.0 319,388 8/27/2019
2.5.0 403,750 7/30/2019
2.4.0 176,092 7/2/2019
2.3.2 176,636 6/18/2019
2.2.0 78,566 6/4/2019
2.1.0 (current version) 70,129 5/21/2019
2.0.1 10,980 12/15/2021
2.0.0 114,379 5/6/2019
1.8.0 367,170 4/23/2019
1.7.0 54,360 4/9/2019
1.6.0 83,060 3/26/2019
1.5.0 55,962 3/12/2019
1.4.0 43,796 2/26/2019
1.3.0 33,042 2/12/2019
1.2.1 25,187 1/31/2019
1.2.0 4,837 1/29/2019
1.1.0 20,108 1/15/2019
1.0.1 33,769 12/18/2018
1.0.0 28,036 12/18/2018
0.10.0-preview 13,495 4/15/2020
0.7.0 14,744 12/4/2018
0.6.1 9,449 11/21/2018
0.5.0 9,931 11/6/2018
0.4.0 11,298 10/23/2018
0.3.0 11,060 10/9/2018
0.2.2 5,229 9/24/2018
0.1.0 699 8/28/2018
Show less