Finding Salesforce unmanaged assets subscription SourceID for DIS Mapping
Use the following process to identify the Salesforce subscription name (unmapped license that appearing under Umnaged assets > Subscripion) and corresponding Permission Set License Key (SourceID) required by DIS for subscription mapping.
Step 1: Find the subscription
Connecto to MongoDB and go to:
Collection: saas-unverifiedsubscriptions > subscriptionmapping_<tenantID>
Note the value applicationsubscriptionname is the name.
This value should match the masterlabel in the Salesforce licence collection.
Step 2: Find the Salesforce Permission Set Licence
Go to:
Collection: saas-salesforce > permission_set_license
Query using:
- The correct tenantId
- The masterlabel matching the applicationsubscriptionname identified in Step 1
Aggregation Example:
[
{
$match: {
tenantId:
"18b06f44-c4ed-48d4-53f0-08df2391a188",
masterlabel: {
$in: [
"Rebate Management",
"External Einstein Agent",
"Work Order Estimation",
"Criteria-Based Search and Filter for Experience Cloud",
"Partner App Subscription"
]
}
}
}
]
Step 3: Provide the mapping information to DIS
From the matching record, identify:
permissionsetlicensekey
The permissionsetlicensekey is the sourceID required by DIS for mapping.
Provide DIS with:
- Subscription name → masterlabel / applicationsubscriptionname
- Source ID → permissionsetlicensekey
In short:
applicationsubscriptionname → match to masterlabel → retrieve permissionsetlicensekey → provide subscription name + sourceID to DIS.