unable to create a gallery with RBAC + Shared directly

Pallikonda, Prathibha 30 Reputation points
2023-05-05T10:07:56.4666667+00:00

unable to create a gallery with RBAC + Shared directly option as I get the error : This subscription is not registered with the feature Microsoft.Compute/DirectSharedGalleries. Please register the subscription to directly share galleries across subscriptions and tenants.

although my subscription is registered with Microsoft.Compute ,I cannot find the resource type "DirectSharedGalleries" under it , how to register a particular resource type in this provider

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 35,636 Reputation points Microsoft Employee
    2023-05-05T14:56:39.4066667+00:00

    @Pallikonda, Prathibha

    This is a preview feature which needs to be enabled by Azure. You can find more information about this preview here.

    Azure Compute Gallery – direct shared gallery is currently in PREVIEW and subject to the Preview Terms for Azure Compute Gallery.

    To publish images to a direct shared gallery during the preview, you need to register at https://aka.ms/directsharedgallery-preview. Please submit the form and share your use case, We will evaluate the request and follow up in 10 business days after submitting the form. No additional access required to consume images, Creating VMs from a direct shared gallery is open to all Azure users in the target subscription or tenant the gallery is shared with. In most scenarios RBAC/Cross-tenant sharing using service principal is sufficient, request access to this feature only if you wish to share images widely with all users in the subscription/tenant.

    Hope this helps. If you are still having issues after the feature is enabled for you please let us know.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Pallikonda, Prathibha 30 Reputation points
    2023-05-05T18:23:29.3633333+00:00

    Thanks for your response.

    as per the docs I have submitted the form https://aka.ms/directsharedgallery-preview. , do you have any idea when this feature will get enabled (or) how can I track the status of my submission.

    0 comments No comments