Azure / Azure/azure-cli

CLI ActionResult=None

Open
#22,947 5 comments 0 reactions 2 assignees Claimed by @calvinhzy View on GitHub
Auto-Assign P2 telemetry
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

**Related command**

Az arcappliance VMware

**Describe the bug**

When researching the customer Arc appliance deployment using the CLI telemetry, we see a large percentage (over 30%) shows as "None", and no custom data returned.

**To Reproduce**

Here is the query. Group by `ActionResult`
let ['_startTime']=datetime('2022-03-26T16:15:34Z');
let ['_endTime']=datetime('2022-06-13T16:15:34Z');
//let ['_provider']=dynamic(null);
RawEventsAzCli
| where EventTimestamp >= _startTime
| where EventTimestamp <= _endTime
| extend cliVersion = tostring(Properties['context.default.azurecli.extensionname'])
| where RawCommand has "arcappliance run vmware" or
RawCommand has "arcappliance prepare vmware" or
RawCommand has "arcappliance deploy vmware" or
RawCommand has "arcappliance create vmware"
| where AzureSubscriptionId in ("acbb5e99-67fb-4e3d-8432-a07785d68199", "049118e2-4814-401b-a34d-a67a35abc5a9", "9a597d01-e882-4960-8c91-680b46b061b7", "0c2e5db0-35bb-49c6-bfcb-4fc414a9db85",
"aaeeadfb-8611-4a8f-b9ce-e2d4c5e2f24e", "48dbb05f-9610-4a1f-91bb-3abf32de0db6", "eba7b701-2d60-49b4-be5b-23c05400cfa9", "d82cd5ee-98bd-4ab2-b9b4-a19f76d2c88f",
"be96211f-de7c-4050-9105-f1af45483d8e", "66128b67-aad6-4511-b913-501dba4b559f", "f5698611-a46c-4c06-b846-907b0ab4bcef", "4f74333a-8bc9-4d50-a3f9-d0be5b68c0c5",
"7b5aba9d-787d-4961-a5c8-27902240f6cf", "7117759f-9e8c-42ea-9887-a749c0cdea49", "86beb95e-7c2f-4954-b850-5aa697913972", "c8075241-7bef-420a-881c-fb563bc7d9dd", "0dd91bfc-a17a-42ca-a473-8c1ae2c5882b",
"31622f99-da86-47e8-9fef-8b2d638c41fe", "acbc2a60-4efe-485f-8af8-fcfc72c8b261", "89034bf7-e1d3-4687-8aa6-80ac849a22df", "1975e71f-1405-4a06-8589-8aae847c12b6", "fc7ad0bc-429f-488b-9488-3ed508182348",
"2dc05748-8083-4fbd-876f-2f3ce4b0836c", "5558296c-648b-4938-b288-fbc4dea2dbc7", "76256a81-7899-4eba-a941-e72a8896dc9a", "27867067-2b91-4507-86cd-59d37cf606fc", "63138661-8d44-44b6-8413-74bcf8fa34ca",
"09ef8f7d-89d8-440a-af74-7109b4819933", "d9b3a319-991d-4dcc-86f7-b842dd0e8198", "aba6fac4-db66-4d0c-8bce-e11e744b44df", "b65fd12c-d85b-444a-a3a0-d0129f9106f3")
//| where cliVersion == [arcappliance@0.2.23](mailto:arcappliance@0.2.23)
//| where ActionResult == "None"
| project EventName, EventTimestamp, RawCommand, ActionResult, cliVersion, ResultSummary, EntityType, ExceptionMessage,
Params,Properties, SourceJson, StartTime, EndTime, IsMicrosoftInternal,
AzureSubscriptionId, MacAddressHash, MachineId, CorrelationId, UserId, ClientRequestId, SessionId, EventId

**Expected behavior**

ActionResult shows either "Success" or "Failure"

**Environment summary**

**Additional context**

CLI extension repo: https://msazure.visualstudio.com/AzureArcPlatform/_git/arcappliance-cli-extensions

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.