Hi,
Thank you for posting the question to the Q&A forum.
From the error message AZCM0041, there are 3 possibilities.
- Credentials wrong
- The account doesn't have access to the needed tenant or subscription
- If you are using Service principal the Client ID is wrong or the Secret is expired
These are the possibilities that usually pop up with this error message. So kindly I would like to ask you to check first this.
I hope the above information can help you.
If the ANSWER is helpful, please click "Accept Answer" and upvote it. Thanks