BadRequest: Could not find member 'orchestrationMode' on object of type 'Properties'
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Describe the bug**
While running tests on an Azure Stack environment using 2019-03-01-hybrid API profile, I discovered the bad request error below.
Bad request:
"Could not find member 'orchestrationMode' on object of type 'Properties'. Path 'properties.orchestrationMode'
A little more context:
ERROR: az_command_data_logger: {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list
deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n
\"code\": \"BadRequest\",\r\n \"message\": \"Could not find member 'orchestrationMode' on object of type 'Properties'. Path 'properties.orchestrationMode', line 1,
position 1344.\",\r\n \"target\": \"vmss.properties.orchestrationMode\"\r\n }\r\n}"}]}}
If you need the full command debug log, let me know.
**To Reproduce**
Run the command:
az vmss create -g $vmssRgName -n $vmssName --admin-username $vmssAdminUserName --admin-password $vmssAdminPassword --image $imageName --authentication-type password --upgrade-policy-mode $upgradeMode
**Expected behavior**
Expect no errors.
**Environment summary**
Using windows powershell.
Installed Azure CLI from nightly build:
https://aka.ms/InstallAzureCliWindowsEdge
**Additional context**
Note the the above issue does not occur in 2020-09-01-hybrid API profile version.
Contributor guide
Assessment
This issue has not been assessed yet.