In CCS, when running a data-collection or CER job on some assets, the job errors out with the error "Programatic error! Requested scope [domain] generated scope [null]" in the CCS console -> Jobs -> Messages tab.
Programatic error! Requested scope [domain] generated scope [null]
That error occurs when the credential used by CCS is no longer valid. The reasons may included.
Verify that the user account that CCS uses to create Domain Cache has read access over the RootDSE objects of Active Directory, and that is fully functional and not locked out and does not require the password to be changed on the first login.