The runtime version of the extension package is currently set to '2.1'


While deploying one of our base extensions to a customer tenant we got an error with "Unable to Install the Extension *******". This was the same extension we deployed to the same tenant couple of days ago with a different version. We revert our changes and try to publish it again but the same error. 

The error was not much descriptive so we could not identify what was the issue. Therefore we deploy the same extension to one of our on-premise servers and check the event log. 

We got the below error from the event log:

The runtime version of the extension package is currently set to '2.1'. The runtime version must be set to '2.0' or earlier in the app.json file in order to install the extension package on this server.



Our app.json file of the AL extension didn't have the "runtime" property defined so I assume when we uploading the extension to Business Central, upload function took 2.1 version as the default which was the latest at that time. However, the tenant was not supporting the 2.1 version. 

We add the "runtime": "2.0" property to app.json and then we upload it to Business Central. This time it got uploaded to Business Central without an issue. 


Please provide your feedback with a comment. 
Thank you and Regards,
Tharanga Chandrasekara
Comment List
Related
Recommended