When deploying an Extension using VS Code you might encounter the following message:
Your license does not grant you the following permissions on TableData Published Application: IndirectInsert
Typically, we will see this error when someone has a Business Central environment with an expired trial. Extensions are installed/deployed environment wide. If your Business Central trial has expired, you will see this error.
To resolve this message the user will need to do one of the following:
- Purchase a Business Central license to make the tenant compliant.
Or
- Delete non-evaluation companies from their Business Central environment.
For Option 2 above, you will need to delete all non-evaluation companies (anything that is not Cronus). An easy way to find which Companies are trials you can go to the Companies page and look at the Evaluation Company column. If the box is unchecked this means it is a trial company.
Since Cronus never expires, you can use the free IWs License to develop in Business Central.
I hope you find this information useful in resolving this error. Let us know if you have any questions.