SCCM Service Graph Connector does not import software usage dataIssue The Service Graph Connector (SGC) for Microsoft SCCM does not import software usage data into Software Asset Management (SAM). This occurs even when metering is turned on in System Center Configuration Manager (SCCM) and usage reclamation rules are configured. The following warning may appear in the logs during the import run: * WARNING * Security restricted: Access to api 'setWorkflow' from scope 'sn_sccm_integrate' has been refused due to the api's cross-scope access policy. This warning is unrelated to the missing data and does not prevent the import from running. Symptoms The SG-SCCM SAMP Usage scheduled import completes without inserting or updating any records in the staging table sn_sccm_integrate_sccm_2019_samp_usage.Transform history for the import shows zero inserts and zero updates.The generated SQL query on the associated software usage data source returns a 1=0 condition instead of a query scoped to the expected software list.The following warning may appear in the logs during the import run: * WARNING * Security restricted: Access to api 'setWorkflow' from scope 'sn_sccm_integrate' has been refused due to the api's cross-scope access policy. This warning is unrelated to the missing data and does not prevent the import from running. Reclamation rules (for example, Total Usage) are correctly created and associated with software products, but no usage data appears in SAM. FactsRelease This issue can occur on any currently supported release where the condition script on the SG-SCCM SAMP Usage scheduled import is modified from its base system configuration. Cause When the condition script on the SG-SCCM SAMP Usage scheduled import is modified from its base system configuration, the script no longer passes the data source sys_id to the initializeDatasourceSQLStatement method. Because this value is missing, the import cannot build the intended SQL statement at runtime. The import falls back to a default 1=0 query, which returns no records. This customization can be introduced unintentionally. For example, temporarily changing the scheduled day-of-run condition for testing purposes creates a customization record even if no other logic was intentionally changed. If that customization is retained, a later plugin upgrade may skip restoring the base system script. This leaves the import in this broken state. Resolution Locate the customization record associated with the SG-SCCM SAMP Usage scheduled import.Delete the identified customization record for SG-SCCM SAMP Usage.Navigate to System Applications > All Available Applications > All.Locate the Service Graph Connector for Microsoft SCCM plugin.Click Repair to restore the plugin to its OOB state.This restores the original condition script logic, including the line that passes the data source sys_id to initializeDatasourceSQLStatement.Run the SG-SCCM SAMP Usage scheduled import, or wait for its next scheduled run.Confirm that records are now populated in the sn_sccm_integrate_sccm_2019_samp_usage table. Note: Avoid modifying the condition script on this scheduled import directly, even temporarily for testing. If a temporary change is required, revert it and delete the resulting customization record afterward. This helps prevent this issue from recurring on the next plugin upgrade. Related Links Service Graph Connector for Microsoft SCCMSG-SCCM Service Graph Connector configuration guide