Hi, @JJ STOKES
Thank you for posting in Microsoft Q&A forum.
It seems that you are encountering an authorization error while provisioning the Cloud Management Gateway (CMG). The error message indicates that the request is not authorized to perform the operation due to a permission mismatch. This typically suggests that the identity being used does not have the necessary permissions to access the specified blob or storage account.
Here are some steps you can take to troubleshoot this issue:
- Check Storage Account Permissions: Ensure that the identity (user or service principal) you are using has the appropriate permissions on the storage account. You may need to assign roles such as "Storage Blob Data Contributor" or "Storage Blob Data Owner" to allow access to the blobs.
- Verify Blob Container Access: Make sure that the blob container (in this case,
publickeystore
) allows access for the identity you are using. Check the access policies and ensure that they are correctly configured. - Review Azure Role Assignments: Navigate to the Azure portal and review the role assignments for the storage account. Ensure that the necessary roles are assigned to the correct identities.
- Retry Provisioning: After making any changes to permissions or roles, retry the provisioning process to see if the issue persists.
If these steps do not resolve the issue, you may want to consult the Azure documentation or support for further assistance.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".