Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[StaticAnalysis] CI ExampleAnalysis (test for cs) #18587

Closed
wants to merge 3 commits into from
Closed
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
6 changes: 3 additions & 3 deletions src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ public class ConnectAzureRmAccountCommand : AzureContextModificationCmdlet, IMod
public SwitchParameter ServicePrincipal { get; set; }

[Parameter(ParameterSetName = UserParameterSet,
Mandatory = false, HelpMessage = "Optional tenant name or ID")]
Mandatory = true, HelpMessage = "Optional tenant name or ID")]
[Parameter(ParameterSetName = UserWithCredentialParameterSet,
Mandatory = false, HelpMessage = "Optional tenant name or ID")]
Mandatory = true, HelpMessage = "Optional tenant name or ID")]
[Parameter(ParameterSetName = ServicePrincipalParameterSet,
Mandatory = true, HelpMessage = "Tenant name or ID")]
[Parameter(ParameterSetName = AccessTokenParameterSet,
Expand All @@ -120,7 +120,7 @@ public class ConnectAzureRmAccountCommand : AzureContextModificationCmdlet, IMod
[Parameter(ParameterSetName = ClientAssertionParameterSet,
Mandatory = true, HelpMessage = "Tenant name or ID")]
[Parameter(ParameterSetName = ManagedServiceParameterSet,
Mandatory = false, HelpMessage = "Optional tenant name or ID")]
Mandatory = true, HelpMessage = "Optional tenant name or ID")]
[Alias("Domain", "TenantId")]
[ValidateNotNullOrEmpty]
public string Tenant { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Accounts/Accounts/help/Connect-AzAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ external help file: Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
Module Name: Az.Accounts
online version: https://docs.microsoft.com/powershell/module/az.accounts/connect-azaccount
schema: 2.0.0
---
---

# Connect-AzAccount

Expand Down