Cannot find any information on entitlement error

Dana S
Tera Contributor

Can anyone explain this error to me?  I am using a flow to update a software entitlement list and receive this error.  I can insert the record manually.  Any help is appreciated!!

 

Error occured while inserting record: Operation against file 'alm_entitlement_user' was aborted by Business Rule 'Ensure Entitlements do not exceed rights^b7b89fbc8784ba105f0b62073cbb35dd'. Business Rule Stack:Ensure Entitlements do not exceed rights

4 REPLIES 4

dbook
Mega Sage

I assume you are trying to add user allocations? 

The 'Ensure Entitlements do not exceed rights' business rule prevents inserts where it would breach remaining 'Allocations Available' bar some exceptions. 

 

 

Enterprise contract active? = Bypass all checks.

Unlimited license? = Bypass all checks.

 

Otherwise:

  • Block if you try to allocate more than available rights.

  • Warn (don’t block) if the total allocations that match the applicable consumption rule exceed its license pool.

 

I have seen this problem occur where multiple entitlements exist for a Software model but has not been catered for in a flow, so ensure you are looping through all entitlements in the scenario where you have 2+ entitlements and one is fully allocated. 

 

I'm also receiving that error message.

I have few users who have different licenses, let's say Copilot, Teams Premium, then I created a simple Flow to update the allocations every day (just in case someone add or remove a user directly from Entra ID group), then I have this user "John Doe", who has Copilot and Teams Premium.
Because he is already showing up in the table under Teams Premium, the flow returns the error "Error occured while inserting record: Operation against file 'alm_entitlement_user' was aborted by Business Rule 'Ensure Entitlements do not exceed rights" when trying to add him to Copilot entitlement.

TejasSN_LogicX
Tera Contributor

Hi @Dana S ,

Your flow is trying to assign a license, but the system is enforcing an inventory check and saying, "Sorry, all licenses for that entitlement are already used up." You need to fix the data/inventory side or adjust what your flow is trying to assign.

dreinhardt
Kilo Patron
Kilo Patron

Hi @Dana S ,

is there any use case the direct integration for M365 an it’s user subscription import is not covering and requires a manual import?

 

Best, Dennis

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