Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install a hello world OnPrem with personal licence #7776

Closed
jmadrigalTCN opened this issue Jun 20, 2024 · 2 comments
Closed

Can not install a hello world OnPrem with personal licence #7776

jmadrigalTCN opened this issue Jun 20, 2024 · 2 comments

Comments

@jmadrigalTCN
Copy link

Please include the following with each issue:

1. Describe the bug
In a OnPrem v. 230 and 240 version and with my licence in these BBDD, I can not install any app, not eve a helloWorld, with target=OnPrem in the app.json file

2. To Reproduce
Steps to reproduce the behavior:

Create a new HelloWorld app with AL Go comand.
Set then property Target = OnPrem in the app.json file: i.e:

{
"id": "5db73a4e-87c0-4ca3-a223-ce332f64366f",
"name": "test01",
"publisher": "Default Publisher",
"version": "1.0.0.0",
"brief": "https://tecon.es",
"description": "https://tecon.es",
"privacyStatement": "https://tecon.es",
"EULA": "https://tecon.es",
"help": "https://tecon.es",
"url": "https://tecon.es",
"logo": "logo/informacion.png",
"contextSensitiveHelpUrl": "https://tecon.es",
"dependencies": [],
"screenshots": [],
"platform": "1.0.0.0",
"application": "24.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": true,
"includeSourceInSymbolFile": true
},
"runtime": "13.0",
"features": [
"NoImplicitWith","TranslationFile"
],
"target": "OnPrem"
}

Then, with a final custer licence installed in the BBDD, try to install the app via Ctrl+F5 or with powershell, and then you will get the next error:

The request for path /BC240/dev/apps?tenant=default&SchemaUpdateMode=forcesync&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: Sorry, we can't proceed with the operation for app 'borrame33' by 'Default Publisher' for tenant 'default' because the app doesn’t meet our Universal Code requirement. You must either upgrade the app to meet the requirement or license the non-Universal Code module that grants an exception to the requirement. For more information, see https://aka.ms/bcUniversalCode.

Can not we now set the target as OnPrem for OnPremise environments?

@dannoe
Copy link

dannoe commented Jun 20, 2024

Check the provided link with your partner account: https://aka.ms/bcUniversalCode
Or read this blog post https://community.dynamics.com/blogs/post/?postid=5508a98b-1175-431d-98c1-c1f80ee1753e

You have to license apps that don't target the cloud.

@BazookaMusic
Copy link

This is by design as the error describes. As mentioned, the apps must be licensed if they are targeting on-prem..

@BazookaMusic BazookaMusic closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants