@Ron Weasley - Welcome to Microsoft Q&A and thanks for reaching out to us.
This error is usually encountered when the subscription type does not have the required permissions to perform the operation on the provider namespace or when the subscription is not authorized to access the resource or when the subscription is not registered for the resource provider.
To resolve this issue, you can try the following steps:
- Ensure that the subscription has the required permissions to access the resource and is registered with the resource provider.
- If the issue persists, try using a different subscription that has the required permissions.
Hope this helps. and please feel free to reach out if you have any further questions.
Please don't forget to "Accept as Answer" and click "Yes" if the above response is helpful, so it can be beneficial to the community.