Unlimited licenses for Resource Consumption

Anshuman Damani
Tera Contributor

My organization has a license which is unlimited and the license metric is "Per Tenant" . For ELP, I manually prepare the ELP by taking the consumption from the app owner. 

 

On SAM Pro, I created the entitlement with "Resource Consumption" metric and currently have given it a huge quantity. However, I would like to choose the "Unlimited License" option here while putting in the Unit Cost.

 

How can I do it i.e. how can I extend the Unlimited License functionality to Resource Consumption license metric too ?

1 ACCEPTED SOLUTION

dreinhardt
Tera Sage

Hi @Anshuman Damani,

 

the following Business Rule triggers the error banner "Verify unlimited license type and metric"

dreinhardt_0-1745256359642.png

 

Please update the Script Include "SAMPLicenseTypeUtils" and add the required types and metrics

  • line 369 - isValidUnlimitedLicenseType
  • line 377 - isValidUnlimitedLicenseMetric

dreinhardt_1-1745256602430.png

 

Note: Please keep in mind that is part of SAMP core script and can cause issues in other parts of the SAMP module and will be a skipped record as part of each platform upgrade process

 

Best, Dennis

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.

View solution in original post

3 REPLIES 3

dreinhardt
Tera Sage

Hi @Anshuman Damani,

 

please adjust the following UI policy "Show/Hide unlimited license on license type and metric change" and add the missing license metric/types to enable the "unlimited licenses" field.

 

dreinhardt_0-1745007367945.png

 

Best, Dennis

 

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.

Anshuman Damani
Tera Contributor

Hi @dreinhardt 

 

Thanks for the quick response. 

Tried that, it made the checkbox visible, however, it doesn't let me save it. It throws an error : Unlimited rights only allowed for Per User,Per device,Per Named User,Per Named Device and User Subscription license metric. Screenshot attached.

dreinhardt
Tera Sage

Hi @Anshuman Damani,

 

the following Business Rule triggers the error banner "Verify unlimited license type and metric"

dreinhardt_0-1745256359642.png

 

Please update the Script Include "SAMPLicenseTypeUtils" and add the required types and metrics

  • line 369 - isValidUnlimitedLicenseType
  • line 377 - isValidUnlimitedLicenseMetric

dreinhardt_1-1745256602430.png

 

Note: Please keep in mind that is part of SAMP core script and can cause issues in other parts of the SAMP module and will be a skipped record as part of each platform upgrade process

 

Best, Dennis

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.