Skip to content

Commit

Permalink
Merge pull request maester365#525 from dnsinit/patch-azaccounts
Browse files Browse the repository at this point in the history
Updated recommendation to install Az.Accounts in accordance with issue 397.
  • Loading branch information
merill authored Dec 8, 2024
2 parents 30f6ddf + 28dc33d commit 8d9b473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell/public/Connect-Maester.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function Connect-Maester {
Connect-AzAccount -SkipContextPopulation -UseDeviceAuthentication:$UseDeviceCode -Environment $AzureEnvironment
} catch [Management.Automation.CommandNotFoundException] {
Write-Host "`nThe Azure PowerShell module is not installed. Please install the module using the following command. For more information see https://learn.microsoft.com/powershell/azure/install-azure-powershell" -ForegroundColor Red
Write-Host "`Install-Module Az -Scope CurrentUser`n" -ForegroundColor Yellow
Write-Host "`Install-Module Az.Accounts -Scope CurrentUser`n" -ForegroundColor Yellow
}
}

Expand Down

0 comments on commit 8d9b473

Please sign in to comment.