Issue with Subscription when Discovering Azure Cloud Datacenter Resources

Mike I2
Giga Guru

Hi. I'm trying to discover Azure Cloud resources. I've been supplied with the necessary Keys and IDs to set up the Service Principle credential, which tests ok, and a Subscription ID to use in the Service Account. I can pull in the data centers without issue however the subscription ID I've been given is only pulling in CIs from one DC. It looks as though the Azure infrastructure has been configured as everything under one container, with separate subscriptions inside it for reach region/zone/etc

 

My question is; would you expect to be able to use one "parent" subscription, and therefore a single service account to discover everything in the Azure Datacenters, or would I need separate subscriptions and service accounts in ServiceNow for each DC? I would like to use one if possible as otherwise there are about 50 separate subscriptions and therefore potentially I'd need the same number of service accounts. 

 

Thanks

Mike

1 ACCEPTED SOLUTION

Ram Devanathan1
ServiceNow Employee
ServiceNow Employee

you can setup Azure management group in Azure console and add all the subscriptions to that management group.

then go over to discovery > home > click View Active Schedules button > create a new schedule. you can assign the azure management group instead of the subscription and this will pick up all the subscriptions in that management group. while using this wizard, you can specify the datacenter (region) to pick in the next tab.

note - you can setup automatic refresh of the subscriptions and datacenters during every scheduled run by setting the system property glide.discovery.cdu.auto_refresh_sub_accounts_and_ldcs to true

View solution in original post

3 REPLIES 3

Ram Devanathan1
ServiceNow Employee
ServiceNow Employee

you can setup Azure management group in Azure console and add all the subscriptions to that management group.

then go over to discovery > home > click View Active Schedules button > create a new schedule. you can assign the azure management group instead of the subscription and this will pick up all the subscriptions in that management group. while using this wizard, you can specify the datacenter (region) to pick in the next tab.

note - you can setup automatic refresh of the subscriptions and datacenters during every scheduled run by setting the system property glide.discovery.cdu.auto_refresh_sub_accounts_and_ldcs to true

Thanks Ram, that did the trick. 

Community Alums
Not applicable

Hi Ram,

 

As this group account should be setup in AZURE environment ? 

I do not have scope as the azure team is the owner and i have access to only service now account .

As i to have an issue as missing groups are found only when manually  run for each subscription account can this be done for all the subscriptions as we have around 13k subscriptions.

Appreciate your help or inputs for my query as how to proceed .

Thanks and Regards,

Hari Rao