Thanks for reaching out on Microsoft Q&A Platform.
From this document, there are notes about authenticating using the Azure CLI. can you please check this once.
Hope this helps.
If you need further help on this, tag me in a comment.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.