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.
Discovery of Cloud Datacenter failed at 'List Resource Group' API - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Discovery of Cloud Datacenter failed at 'List Resource Group' API
KB0688227

Discovery of Cloud Datacenter failed at 'List Resource Group' API


1361 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

  • When going to Cloud Account > Datacenters > Discover Now, discovery failed. Discovery Log shows: ITapp Azure Compute Manger.List resource groups -- Error
  • When goto Cloud API > Cloud API Trail, ListResourceGroups call is actually successful and returned data.

Release

Jakarta and newer


Cause

  • The error can be resulted from variety of issues. When data is returned, it indicates issue with processing the data from cloud provider.
  • For this particular issue, root cause was due to the out of the box relationship type 'Contains::Contained By' was missing (sysid = 55c95bf6c0a8010e0118ec7056ebc54d). This resulted in Metadata Containment broken, ie, containment records referencing non-existing Relationship Type records.
  • Because of broken Metadata Containment rules, this caused Cloud CI reconciliation error resulting in failed discovery

Resolution

If Discovery has been running, a new 'Contains::Contained By' relationship type should have been recreated. If not create a new relationship type with same name then do the following:

  1. Goto CMDB Metadata Containment Rules table list (recordscmdb_metadata_containment_list.do)
  2. Find all records that references old 'Contains::Contained By' (cmdb_metadata_containment_list.do?sysparm_query=rel_type.sys_id%3D55c95bf6c0a8010e0118ec7056ebc54d)
  3. Update all and change 'Relation Type' field for these records to point to the new 'Contains::Contained By' relationship type that was recreated either by Discovery or manually.



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?

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.