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

CLI 2.0 Commands #60

Open
carlneal opened this issue Aug 27, 2020 · 0 comments
Open

CLI 2.0 Commands #60

carlneal opened this issue Aug 27, 2020 · 0 comments
Assignees

Comments

@carlneal
Copy link

In the 01-enviornment-setup.ps1 script, you are using not using the newest CLI 2 command. I had to update the following:

$userName = ((az account show) | ConvertFrom-JSON).user.name

Versus the depreciated command shown below, at line 65:
$userName = ((az ad signed-in-user show) | ConvertFrom-JSON).UserPrincipalName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants