Palani Chockali
ServiceNow Employee
ServiceNow Employee

Follow this article below to configure SCCM to capture software usage and last used data:
https://community.servicenow.com/community?id=community_blog&sys_id=962e379fdbb40950ae812509139619ee

To test the'SG-SCCM SAMP Usage’ or ‘SG-SCCM Software Last Used' data sources:

Executing the import schedules for 'SG-SCCM SAMP Usage’ or ‘SG-SCCM Software Last Used' on any day other than the second of every month will not bring in any data from SCCM for processing even if there is data for the previous month in SCCM. 

1. Verify you have last month's software usage and last used data in SCCM (refer above article)
2. Comment out the following 'if' check line and the closing bracket for the if check in the import schedule
    so it can run any day and not just the second of every month.
    //if (now.getDayOfMonthLocalTime() == 2){ 
     <code logic>
    //}
3. Validate data is processed and exists in samp_sw_usage 
4. Uncomment the two commented out lines so it runs on the second of every month once the
    testing is successful

It is not recommended to test the two data sources without previous month's data in SCCM.