Azure-Samples / azure-sdk-for-go-samples

Examples of how to utilize Azure services from Go.
MIT License
296 stars 184 forks source link

Unable to run deploy-vm example #242

Open t-0-m-1-3 opened 5 years ago

t-0-m-1-3 commented 5 years ago

Thank you for your contribution and feedback! Help us review faster by providing the following information:

This issue is a: (mark with an x)

Steps to reproduce:

running in the CLI: az ad sp create-for-rbac --sdk-auth > quickstart.auth export AZURE_AUTH_LOCATION=~/.azure/quickstart.quth cd ~/go/src/github.com/azure-samples/azure-sdk-for-go-samples/quickstarts/deploy-vm go run main.go

Errors and log messages:

┌─[t0m@parrot]─[~/go/src/github.com/azure-samples/azure-sdk-for-go-samples/quickstarts/deploy-vm]
└──╼ $go run main.go 
2018/12/21 12:01:05 Failed to get OAuth config: parameter 'activeDirectoryEndpoint' cannot be empty
exit status 1

Expected behavior:

Print out of a message giving:

OS and Go versions:

┌─[t0m@parrot]─[]
└──╼ $go version
go version go1.10.5 linux/amd64
┌─[t0m@parrot]─[]
└──╼ $uname -a
Linux parrot 4.18.0-parrot10-amd64 #1 SMP Debian 4.18.10-2parrot10 (2018-11-17) x86_64 GNU/Linux

Further info: