Azure CLI 2.0 is Microsoft's cross-platform command line experience for managing Azure resources. You can use it in your browser with Azure
Cloud Shell, or install it on macOS, Linux, or Windows and run it from the command line.
I have tried from our end it working as excepted,you may check out how to pass tags with spaces.

Let me know if there are still any additional issues I can help
with
-----------------------------------------------------------------------------------------------
If this answer was helpful, click “Mark as Answer” or “Up-Vote”. To provide
additional feedback on your forum experience, click here