{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/",
        "slug": "dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource",
        "url": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/"
        },
        "title": "Check Azure Compute Gallery names before creating the sharing resource",
        "summary": "DSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "managed-it",
            "label": "Managed IT operations",
            "alt": "A controlled technology lifecycle progressing from assessment to approved production.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/managed-it-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/managed-it-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-09-17T16:34:40+00:00",
        "modified_at": "2026-09-17T16:35:03+00:00",
        "reviewed_on": "2026-09-17",
        "reading_minutes": 1,
        "word_count": 205,
        "potentially_affected": "This applies to teams creating a Compute Gallery and deciding its resource name before adding images or application packages to it.",
        "dse_recommendation": "DSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment.",
        "primary_source": {
            "name": "Create a Gallery for Sharing Resources - Azure Virtual Machines | Microsoft Learn",
            "url": "https://learn.microsoft.com/en-us/azure/virtual-machines/create-gallery",
            "published_on": null,
            "authority": "Microsoft Learn"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<h2>Source facts</h2>\n<p>Microsoft permits letters, numbers, periods, and underscores in a Compute Gallery name, but excludes hyphens. The gallery name must be unique across the subscription. A gallery is the top-level resource used to group and share resources such as VM images and application packages. <a href=\"https://learn.microsoft.com/en-us/azure/virtual-machines/create-gallery\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn</a></p>\n<h2>Applicability</h2>\n<p>This applies to teams creating a Compute Gallery and deciding its resource name before adding images or application packages to it.</p>\n<h2>DSE recommendation</h2>\n<p>DSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment. Keep the gallery name distinct from the names of image definitions and versions in the request. Record the subscription, resource group, region, and intended sharing audience together. If an internal naming pattern uses hyphens, agree the gallery-specific spelling before dependent deployment templates are written.</p>\n<h2>Verification</h2>\n<p>Inspect the deployment result and verify that the gallery appears in the intended subscription and resource group with the agreed name. Have the deployment owner compare the returned resource identifier with the request. Treat successful creation as the completion of this naming check; review sharing permissions and image content through their own acceptance steps.</p>\n<h2>Official references</h2>\n<ul>\n<li><a href=\"https://learn.microsoft.com/en-us/azure/virtual-machines/create-gallery\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft: Create a Gallery for Sharing Resources &#8211; Azure Virtual Machines | Microsoft Learn</a></li>\n</ul>",
        "content_text": "Source facts\nMicrosoft permits letters, numbers, periods, and underscores in a Compute Gallery name, but excludes hyphens. The gallery name must be unique across the subscription. A gallery is the top-level resource used to group and share resources such as VM images and application packages. Microsoft Learn\nApplicability\nThis applies to teams creating a Compute Gallery and deciding its resource name before adding images or application packages to it.\nDSE recommendation\nDSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment. Keep the gallery name distinct from the names of image definitions and versions in the request. Record the subscription, resource group, region, and intended sharing audience together. If an internal naming pattern uses hyphens, agree the gallery-specific spelling before dependent deployment templates are written.\nVerification\nInspect the deployment result and verify that the gallery appears in the intended subscription and resource group with the agreed name. Have the deployment owner compare the returned resource identifier with the request. Treat successful creation as the completion of this naming check; review sharing permissions and image content through their own acceptance steps.\nOfficial references\n\nMicrosoft: Create a Gallery for Sharing Resources – Azure Virtual Machines | Microsoft Learn",
        "content_markdown": "## Source facts\n\nMicrosoft permits letters, numbers, periods, and underscores in a Compute Gallery name, but excludes hyphens. The gallery name must be unique across the subscription. A gallery is the top-level resource used to group and share resources such as VM images and application packages. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machines/create-gallery)\n\n## Applicability\n\nThis applies to teams creating a Compute Gallery and deciding its resource name before adding images or application packages to it.\n\n## DSE recommendation\n\nDSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment. Keep the gallery name distinct from the names of image definitions and versions in the request. Record the subscription, resource group, region, and intended sharing audience together. If an internal naming pattern uses hyphens, agree the gallery-specific spelling before dependent deployment templates are written.\n\n## Verification\n\nInspect the deployment result and verify that the gallery appears in the intended subscription and resource group with the agreed name. Have the deployment owner compare the returned resource identifier with the request. Treat successful creation as the completion of this naming check; review sharing permissions and image content through their own acceptance steps.\n\n## Official references\n\n- [Microsoft: Create a Gallery for Sharing Resources – Azure Virtual Machines | Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machines/create-gallery)"
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/",
                "url": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-09-17"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Check Azure Compute Gallery names before creating the sharing resource",
                        "item": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/#article",
                "identifier": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/",
                "url": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/",
                "headline": "Check Azure Compute Gallery names before creating the sharing resource",
                "description": "DSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment.",
                "abstract": "DSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment.",
                "articleBody": "Source facts\nMicrosoft permits letters, numbers, periods, and underscores in a Compute Gallery name, but excludes hyphens. The gallery name must be unique across the subscription. A gallery is the top-level resource used to group and share resources such as VM images and application packages. Microsoft Learn\nApplicability\nThis applies to teams creating a Compute Gallery and deciding its resource name before adding images or application packages to it.\nDSE recommendation\nDSE recommends checking the proposed gallery name against both the naming rules and the subscription inventory before submitting the deployment. Keep the gallery name distinct from the names of image definitions and versions in the request. Record the subscription, resource group, region, and intended sharing audience together. If an internal naming pattern uses hyphens, agree the gallery-specific spelling before dependent deployment templates are written.\nVerification\nInspect the deployment result and verify that the gallery appears in the intended subscription and resource group with the agreed name. Have the deployment owner compare the returned resource identifier with the request. Treat successful creation as the completion of this naming check; review sharing permissions and image content through their own acceptance steps.\nOfficial references\n\nMicrosoft: Create a Gallery for Sharing Resources – Azure Virtual Machines | Microsoft Learn",
                "datePublished": "2026-09-17T16:34:40+00:00",
                "dateModified": "2026-09-17T16:35:03+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/dse-20260917-020-check-azure-compute-gallery-names-before-creating-the-sharing-resource/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Check Azure Compute Gallery names before creating the sharing resource"
                },
                "articleSection": [
                    "IT"
                ],
                "keywords": [
                    "IT",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 205,
                "timeRequired": "PT1M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Create a Gallery for Sharing Resources - Azure Virtual Machines | Microsoft Learn",
                    "url": "https://learn.microsoft.com/en-us/azure/virtual-machines/create-gallery"
                }
            }
        ]
    }
}