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.

Discovery Subscription Needs to be automate

SayanG838505890
Giga Contributor

Hello Team,

I have created a Discovery Credentials for Azure, It is working as expected by clicking on the Discover Subscription.
But I want to automate this process, I want The Discover Subscription to be clicked/refreshed automatically.

I have already set the Property (glide.discovery.cdu.auto_refresh_sub_accounts_and_ldcs) as true.
And also created a Discovery Schedule which will run every day(Screenshot attached)

SayanG838505890_0-1761154335928.png

but it is not getting automatically triggered.
What needs to do to make it automate

 

Thanks!

1 REPLY 1

Kieran Anson
Kilo Patron

Does the run_as user set on the discovery schedule have the mid_server or discovery_admin role? Is it running under a dedicated user?

 

If you view the XML of the discovery schedule, what is the mid_select_method configured to?