Share via

Agentpool Creation with 1ES is failing

Ojas Chopade (LTIMINDTREE LIMITED) 0 Reputation points Microsoft External Staff
2026-03-10T12:24:14.6533333+00:00

While trying to create an agentpool in south india region through azure portal 1ES option, the deployment is failing with error "Image Backup-1ES-AgentImage-Windows was not found in region southindia. Image is available in. Please replicate the shared gallery image to the target region. (Code: SharedGalleryImageNotInRegion)".
However, we have created that image in the south india region, and it is present,

Azure DevOps
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-10T12:24:32.9733333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error SharedGalleryImageNotInRegion indicates that, from the perspective of the Azure Compute Gallery, the image version being referenced by the 1ES agent pool deployment does not have a replica in the target region, even if the image resource itself is located there.

    For Azure Compute Gallery images, the region where the gallery/image definition/image version resources are created and the list of publishing regions (replicas) must explicitly include the target region:

    • If the image version’s publishing profile does not contain the target region, deployments in that region fail with an error that the image is not available in the region.
    • The publishing regions list must also contain the source region of the image version.

    To unblock the deployment:

    1. Open the Azure Compute Gallery image version that backs Backup-1ES-AgentImage-Windows.
    2. In the image version’s publishing profile, verify that:
      • South India is present in the list of target/publishing regions.
      • The source region of the image version is also included in the publishing regions list.
    3. If South India is missing, update the image version to add South India as a publishing region (or create a new image version with South India in the publishing regions).
    4. Wait for replication to complete in South India, then retry creating the 1ES agent pool.

    If the image version already lists South India but deployment still fails, validate that there is at least one image version in South India that is not excluded from latest, and that the region name is not duplicated or misconfigured in the publishing profile.


    References:

    0 comments No comments

Your answer

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