Comments (61)
It´s alive:
https://admin.microsoft.com/AdminPortal/Home#/servicehealth/:/alerts/DN784551
Deployment is on the way, Hopefully completed over the weekend.
from al.
Hi, we have identified an issue with publishing in BC24 that will cause this. We're currently working on a hotfix and will deploy it to all clusters once ready.
Unfortunately, there is no workaround for this. It's non-deterministic, and eventually retrying will succeed.
from al.
I'm getting the same issues too.
Suggestion:
For deployment use the Extension Management interface
Just for Debugging, you can add a configuration for Attach in the launch.json, Example below
{
"name": "Attach: Microsoft cloud sandbox",
"type": "al",
"request": "attach",
"environmentType": "Sandbox",
"environmentName": "sandbox",
"breakOnError": "All",
"breakOnRecordWrite": "None",
"enableSqlInformationDebugger": true,
"enableLongRunningSqlStatements": true,
"longRunningSqlStatementsThreshold": 500,
"numberOfSqlStatements": 10,
"breakOnNext": "WebClient"
}
from al.
Finally this anoying issue made it to Microsofts attention and got "Issue" Status: ;)
https://admin.microsoft.com/AdminPortal/Home#/servicehealth/:/alerts/DN784551
from al.
An update here, as mentioned we are releasing a hotfix for the issue and it has already been partly deployed. We have verified that it works and should soon be deployed everywhere.
We recognize the impact it has had on AL developers and the publishing story and sincerely apologize for the disruption this issue caused. Unfortunately, the root cause was a race condition caused due to a database configuration change. It was an issue that was very hard to debug and reproduce due to appearing only on specific database configurations and only intermittently, which is why it took so long to fix.
We will take steps to avoid such situations in the future by strengthening our testing scenarios and gating such changes more effectively in the future.
from al.
Thank you @RhipeDynamics . The "attach" workaround is working and helps with debugging.
from al.
@kalberes
Erm...
- Preview environment (Chronus and My Company) was 24.0.16410.16682 which I used to test a few things in the environment and with AL Code: no issues with pushing DEV updates from VS Code.
- Sandbox was updated to 24.0.16410.17628 and I'm pretty sure that I pushed an update from VS Code on Sunday evening that worked. It is still that version and doesn't work now - but if I push an update a few times I can install it manually from Extension Management...
from al.
Same issue here, DK 24 sandbox.
ForceSync not working on 24 sandbox. We have tested, it's still working on 23.5 sandbox
from al.
Also getting the same issue here.
In addition: cannot Copy a Sandbox environment into production (obviously not yet a working company). Resulting production environment has only 'Cronus' and 'My comany' companies. Not the ones in the original sandbox environment.
from al.
Update:
After removing other sandbox environments and publishing again, I instead get the error below:
Reason: No published extensions match the specified parameter values.
When logging in I can see the extension published but not installed in the extension management. If I try to publish yet again, I continue getting the same error above.
from al.
we encounter exactly the same issue.
from al.
same issue here too
from al.
Same thing happens to me too, even if in the development sandbox you try to load the app with the load extensions.
If you compile from vs code the app is only published and not installed and if you do the manual installation operation it works. This is a Microsofts bug.
from al.
Hello, can you please provide some context on the state of your sandbox as you are trying to publish from VSCode?
- Is the currently installed version installed as a global app, a PTE, or a DEV extension?
- Does this happen only when publishing from VSCode as a DEV extension, and not via the extension management page?
- What happens if you uninstall the currently installed version, then re-install it, and then publish from VScode?
We recommend you to open a support case in order to get the necessary information about your environment. Please refer customer support to this GitHub issue if you do open the support case.
from al.
Hi, if I'm publishing from vs code it means I'm developing on a sandbox, not a PRODUCTION.
Even with the loading extensions I have problems, even if I unpublish the app and have a higher version of the app.
Business central SAAS 24 wave 1.
from al.
I did this test to reproduce:
- Create new, fresh Sandbox - version 24.0.16410.17628 lang: NO
- Create new extension in Visual Code with AL:GO!
- Try to publish the new extension to new Sandbox with CTR+F5 or F5
- Error in VB Code . failed with code UnprocessableEntity. Reason: Ingen publiserte utvidelser samsvarer med de angitte parameterverdiene. (last part in Norwegian for some reason but same error as stated before)
- Extension is published to environment, but not installed
- I can install the published extension within BC "Installed Extension" page
- Main problem for me is that I cannot debug in version 24 now
from al.
We have same issue from friday and hoping. but we can't even install from extension page. I hope that it will be fixed soon, this is really big error.
from al.
Hello, can you please provide some context on the state of your sandbox as you are trying to publish from VSCode?
- Is the currently installed version installed as a global app, a PTE, or a DEV extension?
- Does this happen only when publishing from VSCode as a DEV extension, and not via the extension management page?
- What happens if you uninstall the currently installed version, then re-install it, and then publish from VScode?
We recommend you to open a support case in order to get the necessary information about your environment. Please refer customer support to this GitHub issue if you do open the support case.
Hello,
Thank you for your reply.
- The extension is installed from VS Code. The version installed in the PROD is a published, previous version (23).
- Impossible to know as I am pushing to a version that is a later version (24) and not available for production (I believe it is today 22/04/2024).
- It never gets installed, so there is nothing to uninstall.
- I have raised a question in Yammer. Considering no development cant be done by devs there is quite an urgency in having this issue solved.
from al.
The same issue since 18/04 for me.
from al.
same issue facing since yesterday and after upgrading app id and version it shows
from al.
Same here....
from al.
I believe this is the same error -> #7726
from al.
The same issue for me.
from al.
Exactly the same issue for me.
from al.
Same issue here, right now different/new error:
from al.
Same Issue for me, I am publishing the app as PTE and still it errored with "**Deployment failed. Errors: App ID : ******* Message : { An app with package ID '*******' is already published for tenant 'msft1a6720t93294803' } - Job Id : *********" . On extension management it is published, but not installed. Then I am able to install it successfully from there.
from al.
Same problem for me, deploying as Dev - never works. Deleted Sandbox and re-copying production, and now THAT is giving similar errors about package IDs already being published...
Very frustrating!
from al.
Same issue for us, is there an workaround? That is not acceptable...
from al.
I already tested this problem in 3 different customer tenants running version 24 and all of them has the same problem.
I tested in version 23.5 and there are no issues.
I recommend that you don't upgrade to version 24 until this critical issues is fixed.
If you need to do an upgrade execute a backup or copy your 23.5 version to a sandbox before an upgrade.
from al.
I had a preview environment that worked fine.
I initially upgraded our Sandbox to V24 and didn’t have any issues updating extensions via VS Code.
It was only AFTER I committed to V24 on Production that the problem started. I could roll back, but it’s a hassle having to set up external data links and synchronise with online shops that I won’t for something this non-serious.
from al.
Same issue for us, is there an workaround? That is not acceptable...
Workaround:
#7721 (comment)
from al.
@tristancliffe do you have a version number for your preview environment where things have worked?
from al.
23.5 SAAS
from al.
Same issue for my US saas sandbox environment of v24
from al.
Same issue in GB 24.0.16410.17628
It was working with preview SaaS sandbox in V24 and V23 is still ok.
from al.
Same issue
from al.
Same here
from al.
Same
from al.
Same here .
After Unpublish the App Extension, (without delete data), i could install the next App version , after this, same error again
Deployment failed. Errors: App ID : ***************** Message : { An app with package ID 'xxxxxxxxxxxxx' is already published for tenant 'msweua1602t23294033' } - Job Id : 12345-4f8a-44bb-9c81-a88c74f21d3d
from al.
Thanks for placing a notice to acknowledge on AL Home.
Have same issue with VSCode dev, and API PTE /extensionUpload(0)/content
Publish phase succeeds , Install phase gets error... { An app with package ID 'xxxxxxxxxxxxx' is already published for tenant...
Subsequent manual install from extensions page OK.
Affected Sandbox and Production deployments. BC24 and for me BC23.5 following BC24 failed update. (we are GB)
Look forward to fix - Thanks
from al.
Alt Solution : for workaround (waiting until stable version) , if on your production still v23,
i think u need copy from your production to sandbox then you can continue with v23 until v24 stable or another version
that already stable from Microsoft.
from al.
Same issue here, and the problem is when you publish an app with dependencies.
in that case the workaround doesn't work and also publishing phase is failing:
[2024-04-27 07:26:34.64] The request for path /v2.0/ADV_DEMO/dev/apps?tenant=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx&SchemaUpdateMode=forcesync&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: This Extension cannot be published as it has the same App ID and Version as a previously published Extension.
from al.
I am now able to publish and debug again
from al.
Yeah, seems to work for me, too. I was able to publish and debug from VS Code. Also manual installation of extension via extension management works again. Hope it will last :)
from al.
I'm closing the issue as completed since this is an issue with the service itself and not the AL compiler. We will also release an update through the official channels for when the fix is completely deployed
from al.
I am still seeing the issue with this reason while publishing from VS code
failed with code UnprocessableEntity. Reason: This Extension cannot be published as it has the same App ID and Version as a previously published Extension.
from al.
I am still seeing the errors too. I've tried with three of my customers' BC tenants. All the same behavior.
from al.
As mentioned, we are still releasing the hotfix. The issue will be resolved when the hotfix reaches all environments.
from al.
error: Reason: This Extension cannot be published as it has the same App ID and Version as a previously published Extension.
This could be a side effect of the error that I also got several times. Try incrrease version number in your app.json.
from al.
any estimated time frame for hotfix to be deployed.
from al.
It is out in the wild, but takes time to reach all environments - some people had it earlier (see answers above saying all is okay, others like me were a couple of hours later etc. I'd imagine it won't take long to propogate, but generally the guide rule of thumb seems to be 24 hours.
from al.
Does anyone know the version number(s) for the hotfix?
Admin Center says my environment is Up to Date, but it has the same publishing problem as last week.
from al.
I do not think version number is changing with the fix. I have 24.0.16410.17628 that had the error and is working now.
from al.
fix is still not available....
from al.
I am still seeing the issue with this reason while publishing from VS code
failed with code UnprocessableEntity. Reason: This Extension cannot be published as it has the same App ID and Version as a previously published Extension.
If this is still your error message, then you need to increase the version number in app.json.
from al.
fix is still not available....
failed with code UnprocessableEntity. Reason: Sequence contains more than one element
I am seeing this message now.
from al.
fix is still not available....
failed with code UnprocessableEntity. Reason: Sequence contains more than one element
I am seeing this message now.
I cleared alpackages and cache, then downloaded symbols from the updated environment. After that mine worked.
from al.
Hi @RodrigoPuelma
Why is the status of this issue Closed? People are still getting errors...
from al.
fix is still not available....
failed with code UnprocessableEntity. Reason: Sequence contains more than one element
I am seeing this message now.I cleared alpackages and cache, then downloaded symbols from the updated environment. After that mine worked.
Thanks but still not working... I think fix has not been released yet for some region.
from al.
they have already replied that they are working on it, there is no point in writing anymore.
from al.
Hi @RodrigoPuelma Why is the status of this issue Closed? People are still getting errors...
Please refer to the previous reply here:
It is the policy of this repository to close issues once a fix has been planned for release. People with the updated BC platform version are reporting being unblocked., so please be patient as we safely release the fix in stages.
from al.
Related Issues (20)
- Debugger crashes at random points HOT 5
- Misleading ToolTip on RunTime in App.Json
- [AL Language Syntax Highlights Devops] Missing Keyword Highltighing for protected modifier on procedures
- how to copy values from a flow field (Amount) to a custom field (Amt). HOT 1
- Unable to access standard report date item from report extension data item HOT 3
- [BC 24] `Publish-NAVApp` hangs forever on compilation errors HOT 5
- [Copilot] AW0005 should not be shown for PromptGuide actions
- ToolTips added to a TableExtension field are not displayed if they have Locked = true (runtime 13.0) HOT 2
- Event Subscription MissingTypeSymbol issue HOT 1
- Function GetRecord working incorrectly when in factbox we have more then 15 records HOT 1
- AA0232 The FlowField XXX of "TableName" should be added to the SIFT key
- OnAfterGetRecord trigger ignores IsolationLevel specified onOpenPage trigger
- IN operator not working in OdataV4 BC SaaS
- Always an .alpackages/.snapshots folder
- Command 'AL: Go!' resulted in an error (command 'al.go' not found)
- Intellisense in Query- Objects
- Out Of Memory (OOM) Error Opening AL Project Folder
- RUNTIME of Visual Code is not compatible with Server RunTime
- ToolTipsToTableFieldCodeFixProvider.GetControlAndField crashes
- aldoc.exe: wrong procedure argument separator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al.