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.


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

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-10-14 06:59:23