Azure / Azure/azure-cli-extensions
az hack failure creating App Service plan
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
Running az hack as details below resulting in the following successful output:
`Creating resource group...`
`Starting creation of Cognitive Services keys...`
`Starting website creation job...`
Hack then fail on the next step:
`Creating free App Service plan named free_app_service_plan...`
**Command Name**
`az hack create
Extension Name: hack. Version: 0.3.0.`
**Errors:**
```
Unable to get API version for type 'None' in profile 'latest'
Traceback (most recent call last):
cli\core\profiles\_shared.py, ln 296, in get_api_version
KeyError: None
...
cli\core\profiles\_shared.py, ln 469, in get_versioned_sdk_path
cli\core\profiles\_shared.py, ln 303, in get_api_version
azure.cli.core.profiles._shared.APIVersionException: Unable to get API version for type 'None' in profile 'latest'
```
## To Reproduce:
Preceding steps were:
- `az login`
- `az extension add -n hack`
- _Put any pre-requisite steps here..._
- `az hack create --name {} --runtime {} --location {} --ai --output {}`
## Expected Behavior
Expected hack to create specified resources in Azure.
## Environment Summary
```
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: cmd.exe
azure-cli 2.0.81
Extensions:
hack 0.3.0
```
## Additional Context
az hack failed in this same way for all students attending 2/4/20 Microsoft New York Reactor AI presentation. All students were following the steps laid out on this page from the Reactors GitHub repo: https://github.com/microsoft/Reactors/blob/master/AI_1/computer-vision-translator/create-computer-vision-keys.md
Contributor guide
Assessment
This issue has not been assessed yet.