Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Cloud Management Deployment fails with - Invalid resource group location 'XXX'. The Resource group already exists in location 'YYY'. - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Cloud Management Deployment fails with - Invalid resource group location 'XXX'. The Resource group already exists in location 'YYY'.
KB0781908

Cloud Management Deployment fails with - Invalid resource group location 'XXX'. The Resource group already exists in location 'YYY'.


1403 Views Last updated : Oct 24, 2023 public Copy Permalink
KB Summary by Now Assist

Description

The issue was noticed for a Cloud Management deployment via ARM template, however, the issue may impact normal deployments also. The Stack deployment fails with the below error message.

Failed to execute API - Failed with status code and message: 409: {"error":{"code":"InvalidResourceGroupLocation","message":"Invalid resource group location 'westeurope'. The Resource group already exists in location 'brazilsouth'."}} (script_include:CloudRESTAPIInvoker; line 141)

The MID Server Script Include does a Boolean check of the parameter CreateResourceGroup. Which returns true even if the value in the parameter is "No".

This needs to be updated with a condition for performing a detailed check.

Steps to Reproduce

  1. Provision Blueprint using an ARM template.
  2. Deploy a stack for the blueprint created while ensuring that an existing resource group is used.

Workaround

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.

The attached update set includes a workaround:

  1. Change the Application Scope to 'Cloud API'
  2. Import and apply the attached update set.

Related Problem: PRB1367894

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • sys_remote_update_set_df94dbe81b24c85020e8dc27bd4bcb59.xml

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.