-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamMonitoraz monitoraz monitorbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruning
Milestone
Description
Describe the bug
Env: Macbook M1 Pro
- Installed latest azure cli "2.65.0_2"
- Tried to run this command - az monitor activity-log list -g "$rsg" --resource-id "$rsid" --offset 30d
I Expected that the cli to filter events by the resource-id specified. But, it returns all the events in the resource group.
Related command
az monitor activity-log list -g "$rsg" --resource-id "$rsid" --offset 30d
Errors
No Error. --resource-id flag is ignored
Issue script & Debug output
az monitor activity-log list -g "$rsg" --resource-id "$rsid" --offset 30d
Expected behavior
The result should only list events for the specified resource-id
Environment Summary
{
"azure-cli": "2.65.0",
"azure-cli-core": "2.65.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}
Additional context
looks like a similar issue was reported in year 2021 which was fixed in a later azure cli version - #16485
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamMonitoraz monitoraz monitorbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruning