You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% azmcp extension az --command 'ad user list --filter "startswith(displayName,'"'John'"')"'
Unrecognized command or argument 'user'.
Unrecognized command or argument 'list'.
Unrecognized command or argument '--filter'.
Unrecognized command or argument 'startswith(displayName,'John')'.
% azmcp extension az --command 'ad\ user\ list\ --filter\ "startswith(displayName,'"'John Doe'"')"'
{
"status": 500,
"message": "ERROR: unrecognized arguments: Doe')\n\nExamples from AI knowledge base:\naz ad user list\nList Azure Active Directory users. (autogenerated)\n\naz ad user list --upn {upn}\nList Azure Active Directory users. (autogenerated)\n\nhttps://docs.microsoft.com/en-US/cli/azure/ad/user#az_ad_user_list\nRead more about the command in reference docs",
...
}
fails:
Haven't figured out the way the escape this command for azmcp to not fail yet.
% azmcp extension az --command 'ad\ user\ list\ --filter\ "startswith(displayName,'"'John\ Doe'"')"'
{
"status": 500,
"message": "ERROR: unrecognized arguments: Doe')\n\nExamples from AI knowledge base:\naz ad user list\nList Azure Active Directory users. (autogenerated)\n\naz ad user list --upn {upn}\nList Azure Active Directory users. (autogenerated)\n\nhttps://docs.microsoft.com/en-US/cli/azure/ad/user#az_ad_user_list\nRead more about the command in reference docs",
...
}
Doesn't get the argument passed to --filter. Retry continues to fail.
{
"command": "ad user list --filter \"startswith(displayName,'John Doe')\"",
"auth-method": "credential"
}
{
"ExitCode": 2,
"Error": "ERROR: argument --filter: expected one argument\n\nExamples from AI knowledge base:\naz ad user list\nList Azure Active Directory users. (autogenerated)\n\naz ad user list --upn {upn}\nList Azure Active Directory users. (autogenerated)\n\nhttps://docs.microsoft.com/en-US/cli/azure/ad/user#az_ad_user_list\nRead more about the command in reference docs",
"Command": "/opt/homebrew/bin/az ad user list --filter "
}
Formatted error:
ERROR: argument --filter: expected one argument
Examples from AI knowledge base:
az ad user list
List Azure Active Directory users. (autogenerated)
az ad user list --upn {upn}
List Azure Active Directory users. (autogenerated)
https://docs.microsoft.com/en-US/cli/azure/ad/user#az_ad_user_list
Read more about the command in reference docs
The text was updated successfully, but these errors were encountered:
macOS 15.4
zsh 5.9
@azure/mcp@0.0.10
https://github.com/Azure/azure-mcp/blob/main/docs/azmcp-commands.md#azure-cli-extension-operations
CLI issues:
fails:
works:
Seems to require manual escaping
fails:
works:
Again, manual escaping
fails:
fails:
Haven't figured out the way the escape this command for
azmcp
to not fail yet.VS Code Copilot
works:

fails:

Doesn't get the argument passed to
--filter
. Retry continues to fail.Formatted error:
The text was updated successfully, but these errors were encountered: