Skip to content

Commit e1c5170

Browse files
authored
To deprecate alias 'Resolve-Error' (#26198)
* To deprecate alias 'Resolve-Error' * update upcoming BC doc
1 parent 5d27de9 commit e1c5170

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

documentation/breaking-changes/upcoming-breaking-changes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Az.Accounts
44

5+
### `Resolve-AzError`
6+
7+
- The alias `Resolve-Error` will be removed. Please use `Resolve-AzError` instead.
8+
- This change is expected to take effect from Az.Accounts version: 4.0.0 and Az version: 13.0.0
9+
510
### `Get-AzAccessToken`
611

712
- Cmdlet breaking-change will happen to all parameter sets

src/Accounts/Accounts/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Added breaking change preannouncement for the removal of alias `Resolve-Error`. #26189
23+
* Integrated new detection library to expand the scope of secrets.
2224

2325
## Version 3.0.4
2426
* Added customized UserAgent for ARM telemetry.
2527
* Fixed secrets exposure in example documentation.
2628
* Updated `Connect-AzAccount` to fix a display issue in PowerShell ISE [#24556].
2729
* Updated the reference of Azure PowerShell Common to 1.3.100-preview.
2830
* Used Azure.Identity and Azure.Core directly for client assertion [#22628].
29-
* Integrated new detection library to expand the scope of secrets.
3031

3132
## Version 3.0.3
3233
* Reduced the frequency of displaying sign-in announcement messages.

src/Accounts/Accounts/Errors/ResolveError.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ namespace Microsoft.Azure.Commands.Profile.Errors
3030
[OutputType(typeof(AzureErrorRecord))]
3131
[OutputType(typeof(AzureExceptionRecord))]
3232
[OutputType(typeof(AzureRestExceptionRecord))]
33+
[GenericBreakingChangeWithVersion("The alias 'Resolve-Error' will be removed. Please use 'Resolve-AzError' instead.", "13.0.0", "4.0.0")]
3334
public class ResolveError : AzureRMCmdlet
3435
{
3536
public const string AnyErrorParameterSet = "AnyErrorParameterSet";

0 commit comments

Comments
 (0)