Azure / Azure/azure-cli

BadRequest: Could not find member 'orchestrationMode' on object of type 'Properties'

Open
#18,855 1 comment 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-observability-squad Compute feature-request
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.