Unable to create Shared Azure Compute Gallery

Luis 31 Reputation points
2022-12-20T15:11:52.643+00:00

Hello, I am trying to create a Shared Azure Compute Gallery however the option "RBAC + share directly (Preview)" is not available for selection. The following errors are showing: "This subscription is not registered with the feature Microsoft.Compute/DirectSharedGalleries. Please register the subscription to directly share galleries across subscriptions and tenants." and "This subscription is not registered with the feature Microsoft.Compute/CommunityGalleries. Please register the subscription for sharing to public community gallery." The subscription is already registered with Microsoft.Compute.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,044 questions
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 26,492 Reputation points Moderator
    2023-01-02T04:09:44.357+00:00

    @Luis

    Adding to lukemurraynz response above, If your subscription is already registered with Microsoft.Compute, but you are still encountering issues when trying to create a shared Azure Compute Gallery, here are a few other things you can try:

    Make sure that you have the necessary permissions to create a shared gallery. You will need to be the owner of the subscription or have the "User Access Administrator" role in order to create a shared gallery.

    Check to see if the "RBAC + share directly (Preview)" option is available in other subscriptions or resource groups within your Azure account. If it is available in some but not others, it could be due to a permissions issue.

    If you are still unable to create a shared gallery, you may want to try creating a standard gallery instead. Standard galleries are not shared across subscriptions or tenants, but they may still meet your needs.

    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.

    1 person found this answer helpful.

  2. Luke Murray 11,436 Reputation points MVP Volunteer Moderator
    2022-12-20T22:08:36.943+00:00

    Open the Subscription > Resource Provider tab and find and register the required resource provider

    Look for: Galleries

    You will need Owner access to the subscription to register this.

    https://learn.microsoft.com/azure/azure-resource-manager/management/resource-providers-and-types?WT.mc_id=AZ-MVP-5004796#register-resource-provider-1


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.