Hello,
Thank you for posting in Q&A forum.
To further troubleshoot this issue, please kindly follow below steps:
1.Check if your account has the Owner or Contributor role in this Azure subscription.
2.Go to the Azure portal and manually register the resource providers and see if it works.
3.Check if the subscription status is active or not.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.