Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Azure Cloud Discovery

giridhar1
Giga Expert

we started doing azure discovery, I have created azure Tenant ID and all other details to bring in subscriptions.

 

Right now I am getting all subscriptions which are there under the Tenant ID.

 

Question I have,

1) I don't see any discovery schedule on Tenant ID to auto discover new subscriptions under the Tenant ID. ServiceNow document says to set property "glide.discovery.cdu.auto_refresh_sub_accounts_and_ldcs to True". I have did that but not sure it is working or and not sure how frequently it updates the subscriptions.

 

2) Right now I have 180+ subscription under one Tenant ID, do I need to create discovery schedule on all those 180+ Tenant ID's or is there any other way? I see some documents says as we need ask azure team to add all those azure subscriptions under one management Subscription and discovery only that  subscription. when I connected with azure team they say there is no such thing.

 

Please let me know if any one have answers for these questions.

4 REPLIES 4

Mannapuram
Tera Guru

@giridhar1  are you using Service Graph connectors for Azure? If yes, then SG-Azure Subscriptions is the parent Data Import schedule to run first. 

As far as I know, the Tenant ID is for Connections alias creation (for connectivity). After you create that, there might be an import set table populating all the subscriptions details. You can schedule a Scheduled job on this import set table to run and pull all the subscriptions. 

giridhar1
Giga Expert

No, I am using Azure Cloud discovery on this process.

@giridhar1 Ok. Then you can ask for the Management Group the Azure team is using for all these subscriptions. When you create a Service Account with Tenant and Client details, and use that Service account to discover Management Group on Azure, all the subscriptions under that would populate for you. 

 

Here is the Servicenow Document stating the same: 

https://www.servicenow.com/docs/csh?topicname=azure-cloud-discovery.html&version=latest

 

Mannapuram_0-1761148371467.png

You can also go through this video, where the single Account/Subscription is discovered, but there is possibility to discover the Management Group too. 

 

https://youtu.be/R11fR2fo4Y8?si=tmT5eOKwAi7Mzyw3

Checkout this five part series on managing @MicrosoftAzure Cloud using ServiceNow IT Workflows. Intro - 1:13 - https://youtu.be/2YCDVpEcBdw Cloud Discovery 7:00 - https://youtu.be/R11fR2fo4Y8 Event-based Discovery 5:58 - https://youtu.be/g6tzZSAy1Fk Tag-based Service Mapping 4:41 - ...

giridhar1
Giga Expert

@Ram Devanathan1 , I’ve been following your comments related to Azure Cloud Discovery and found them very informative. If you could spare some time to provide your input or feedback on this, it would be greatly appreciated.