Control Compliance Suite (CCS)
When trying to run a data collection job, you see the following error:
Programatic error! Requested scope [domain] generated scope [null].
CCS 12.5.2
CCS 12.6.x
This is happening because Domain Cache credentials are not configured. Error could be for either AgentBased or AgentLess data collection.
In the CCS Console navigate to Admin -> Credentials -> Add Common Credential, select Windows Domain Cache
Enter in the short name of the domain into Domain*
Enter in the username for domain, and password.
Save the Windows Domain Cache credential.
Now run the job again, this time it should build the domain cache (unless there is some issue with reaching a domain controller), and the job will now complete.
2021-06-09 12:57:09.720,2021-06-09 22:57:09.720,appserver,Warning,RmsXmlQuery,Blade.WorkerProcess,8020,Dispatcher Submit Queue:9,9,.ctor,,0,0,Log DIR for DCInfra:
2021-06-09 12:57:10.017,2021-06-09 22:57:10.017,appserver,Error,RMSDCInfra,Blade.WorkerProcess,8020,Dispatcher Submit Queue:9,9,Error,,0,0,"647d8891-46e1-4461-9581-2b04efea5657error is Programatic error! Requested scope [domain] generated scope [null].
"
2021-06-09 12:57:10.033,2021-06-09 22:57:10.033,appserver,Error,RmsXmlQuery,Blade.WorkerProcess,8020,Dispatcher Submit Queue:9,9,RunQuery,,0,0,"Error in RunQuery. Exception - Symantec.Interfaces.RMS.DCInfraException: [GUID:GUID] Programatic error! Requested scope [domain] generated scope [null].
at Symantec.Implementation.RMS.Query.ISSDKExecutor.RunQuery(IRMSQuery query, DCInfraConfiguration configuration, PropertyCallback _callback, AgentBasedQueryCallback _agentQueryCallback)"
2021-06-09 12:57:10.033,2021-06-09 22:57:10.033,appserver,Error,RMSMOSProvider,Blade.WorkerProcess,8020,Dispatcher Submit Queue:9,9,InitExecuteABQuery,,0,0,"Error in creating query for asset [GUID]:[domain\assetname]. Exception - Symantec.Interfaces.RMS.DCInfraException: [GUID:GUID] Programatic error! Requested scope [domain] generated scope [null].
at Symantec.Implementation.RMS.Query.ISSDKExecutor.RunQuery(IRMSQuery query, DCInfraConfiguration configuration, PropertyCallback _callback, AgentBasedQueryCallback _agentQueryCallback)
at Symantec.Implementation.RMS.Query.FactoryImpl.RunQuery(IRMSQuery query, DCInfraConfiguration configuration, PropertyCallback _callBack, AgentBasedQueryCallback _agentQueryCallback)
at Symantec.Implementation.RMS.Query.FactoryImpl.RunQuery(IRMSQuery query, DCInfraConfiguration configuration, PropertyCallback _callBack)
at Symantec.Control.Provider.QueryPlanning.DCInfraABQueryRunner.ExecuteDCInfraQueries()
at Symantec.Control.Provider.QueryPlanning.DCInfraABQueryPlanner.InitExecuteABQuery(DCInfraRequest request)"
2021-06-09 12:57:10.158,2021-06-09 22:57:10.158,appserver,Warning,JobBaseImplementations,Blade.WorkerProcess,8020,Dispatcher Resume