Adobe Cloud integration for SAM purpose not working in development instance after clone

Arturo4
Mega Guru

SAM pro was implemented and an integration with Adobe Cloud to download subscriptions was configured and enabled (According to the Servicenow documentation: “Integrate Adobe Cloud using OAuth Server-to-Server credentials”) for what is called OAuth Server-to-Server credentials. After the development environment where we installed the integration for the first time was cloned over, we noticed the integration had stopped working and no additional subscriptions were downloaded. The error messages were not clear and not helpful.

1 ACCEPTED SOLUTION

Arturo4
Mega Guru

ServiceNow SAM Pro enables customers to perform software reconciliation for traditional software vendors. Additionally, it supports integration with SaaS vendors, allowing organizations to track subscription usage and entitlement — such as the number of active Adobe Cloud subscriptions.

 

When following the standard setup steps for Adobe Cloud integration (as outlined in the ServiceNow documentation: “Integrate Adobe Cloud using OAuth Server-to-Server credentials”), the integration typically works successfully the first time.

 

However, after a development instance is cloned, the integration may stop functioning — specifically, subscriptions may no longer be downloaded. 

 

This issue usually stems from missing or invalid data that was originally entered during the initial installation. During the setup process, several key attributes are required to establish a working connection. These include (but are not limited to client id, organization id, etc.):

 

Arturo4_0-1756759575680.png

 

Talking to your Adobe admin will help tremendously to be able to perform the Servicenow setup instructions.

 

As mentioned, after cloning, the “Import Adobe User Subscriptions” job fails, showing it in status.  

 

Arturo4_1-1756759575682.png

 

After opening the job result in this case SJR0025527, the message is not helpful:

 

Arturo4_2-1756759575683.png

 

As part of the troubleshooting, I tried to recreate the token, double checked client id and client secret but that didn’t help. I started checking the table that stores the subscriptions profiles: samp_sw_subscription_profile.  I figured out the one parameter was missing:  Technical account id. I noticed that since I took screenshots of the profile before the clone and then I reviewed it carefully.

 

For security reasons, I was unable to overwrite the Technical Account ID directly from the list view. Additionally, I wanted to avoid creating a new integration profile. As a workaround — though not recommended — I modified the XML file to update the profile and manually insert the value for the Technical Account ID field.

 

Arturo4_3-1756759575683.png

 

 

Later, I reloaded the subscription profile XML file. After that, the daily jobs resumed functioning as expected, and subscription records began populating in the samp_sw_subscription table. The Subscription Profile field in this last table points to the corresponding integration profile, which helps confirm that the subscription download job is working correctly again!

 

 

 

 

View solution in original post

1 REPLY 1

Arturo4
Mega Guru

ServiceNow SAM Pro enables customers to perform software reconciliation for traditional software vendors. Additionally, it supports integration with SaaS vendors, allowing organizations to track subscription usage and entitlement — such as the number of active Adobe Cloud subscriptions.

 

When following the standard setup steps for Adobe Cloud integration (as outlined in the ServiceNow documentation: “Integrate Adobe Cloud using OAuth Server-to-Server credentials”), the integration typically works successfully the first time.

 

However, after a development instance is cloned, the integration may stop functioning — specifically, subscriptions may no longer be downloaded. 

 

This issue usually stems from missing or invalid data that was originally entered during the initial installation. During the setup process, several key attributes are required to establish a working connection. These include (but are not limited to client id, organization id, etc.):

 

Arturo4_0-1756759575680.png

 

Talking to your Adobe admin will help tremendously to be able to perform the Servicenow setup instructions.

 

As mentioned, after cloning, the “Import Adobe User Subscriptions” job fails, showing it in status.  

 

Arturo4_1-1756759575682.png

 

After opening the job result in this case SJR0025527, the message is not helpful:

 

Arturo4_2-1756759575683.png

 

As part of the troubleshooting, I tried to recreate the token, double checked client id and client secret but that didn’t help. I started checking the table that stores the subscriptions profiles: samp_sw_subscription_profile.  I figured out the one parameter was missing:  Technical account id. I noticed that since I took screenshots of the profile before the clone and then I reviewed it carefully.

 

For security reasons, I was unable to overwrite the Technical Account ID directly from the list view. Additionally, I wanted to avoid creating a new integration profile. As a workaround — though not recommended — I modified the XML file to update the profile and manually insert the value for the Technical Account ID field.

 

Arturo4_3-1756759575683.png

 

 

Later, I reloaded the subscription profile XML file. After that, the daily jobs resumed functioning as expected, and subscription records began populating in the samp_sw_subscription table. The Subscription Profile field in this last table points to the corresponding integration profile, which helps confirm that the subscription download job is working correctly again!