Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public class ConnectAzureRmAccountCommand : AzureContextModificationCmdlet, IMod
[Parameter(ParameterSetName = AccessTokenParameterSet,
Mandatory = true, HelpMessage = "Account Id for access token")]
[Parameter(ParameterSetName = ManagedServiceParameterSet,
Mandatory = false, HelpMessage = "Account Id for managed service. Can be a managed service resource Id, or the associated client id. To use the SystemAssigned identity, leave this field blank.")]
Mandatory = false, HelpMessage = "Client id of UserAssigned identity. To use the SystemAssigned identity, leave this field blank.")]
[ValidateNotNullOrEmpty]
public string AccountId { get; set; }

Expand Down
1 change: 1 addition & 0 deletions src/Accounts/Accounts/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-->

## Upcoming Release
* Fixed the Managed Identity parameter set description of `AccountId` in `Connect-AzAccount`.
* Made the breaking change warnings about `Get-AzAccessToken` not appear when `-AsSecureString` is used.
* Fixed an issue that cmdlets may report warnings of "KeyNotFoundException". #26624
* Fixed an issue that the `-AppliesTo` parameter of `Update-AzConfig` does not work as expected.
Expand Down
5 changes: 2 additions & 3 deletions src/Accounts/Accounts/help/Connect-AzAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,8 @@ Accept wildcard characters: False

### -AccountId

Account Id / User Id / User Name to login with in **Default (UserWithSubscriptionId)** parameter set; Account ID for access token in **AccessToken** parameter set; Account ID for managed service in
**ManagedService** parameter set. Can be a managed service resource ID, or the associated client ID.
To use the system assigned identity, leave this field blank.
Id for Account, associated with your access token.
In **User** authentication flows, the AccountId is user name / user id; In **AccessToken** flow, it is the AccountId for the access token; In **ManagedService** flow, it is the associated client Id of UserAssigned identity. To use the SystemAssigned identity, leave this field blank.

```yaml
Type: System.String
Expand Down
Loading