Skip to content

Commit 6cb39d6

Browse files
asagerwyunchi-msBethanyZhousf-76dingmeng-xue
authored
Add edge zone to publicip, vnet, and nic cmdlet (#14874)
* [CloudService] Second preview release for CloudService (#14653) * GA for CloudService. * GA for CloudService. * GA for CloudService. * Second preview release for CloudService * update ReleaseNotes in Az.CloudService.psd1 Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> * Update New-AzCloudServiceDiagnosticsExtension.ps1 * Update New-AzCloudServiceRemoteDesktopExtensionObject.ps1 * Update ProxyCmdletDefinitions.ps1 * Updating change log to include TrustedLaunch changes for April 2021 release (#14677) * Adding TrustedLaunch related cmdlets to ChangeLog * Removed incorrect changelog edit * Polish changelog for upcoming release (#14686) * Fallback to first available context as DefaultContext if current default context key is 'Default' (#14281) * Fallback to first available context as DefaultContext if current default context key is 'Default' * address comment * Update version of Az.HealthcareApis in Az.psd1 (#14694) * Supporting Customer managed key (#14680) * fixing build errors * NewAzureAutomationAccount. * SetAzureAutomationAccount. * updated test recordings * adding default param set * UpdateDynamicGroupPrePostTests recordings * schedule and hybrid test recordings * UpdateManagementTests recordings * SourceControlTests recordings * HybridWorkerGroupTests records * Update src/Automation/Automation/Cmdlet/NewAzureAutomationAccount.cs Co-authored-by: Beisi Zhou <[email protected]> * Update src/Automation/Automation/Cmdlet/SetAzureAutomationAccount.cs Co-authored-by: Beisi Zhou <[email protected]> * Update src/Automation/Automation/help/Set-AzAutomationAccount.md Co-authored-by: Beisi Zhou <[email protected]> * Update src/Automation/Automation/help/Set-AzAutomationAccount.md Co-authored-by: Beisi Zhou <[email protected]> * Update src/Automation/Automation/Cmdlet/NewAzureAutomationAccount.cs Co-authored-by: Beisi Zhou <[email protected]> * Update src/Automation/Automation/Cmdlet/NewAzureAutomationAccount.cs Co-authored-by: Beisi Zhou <[email protected]> * updated changelog * SourceControlTests * BreakingChangeIssues * avoid breaking change * removing BreakingChangeIssues * avoid breaking change 2 * avoid breaking change 3 * avoid breaking change 4 * UpdateDynamicGroupPrePostTests Co-authored-by: Ayush <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Dingmeng Xue <[email protected]> * Delete appveyor config (#14676) * [Storage] Fix delete immutable blob will give incorrect prompt (#14691) * [SQL] Add breaking change warning (#14673) * add breaking change warning * Update breaking change warning to target cmdlet output * Update changelog to show breaking change warnings added * "upcoming release" Co-authored-by: Dingmeng Xue <[email protected]> * Add more logs in Az.Accounts before calling into Azure.Identity (#14689) * Add more logs before calling into Azure.Identity * Fix test error Co-authored-by: Yeming Liu <[email protected]> * Change default Size value in New-AzVM to Standard_D2S_v3 (#14622) * dev, test, changelog, help doc. * help doc clean * Update NewAzureVMCommand.cs * update recorded test * attempting to resolve errors. Recording then immediately playing back fails. * test passes Co-authored-by: Beisi Zhou <[email protected]> * Renaming Set-AzVmSecurityType & Set-AzVmssSecurityType to Set-AzVmSecurityProfile & Set-AzVmssSecurityProfile (#14709) Force merge due to known issue on Linux * Renaming compute cmdlets set-securitytype to set-securityprofile * Updating mappings.json to reflect Set-SecurityType -> Set-SecurityProfile * Updating SignatureIssues SecurityType -> SecurityProfile Co-authored-by: Sirfame Lin <[email protected]> * [CloudService] Fixed the issue that FrontendIPConfiguration is empty in Get-AzCloudService (#14711) * Fixed the issue that FrontendIPConfiguration is empty in Get-AzCloudService. * Update how-to.md Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Dingmeng Xue <[email protected]> * Updated support for synapse role assignment and Added support for role scope (#14172) * fixing compliationerror * getroleassignment * refine parametersetname * add scope to newroleassignment * add list scope command * refine new-azuresynapseroleassignment * add Itemtype and Item * refine newAzureSynapseRoleAssignment * remove unnecessary feeds * refine deleteroleassignmentid * refine resourceid name * improve remove and getroleassignments * itemtype and item improvement * Fix a few issues * Correct exception types * add principle type * add principaltype * caseinsent * update changelog * add doc for get-azsyanpserolescope * remove powershlles * update help doc * add objectid back * update Az.Synapse.md * update auto generated mdfiles * update changelog * update changelog2 * update changelog3 * update changelog4 * update changelog5 * update changelog6 * update changelog7 * Update src/Synapse/Synapse/ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Dongwei Wang <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> * release-2021-04-13 (#14725) * [Storage] Support Extended location (#14718) * [DataFactroy] Updated ADF .Net SDK version to 4.17.1 (#14722) * Example 2 to use New-AzPolicyExemption (#14716) * Update Location explanation (#14719) There was a typo stating that the location was used to provide the vmware name. Changed it to represent the migrate project location. * Update Get-AzEnvironment.md (#14704) 1. Added a new example 1 to get all Azure environments 2. Updated subsequent example numbers 3. updated code fencing for samples 4. Added parameter named in examples * Added retries for AAD operations and updated HCI mooncake URL (#14746) * AAD retries and updated HCI mooncake URL Added retries for AAD operations and update HCI mooncake URL * Updated changelog and help Updated change log and help for Register-AzStackHCI * Example with wrong parameter (typo) (#14743) Error: Update-AzGalleryImageVersion: A parameter cannot be found that matches parameter name 'GalleryImageName'. Solution: rename GalleryImageName to GalleryImageDefinitionName * Update Get-AzSqlServerDnsAlias.md (#14737) Aligned the casing of the commandlet name in the examples with the definition * Fix typo in printing va scan results (#14732) * Fix typo in printing va scan results * add reference to compute, network and operational insights to the solution to try to mitigate issue with tests * added new line Co-authored-by: Ahmad Abas <[email protected]> Co-authored-by: Yabo Hu <[email protected]> * [Storage] support Key/saspolicy in Create/Update account (#14741) * [Storage] Support Key/SAS policy * Update SRP SDK in other modules * Fix change in SDK upgrade * Using custom domain usgae service URL (#14762) Using cusotm domain usage service URL * SecurityInsights 0.2.0 release (#14750) * Fix MSIC in UpdateAlertRule Bug - Typo on MSIC * API Updates Teams was added Moved Actions API * Fixes for empty fields returned from API ? * Update Get-AzSentinelAlertRule.md * Update Get-AzSentinelAlertRule.md * Update Get-AzSentinelAlertRule.md * Updating help files * Updated help files * Updated samples for Update-AzSentinelIncident * Updated Az.SecurityInsights help files * Update New-AzSentinelAlertRuleAction.md * Update New-AzSentinelAlertRuleAction.md * Update Az.SecurityInsights help files * Update Az.SecurityInsights help files * Updated Az.SecurityInsights help files * GA Updates Added Teams to Office Connector Fixed bug with AlertRuleTemplates (no required data connector) Changed to GA package of .net sdk recorded new test sessions * Update Change Log * Update Help Files * Update SignatureIssues.csv Added exception as -Teams is for Office Teams. * Update ChangeLog.md * Update Az.SecurityInsights.psd1 * Update Az.SecurityInsights.psd1 * Update Az.SecurityInsights.psd1 * Update ChangeLog.md Co-authored-by: Tiander Turpijn <[email protected]> * Pass principal type to role assignment operations (Corrected) (#14631) * add object lookup * Update tests * update tests * retrigger pipelines * delete stale TODO * retrigger pipelines * retrigger pipelines * update old variable names * ad objecttype to calls * update help files * fix typos * change validatenotnullorempty for argument completer * changelog * retrigger pipelines * fix test records * Install Nuget provider only if import fails (#14772) Install Nuget provider only if import fails * fixing typo (#14773) * [FrontDoor] Allow Enable-AzFrontDoorCustomDomainHttps's SecretVersion parameter to be optional to support bring-your-own-certificate auto-rotation (#14765) * Allow Enable-AzFrontDoorCustomDomainHttps's SecretVersion parameter to be optional to support bring-your-own-certificate auto-rotation * Update ChangeLog.md Co-authored-by: Bo Zhang <[email protected]> Co-authored-by: Yabo Hu <[email protected]> * Fixed typos in Restore-AzApiManagement (#14770) * [Peering] Add API version 2020-10-01 (#14714) * 2020-10-01 api changes * Fixing UT * Revert incorrect changes * Cmdlet name change * fix UTs * Fix UTs * Help file online version url * Help file online version url * Updating recorded test files * Recorded tests * Using AzPsException * Addressed review comment * Addressed comment * Update ChangeLog.md Co-authored-by: Renuka Raju <[email protected]> Co-authored-by: Yabo Hu <[email protected]> * [DataFactory] Add User Assigned Identity to DataFactory (#14672) * DataFactoryUAMI * Added descriptions * Change to singular * Update src/DataFactory/DataFactoryV2/Changelog.md Co-authored-by: Beisi Zhou <[email protected]> * Getting build number from CimInstance (#14793) Using the right way to get OS build number which works after OS update as well. * [Storage] Add breaking change warning for Remove-AzRmStorageShare (#14797) * ADE extension two pass to single pass migration (#14687) * Updates for ADE migration * Added -MigrationRecovery logic * Fixed bugs in migration logic * Fixed Migrate param sets * Fixed DEK parameter sets in .md file * Updated KEKUrl, KEKId Parameter sets * Static analysis error suppression added * Update ChangeLog * Added migration scenario test * Remove log line * Scenario test for migration * Updated ChangeLog * fixing a typo (#14779) 'IncludeContext' parameter accepts boolean values and 'true' is a string. It should be '$true' * [Storage] Fix issue 14769 (#14806) * User identity changes (#14803) * UserId changes * updated tests and recordings * updated tests and recordings 2 Co-authored-by: Ayush <[email protected]> * GA Az.ResourceMover (#14808) * Improve the survey and telemetry (#14804) * Collect the command name if it's not supported. * Show the intercept three times * Create a cmdlet to open the survey link. * Fix the commandid in the telemetry. * Improve the telemetry test code. - It used to set up the mock telemetry client with one more expected telemetry event. That is unintuitive and it must be there for work around an issue. The issue isn't there anymore so we don't need to set it up that way. * Refactor the code to record the history command. * Updated intercept message, cmdlet and help Co-authored-by: Damien Caro <[email protected]> * [Storage] Support USer Assigned Identity (#14731) * Remove principaltype in Synapse Role-based access control (#14767) * update changelog7 * remove principal type * update change log * improve changelog * skipbreakingchanges * Update ChangeLog.md Co-authored-by: Yabo Hu <[email protected]> * [RecoveryServices.Backup]Added support for restoring unmanaged disks as managed disk (#14799) * Added support for restroing unmanaged disks as managed disk * Changed parameter name * Update Get-AzNetworkWatcherNextHop.md (#14813) Get-AzVM output object properties have changed. Now $vm.NetworkProfile.NetworkInterfaces.Id would provide the interface IDs. * Service fabric Managed Clusters - Update managed .net sdk for api version 2021-05-01 (#14807) * update managed sdk to ga version and update cmdlets * update managed tests * runtest agains the test region and add params to PS objects * record managed cluster tests * record managed app tests and update changelog * rename plural parameters and update help documents * fix change log param names * breaking change and signature issue exceptions * add breaking change message for PSManagedService Co-authored-by: Alfredo Santamaria Gomez <[email protected]> * Add feedback on the PR (#14820) * Update the warning message (#14816) * [ Azure CDN ] Renamed cmdlets for new AFD SKUs (#14805) * Change cmdlet naming for AFDX * fixes to afd rules, remove originresponsetimeoutseconds from afd endpoint * Change cmdlet naming in tests, update test records * revert sln changes * update change log * update md files * add exceptions for rule action and rule condition cmdlets * change parameter to singular name, return only classic cdn profiles for AzCdn cmdlet Co-authored-by: Jorin Mejia <[email protected]> * Displayed error code and message when updating purged secret (#14822) Co-authored-by: Beisi Zhou <[email protected]> * bug fix for Get-AzKeyVaultSecret -IncludeVersions when current version is disabled (#14823) Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Dingmeng Xue <[email protected]> * Changed output of ResourceGraph cmdlet to a custom class (#14789) * Changed output to a custom class with Data and SkipToken properties * updated change log * Update src/ResourceGraph/ResourceGraph/ChangeLog.md Co-authored-by: makharch <[email protected]> Co-authored-by: Yabo Hu <[email protected]> * [Aks] Add `Set-AzAksClusterCredential` to reset the ServicePrincipal of a existing aks cluster (#14821) * Add SetAzureRmAksCredential * Add `Set-AzAksClusterCredential` to reset the ServicePrincipal or reset AAD profile of a existing aks cluster. * Remove the support of reset AAD profile. * Remove the support of reset AAD profile. * Update the document Co-authored-by: wyunchi <[email protected]> * Initial release for provider hub (#14827) * Move ProviderHub to master * Add ProviderHub in azure-powershell-modules.md (#14826) * Fixed some example issues (#14831) * Add ProviderHub in azure-powershell-modules.md * Fixed some issues in providerhub examples Co-authored-by: azurepowershell <[email protected]> * [Az.DataProtection] OnBoard workload AzureBlobs to Az.DataProtection preview module (#14833) * Move DataProtection to master * Add change log for Az.DataProtection v0.2.0 (#14832) * Update Find-AzDataProtectionRestorableTimeRange.md * Update Changelog.md Co-authored-by: azurepowershell <[email protected]> Co-authored-by: Yabo Hu <[email protected]> * Renamed cmdlet Open-AzSurvey -> Open-AzPredictorSurvey (#14840) * [Aks] Added acr support in Set-AzAksCluster (#14796) * Added support acr in Set-AzAksCluster * Added support acr in Set-AzAksCluster * Added support acr in Set-AzAksCluster * Merge NewKubeBase and NewAzureRmAks into one class. * Merge NewKubeBase and NewAzureRmAks into one class. * Added support acr in Set-AzAksCluster * Added support acr in Set-AzAksCluster * Added support acr in Set-AzAksCluster * Added support acr in Set-AzAksCluster * Update the document * Remove container registery in test cases Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Yabo Hu <[email protected]> * Update API version to 2020-12-01 (#14742) * Update to 2020-12-01 * Change exception thrown * BackupStatus name mandatory * Update recordings * Backup fixes * Bump az.account * Update help markdown * Update removebackup * Enable backup tests Co-authored-by: Audunn Baldvinsson <[email protected]> Co-authored-by: Yabo Hu <[email protected]> * [DataFactroy] Updated ADF .Net SDK version to 4.18.0 (#14846) Co-authored-by: Yabo Hu <[email protected]> Co-authored-by: Yunchi Wang <[email protected]> * fix the issue that detected special commit incorrectly in use GenerateExternalContributors.ps1 (#14828) Force merge due to timeout. * fix the issue that detected special commit incorrectly in use GenerateExternalContributors.ps1. * change code comment. * adjust code to use logic and Co-authored-by: Dingmeng Xue <[email protected]> Co-authored-by: Yunchi Wang <[email protected]> * Azure site recovery powershell release after moving to version 2021-02-10 (#14768) * New api version/asr2021 02 10 (#27) * Fixing PFO/TFO/UFO build errors * mulltiple ip per nic - cmdlet changes * review changes * code review changes * moved validaton to nicConfig cmdlet and review changes * minor fix * handled review comments * parameter validation changes, logs * design review changes * Fixing PFO/TFO/UFO build errors * mulltiple ip per nic - cmdlet changes review changes code review changes moved validaton to nicConfig cmdlet and review changes minor fix handled review comments parameter validation changes, logs design review changes subash's multiple IP per NIC PR changes * Fixing B2A, E2A and E2E Tests and added recording * [ASR][V2A/H2A] TargetVmSize, AvSet, Sql RP and ResourceTagging changes for V2A and H2A * Minor fix * vmss changes -1 * 2) vmss changes - MD files * Addressed review comments and added new tests and recordings for B2A * vmss changes * Addressed review comments * Minor fixes * Added V2A tests and recordings * PR comments * Update New-AzRecoveryServicesAsrReplicationProtectedItem.md * Minor Fix * Adding null for OdataQuery as its default value is also null. * V2A test record json files * Fix for Resource Tagging to clear off tags * Minor fix in playback mode for v2a unit tests Co-authored-by: Arpita Gupta <[email protected]> Co-authored-by: subashchandra31 <[email protected]> Co-authored-by: subashchandra31 <[email protected]> Co-authored-by: Arpitaji <[email protected]> Co-authored-by: Vidyadhari Jami <[email protected]> Co-authored-by: vidyadharijami <[email protected]> Co-authored-by: prmyaka <[email protected]> * Tests tested in playback mode TestNewA2AManagedDiskReplicationConfigWithCmk A2AZoneToZoneRecoveryPlanReplication A2ATestNewContainer A2ARemoveReplicationProtectedItemDisk A2ARecoveryPlanReplication A2ANewAsrFabric vmss test Adding tests TestNewA2AManagedDiskReplicationConfig TestNewA2ADiskReplicationConfig adding ppg test for a2a * help file, PSObject and minor fixes * review comments * null check * updated test and test json * updated changeLog * skip common: v2a event test * updating SDK version * updating tests * adding comments * update online version in help files * update help file * adding breaking change exceptions * updated help file * changing breaking changes in reovery * adding recovery service changes * remove nupkg file * removing vaultcreds * adding recovery service changes * remove nupkg file * removing vaultcreds * V2A test update for linux * update V2A test Co-authored-by: Arpita Gupta <[email protected]> Co-authored-by: subashchandra31 <[email protected]> Co-authored-by: subashchandra31 <[email protected]> Co-authored-by: Arpitaji <[email protected]> Co-authored-by: Vidyadhari Jami <[email protected]> Co-authored-by: vidyadharijami <[email protected]> Co-authored-by: prmyaka <[email protected]> * bulk of network changes - nic,pubip,vnet commands * removed type field due to strange issue * made edge zone optional for vnet * workaround via automapper for network sdk Co-authored-by: Yunchi Wang <[email protected]> Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Sirfame Lin <[email protected]> Co-authored-by: Dingmeng Xue <[email protected]> Co-authored-by: erich-wang <[email protected]> Co-authored-by: sharma224 <[email protected]> Co-authored-by: Ayush <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: Simeng <[email protected]> Co-authored-by: Wei Wei <[email protected]> Co-authored-by: xaliciayang <[email protected]> Co-authored-by: Yeming Liu <[email protected]> Co-authored-by: Adam Sandor <[email protected]> Co-authored-by: Sirfame Lin <[email protected]> Co-authored-by: zesluo <[email protected]> Co-authored-by: Dongwei Wang <[email protected]> Co-authored-by: Jingshu923 <[email protected]> Co-authored-by: Remco Eissing <[email protected]> Co-authored-by: Yannick Dils <[email protected]> Co-authored-by: Thomas Lee <[email protected]> Co-authored-by: digot007 <[email protected]> Co-authored-by: Fabian <[email protected]> Co-authored-by: Dr Greg Low <[email protected]> Co-authored-by: Ahmad Abbas <[email protected]> Co-authored-by: Ahmad Abas <[email protected]> Co-authored-by: Yabo Hu <[email protected]> Co-authored-by: dicolanl <[email protected]> Co-authored-by: Tiander Turpijn <[email protected]> Co-authored-by: Daniel Orozco <[email protected]> Co-authored-by: Prateek Singh <[email protected]> Co-authored-by: t-bzhan <[email protected]> Co-authored-by: Bo Zhang <[email protected]> Co-authored-by: renuka-raju <[email protected]> Co-authored-by: Renuka Raju <[email protected]> Co-authored-by: Pacodel <[email protected]> Co-authored-by: Jyotsna Anand <[email protected]> Co-authored-by: kceiw <[email protected]> Co-authored-by: Damien Caro <[email protected]> Co-authored-by: Sambit Rath <[email protected]> Co-authored-by: gradinDotCom <[email protected]> Co-authored-by: Alfredo Santamaria <[email protected]> Co-authored-by: Alfredo Santamaria Gomez <[email protected]> Co-authored-by: Jorin Mejia <[email protected]> Co-authored-by: Jorin Mejia <[email protected]> Co-authored-by: fenwickt <[email protected]> Co-authored-by: makharch <[email protected]> Co-authored-by: Xiaogang <[email protected]> Co-authored-by: azurepowershell <[email protected]> Co-authored-by: Auðunn <[email protected]> Co-authored-by: Audunn Baldvinsson <[email protected]> Co-authored-by: LucasYao93 <[email protected]> Co-authored-by: nilgupta6 <[email protected]> Co-authored-by: Arpita Gupta <[email protected]> Co-authored-by: subashchandra31 <[email protected]> Co-authored-by: subashchandra31 <[email protected]> Co-authored-by: Arpitaji <[email protected]> Co-authored-by: Vidyadhari Jami <[email protected]> Co-authored-by: vidyadharijami <[email protected]> Co-authored-by: prmyaka <[email protected]> Co-authored-by: Andrew Sager <[email protected]>
1 parent b213c80 commit 6cb39d6

File tree

3,253 files changed

+1454916
-332456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,253 files changed

+1454916
-332456
lines changed

ChangeLog.md

Lines changed: 73 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
1+
## 5.8.0 - April 2021
2+
#### Az.Accounts
3+
* Fallback to first valid context if current default context key is 'Default' which is invalid
4+
5+
#### Az.Automation
6+
* Added support for Customer Managed Key Encryption with System Assigned Identity
7+
* Fixed issue that disables the schedule for update deployment if schedule was re-created with same name
8+
9+
#### Az.Compute
10+
* Fixed a bug when 1 data disk attached to VMSS for Remove-AzVmssDataDisk [#13368]
11+
* Added new cmdlets to support TrustedLaunch related cmdlets:
12+
- 'Set-AzVmSecurityProfile'
13+
- 'Set-AzVmUefi'
14+
- 'Set-AzVmssSecurityProfile'
15+
- 'Set-AzVmssUefi'
16+
* Edited default value for Size parameter in New-AzVM cmdlet from Standard_DS1_v2 to Standard_D2s_v3.
17+
18+
#### Az.ContainerRegistry
19+
* Fixed bug in 'Get-AzContainerRegistryManifest' showing incorrect image name
20+
21+
#### Az.HDInsight
22+
* Supported getting default vmsize from backend if customer does not provide the related parameters: '-WorkerNodeSize', '-HeadNodeSize', '-ZookeeperNodeSize', '-EdgeNodeSize', '-KafkaManagementNodeSize'.
23+
24+
#### Az.HealthcareApis
25+
* Added support for Acr LoginServers
26+
27+
#### Az.KeyVault
28+
* Fixed a bug for 'Get-AzKeyVaultSecret -AsPlainText' if the secret is not found [#14645]
29+
30+
#### Az.Migrate
31+
* Nullref Bug fixed in get discovered server and initialize replication infrastructure commandlets.
32+
33+
#### Az.Monitor
34+
* Added cmdlet to get diagnostic setting categories for subscription
35+
- 'Get-AzSubscriptionDiagnosticSettingCategory'
36+
* Supported subscription diagnostic setting operations with new parameter: SubscriptionId
37+
- 'Get-AzDiagnosticSetting'
38+
- 'New-AzDiagnosticSetting'
39+
- 'Remove-AzDiagnosticSetting'
40+
* Supported 'AutoMitigate' parameter in metric alert rule properties. The flag indicates whether the alert should be auto resolved or not.
41+
42+
#### Az.Resources
43+
* Added upcoming breaking change warnings on below cmdlets, because the value of 'IdentifierUris' parameter will need verified domain.
44+
- 'New-AzADApplication'
45+
- 'Update-AzADApplication'
46+
- 'New-AzADServicePrincipal'
47+
- 'Update-AzADServicePrincipal'
48+
* Ignored Bicep warning message in error stream if exitcode equals zero.
49+
50+
#### Az.Sql
51+
* Added cmdlet output breaking change warnings to the following:
52+
- 'New-AzSqlDatabase'
53+
- 'Get-AzSqlDatabase'
54+
- 'Set-AzSqlDatabase'
55+
- 'Remove-AzSqlDatabase'
56+
- 'New-AzSqlDatabaseSecondary'
57+
- 'Remove-AzSqlDatabaseSecondary'
58+
- 'Get-AzSqlDatabaseReplicationLink'
59+
- 'New-AzSqlDatabaseCopy'
60+
- 'Set-AzSqlDatabaseSecondary'
61+
62+
#### Az.Storage
63+
* Fixed copy blob fail with source context as Oauth [#14662]
64+
- 'Start-AzStorageBlobCopy'
65+
66+
#### Az.StreamAnalytics
67+
* Added upcoming breaking change warning message to all cmdlets because of upcoming changes on parameters.
68+
69+
### Thanks to our community contributors
70+
* Andrei Zhukouski (@BurgerZ), Fix typo (#14575)
71+
* Mark Allison (@markallisongit), Update Invoke-AzSqlInstanceFailover.md (#14603)
72+
73+
174
## 5.7.0 - March 2021
275
#### Az.Accounts
376
* Fixed incorrect warning message on Windows PowerShell [#14556]
@@ -138,11 +211,6 @@
138211
- 'Remove-AzContainerService'
139212
- 'Remove-AzContainerServiceAgentPoolProfile'
140213
- 'Update-AzContainerService'
141-
* Added new cmdlet `Set-AzVmUefi`
142-
* Added new cmdlet `Set-AzVmSecurityType`
143-
* Added new cmdlet `Set-AzVmssUefi`
144-
* Added new cmdlet `Set-AzVmssSecurityType`
145-
146214

147215
#### Az.ContainerRegistry
148216
* Fixed authentication for `Connect-AzContainerRegistry`

appveyor.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

documentation/azure-powershell-modules.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ Portal | `Az.Portal`
9999
Database for PostgreSQL | `Az.PostgreSql` | [![PostgreSql]][PostgreSqlGallery]
100100
Power BI Embedded | `Az.PowerBIEmbedded` | [![PowerBIEmbedded]][PowerBIEmbeddedGallery]
101101
Private Dns | `Az.PrivateDns` | [![PrivateDns]][PrivateDnsGallery]
102+
Provider Hub | `Az.ProviderHub` | [![ProviderHub]][ProviderHubGallery]
102103
Recovery Services | `Az.RecoveryServices` | [![RecoveryServices]][RecoveryServicesGallery]
103104
Redis Cache | `Az.RedisCache` | [![RedisCache]][RedisCacheGallery]
104105
Redis Enterprise Cache | `Az.RedisEnterpriseCache` | [![RedisEnterpriseCache]][RedisEnterpriseCacheGallery]
@@ -223,6 +224,7 @@ Windows Iot Services | `Az.WindowsIotServices`
223224
[PostgreSql]: https://img.shields.io/powershellgallery/v/Az.PostgreSql.svg?style=flat-square&label=Az.PostgreSql
224225
[PowerBIEmbedded]: https://img.shields.io/powershellgallery/v/Az.PowerBIEmbedded.svg?style=flat-square&label=Az.PowerBIEmbedded
225226
[PrivateDns]: https://img.shields.io/powershellgallery/v/Az.PrivateDns.svg?style=flat-square&label=Az.PrivateDns
227+
[ProviderHub]: https://img.shields.io/powershellgallery/v/Az.ProviderHub.svg?style=flat-square&label=Az.ProviderHub
226228
[RecoveryServices]: https://img.shields.io/powershellgallery/v/Az.RecoveryServices.svg?style=flat-square&label=Az.RecoveryServices
227229
[RedisCache]: https://img.shields.io/powershellgallery/v/Az.RedisCache.svg?style=flat-square&label=Az.RedisCache
228230
[RedisEnterpriseCache]: https://img.shields.io/powershellgallery/v/Az.RedisEnterpriseCache.svg?style=flat-square&label=Az.RedisEnterpriseCache
@@ -345,6 +347,7 @@ Windows Iot Services | `Az.WindowsIotServices`
345347
[PostgreSqlGallery]: https://www.powershellgallery.com/packages/Az.PostgreSql/
346348
[PowerBIEmbeddedGallery]: https://www.powershellgallery.com/packages/Az.PowerBIEmbedded/
347349
[PrivateDnsGallery]: https://www.powershellgallery.com/packages/Az.PrivateDns/
350+
[ProviderHubGallery]: https://www.powershellgallery.com/packages/Az.ProviderHub/
348351
[RecoveryServicesGallery]: https://www.powershellgallery.com/packages/Az.RecoveryServices/
349352
[RedisCacheGallery]: https://www.powershellgallery.com/packages/Az.RedisCache/
350353
[RedisEnterpriseCacheGallery]: https://www.powershellgallery.com/packages/Az.RedisEnterpriseCache/

setup/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if( (-not (get-command -ea 0 light)) -or (-not (get-command -ea 0 heat)) -or (-n
3737
$outputName ="Az-Cmdlets"
3838

3939
# generate the product name from the current month/year.
40-
$productName = "Microsoft Azure PowerShell - March 2021"
40+
$productName = "Microsoft Azure PowerShell - April 2021"
4141

4242
# where to put temp files
4343
$tmp = Join-Path $env:temp azure-cmdlets-tmp

src/ADDomainServices/Az.ADDomainServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.7'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.8'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Az.ADDomainServices.private.dll'

src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ public override void ExecuteCmdlet()
417417
}
418418

419419
profileClient.WarningLog = (message) => _tasks.Enqueue(new Task(() => this.WriteWarning(message)));
420+
profileClient.DebugLog = (message) => _tasks.Enqueue(new Task(() => this.WriteDebugWithTimestamp(message)));
420421
var task = new Task<AzureRmProfile>( () => profileClient.Login(
421422
azureAccount,
422423
_environment,

src/Accounts/Accounts/Az.Accounts.psd1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 3/17/2021
6+
# Generated on: 4/8/2021
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '2.2.7'
15+
ModuleVersion = '2.2.8'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -143,8 +143,7 @@ PrivateData = @{
143143
# IconUri = ''
144144

145145
# ReleaseNotes of this module
146-
ReleaseNotes = '* Fixed incorrect warning message on Windows PowerShell [#14556]
147-
* Set Azure Environment variable ''AzureKeyVaultServiceEndpointResourceId'' according to the value of ''AzureKeyVaultDnsSuffix'' when discovering environment '
146+
ReleaseNotes = '* Fallback to first valid context if current default context key is ''Default'' which is invalid'
148147

149148
# Prerelease string of this module
150149
# Prerelease = ''

src/Accounts/Accounts/AzureRmAlias/Mappings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@
520520
"Remove-AzVmssDataDisk": "Remove-AzureRmVmssDataDisk",
521521
"Remove-AzVmssNetworkInterfaceConfiguration": "Remove-AzureRmVmssNetworkInterfaceConfiguration",
522522
"Set-AzVmssOsProfile": "Set-AzureRmVmssOsProfile",
523-
"Set-AzVmssSecurityType": "Set-AzureRmVmssSecurityType",
523+
"Set-AzVmssSecurityProfile": "Set-AzureRmVmssSecurityProfile",
524524
"Set-AzVmssUefi": "Set-AzureRmVmssUefi",
525525
"Set-AzVmssStorageProfile": "Set-AzureRmVmssStorageProfile",
526526
"New-AzVmss": "New-AzureRmVmss",

src/Accounts/Accounts/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@
1717
* Overview of change #1
1818
- Additional information about change #1
1919
-->
20+
2021
## Upcoming Release
2122

23+
## Version 2.2.8
24+
* Fallback to first valid context if current default context key is "Default" which is invalid
25+
2226
## Version 2.2.7
2327
* Fixed incorrect warning message on Windows PowerShell [#14556]
2428
* Set Azure Environment variable `AzureKeyVaultServiceEndpointResourceId` according to the value of `AzureKeyVaultDnsSuffix` when discovering environment

src/Accounts/Accounts/Models/RMProfileClient.cs

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public class RMProfileClient
3636
private IProfileOperations _profile;
3737
private IAzureTokenCache _cache;
3838
public Action<string> WarningLog;
39+
public Action<string> DebugLog;
3940

4041
private IAzureContext DefaultContext
4142
{
@@ -242,9 +243,10 @@ public AzureRmProfile Login(
242243
token = null;
243244
}
244245
}
245-
catch
246+
catch(Exception e)
246247
{
247-
WriteWarningMessage(string.Format(ProfileMessages.UnableToAqcuireToken, tenant));
248+
WriteWarningMessage(string.Format(ProfileMessages.UnableToAqcuireToken, tenant, e.Message));
249+
WriteDebugMessage(string.Format(ProfileMessages.UnableToAqcuireToken, tenant, e.ToString()));
248250
}
249251

250252
if (token != null &&
@@ -498,12 +500,13 @@ public IEnumerable<IAzureSubscription> ListSubscriptions(string tenantIdOrDomain
498500
ListAllSubscriptionsForTenant(
499501
(tenant.GetId() == Guid.Empty) ? tenant.Directory : tenant.Id.ToString()));
500502
}
501-
catch (AadAuthenticationException)
503+
catch (AadAuthenticationException e)
502504
{
503505
WriteWarningMessage(string.Format(
504506
ProfileMessages.UnableToLogin,
505507
_profile.DefaultContext.Account,
506508
tenant));
509+
WriteDebugMessage(e.ToString());
507510
}
508511

509512
}
@@ -604,6 +607,7 @@ private bool TryGetTenantSubscription(IAccessToken accessToken,
604607
if (isTenantPresent || !string.Equals(ex.Body?.Code, "InvalidAuthenticationTokenTenant", StringComparison.OrdinalIgnoreCase))
605608
{
606609
WriteWarningMessage(ex.Message);
610+
WriteDebugMessage(ex.ToString());
607611
}
608612
}
609613

@@ -652,9 +656,10 @@ private List<AzureTenant> ListAccountTenants(
652656

653657
result = SubscriptionAndTenantClient?.ListAccountTenants(commonTenantToken, environment);
654658
}
655-
catch
659+
catch(Exception e)
656660
{
657-
WriteWarningMessage(string.Format(ProfileMessages.UnableToAqcuireToken, commonTenant));
661+
WriteWarningMessage(string.Format(ProfileMessages.UnableToAqcuireToken, commonTenant, e.Message));
662+
WriteDebugMessage(string.Format(ProfileMessages.UnableToAqcuireToken, commonTenant, e.ToString()));
658663
if (account.IsPropertySet(AzureAccount.Property.Tenants))
659664
{
660665
result =
@@ -698,9 +703,10 @@ private IEnumerable<AzureSubscription> ListAllSubscriptionsForTenant(
698703
{
699704
accessToken = AcquireAccessToken(account, environment, tenantId, password, promptBehavior, null);
700705
}
701-
catch
706+
catch(Exception e)
702707
{
703-
WriteWarningMessage(string.Format(ProfileMessages.UnableToAqcuireToken, tenantId));
708+
WriteWarningMessage(string.Format(ProfileMessages.UnableToAqcuireToken, tenantId, e.Message));
709+
WriteDebugMessage(string.Format(ProfileMessages.UnableToAqcuireToken, tenantId, e.ToString()));
704710
return new List<AzureSubscription>();
705711
}
706712

@@ -715,6 +721,14 @@ private void WriteWarningMessage(string message)
715721
}
716722
}
717723

724+
private void WriteDebugMessage(string message)
725+
{
726+
if(DebugLog != null)
727+
{
728+
DebugLog(message);
729+
}
730+
}
731+
718732
public ISubscriptionClientWrapper SubscriptionAndTenantClient = null;
719733
}
720734
}

src/Accounts/Accounts/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545

46-
[assembly: AssemblyVersion("2.2.7")]
47-
[assembly: AssemblyFileVersion("2.2.7")]
46+
[assembly: AssemblyVersion("2.2.8")]
47+
[assembly: AssemblyFileVersion("2.2.8")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test")]
5050
#endif

src/Accounts/Accounts/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Accounts/Accounts/Properties/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
<value>To create an access token credential, you must provide an access token account.</value>
340340
</data>
341341
<data name="UnableToAqcuireToken" xml:space="preserve">
342-
<value>Unable to acquire token for tenant '{0}'</value>
342+
<value>Unable to acquire token for tenant '{0}' with error '{1}'</value>
343343
</data>
344344
<data name="UnableToLogin" xml:space="preserve">
345345
<value>Could not authenticate user account '{0}' with tenant '{1}'. Subscriptions in this tenant will not be listed. Please login again using Connect-AzAccount to view the subscriptions in this tenant.</value>

0 commit comments

Comments
 (0)