Giter Site home page Giter Site logo

Comments (61)

frankjanssenwewo avatar frankjanssenwewo commented on June 12, 2024 3

It´s alive:
https://admin.microsoft.com/AdminPortal/Home#/servicehealth/:/alerts/DN784551
Deployment is on the way, Hopefully completed over the weekend.

from al.

thloke avatar thloke commented on June 12, 2024 2

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.

RhipeDynamics avatar RhipeDynamics commented on June 12, 2024 2

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.

frankjanssenwewo avatar frankjanssenwewo commented on June 12, 2024 2

Finally this anoying issue made it to Microsofts attention and got "Issue" Status: ;)
https://admin.microsoft.com/AdminPortal/Home#/servicehealth/:/alerts/DN784551

from al.

BazookaMusic avatar BazookaMusic commented on June 12, 2024 2

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.

cghasvi avatar cghasvi commented on June 12, 2024 1

Thank you @RhipeDynamics . The "attach" workaround is working and helps with debugging.

from al.

tristancliffe avatar tristancliffe commented on June 12, 2024 1

@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.

tinfisterNP avatar tinfisterNP commented on June 12, 2024 1

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.

jmarinLaberit avatar jmarinLaberit commented on June 12, 2024 1

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.

RodrigoPuelma avatar RodrigoPuelma commented on June 12, 2024

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.

YvesDesrumaux avatar YvesDesrumaux commented on June 12, 2024

we encounter exactly the same issue.

from al.

cghasvi avatar cghasvi commented on June 12, 2024

same issue here too

from al.

ENDO261985 avatar ENDO261985 commented on June 12, 2024

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.

EmilDamsbo avatar EmilDamsbo commented on June 12, 2024

Hello, can you please provide some context on the state of your sandbox as you are trying to publish from VSCode?

  1. Is the currently installed version installed as a global app, a PTE, or a DEV extension?
  2. Does this happen only when publishing from VSCode as a DEV extension, and not via the extension management page?
  3. 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.

ENDO261985 avatar ENDO261985 commented on June 12, 2024

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.

cghasvi avatar cghasvi commented on June 12, 2024

I did this test to reproduce:

  1. Create new, fresh Sandbox - version 24.0.16410.17628 lang: NO
  2. Create new extension in Visual Code with AL:GO!
  3. Try to publish the new extension to new Sandbox with CTR+F5 or F5
  4. 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)
  5. Extension is published to environment, but not installed
  6. I can install the published extension within BC "Installed Extension" page
  7. Main problem for me is that I cannot debug in version 24 now

from al.

KarelKoncel avatar KarelKoncel commented on June 12, 2024

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.

RodrigoPuelma avatar RodrigoPuelma commented on June 12, 2024

Hello, can you please provide some context on the state of your sandbox as you are trying to publish from VSCode?

  1. Is the currently installed version installed as a global app, a PTE, or a DEV extension?
  2. Does this happen only when publishing from VSCode as a DEV extension, and not via the extension management page?
  3. 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.

  1. The extension is installed from VS Code. The version installed in the PROD is a published, previous version (23).
  2. 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).
  3. It never gets installed, so there is nothing to uninstall.
  4. 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.

cvicq avatar cvicq commented on June 12, 2024

The same issue since 18/04 for me.

from al.

RDJ202V avatar RDJ202V commented on June 12, 2024

same issue facing since yesterday and after upgrading app id and version it shows
image

from al.

StijnBt avatar StijnBt commented on June 12, 2024

Same here....

from al.

ManishKutar avatar ManishKutar commented on June 12, 2024

I believe this is the same error -> #7726

from al.

nick-webbgh avatar nick-webbgh commented on June 12, 2024

The same issue for me.

from al.

bricetaullee avatar bricetaullee commented on June 12, 2024

Exactly the same issue for me.

from al.

frankjanssenwewo avatar frankjanssenwewo commented on June 12, 2024

Same issue here, right now different/new error:
image

from al.

ashishsharmainecta avatar ashishsharmainecta commented on June 12, 2024

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.

tristancliffe avatar tristancliffe commented on June 12, 2024

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.

frottke avatar frottke commented on June 12, 2024

Same issue for us, is there an workaround? That is not acceptable...

from al.

JorgeCarlos avatar JorgeCarlos commented on June 12, 2024

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.

tristancliffe avatar tristancliffe commented on June 12, 2024

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.

RhipeDynamics avatar RhipeDynamics commented on June 12, 2024

Same issue for us, is there an workaround? That is not acceptable...
Workaround:
#7721 (comment)

from al.

kalberes avatar kalberes commented on June 12, 2024

@tristancliffe do you have a version number for your preview environment where things have worked?

from al.

ENDO261985 avatar ENDO261985 commented on June 12, 2024

23.5 SAAS

from al.

DmitryKatson avatar DmitryKatson commented on June 12, 2024

Same issue for my US saas sandbox environment of v24

from al.

PABerrill avatar PABerrill commented on June 12, 2024

Same issue in GB 24.0.16410.17628
It was working with preview SaaS sandbox in V24 and V23 is still ok.

from al.

developerchristiaens avatar developerchristiaens commented on June 12, 2024

Same issue

from al.

thegaet avatar thegaet commented on June 12, 2024

Same here

from al.

POG2I avatar POG2I commented on June 12, 2024

Same

from al.

EBCPKA avatar EBCPKA commented on June 12, 2024

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.

CBIZGIT avatar CBIZGIT commented on June 12, 2024

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.

pratamarendi-apac avatar pratamarendi-apac commented on June 12, 2024

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.

EmiPellic avatar EmiPellic commented on June 12, 2024

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.

cghasvi avatar cghasvi commented on June 12, 2024

I am now able to publish and debug again

from al.

frankjanssenwewo avatar frankjanssenwewo commented on June 12, 2024

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.

BazookaMusic avatar BazookaMusic commented on June 12, 2024

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.

RSMNishant avatar RSMNishant commented on June 12, 2024

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.

jackgentle avatar jackgentle commented on June 12, 2024

I am still seeing the errors too. I've tried with three of my customers' BC tenants. All the same behavior.

from al.

BazookaMusic avatar BazookaMusic commented on June 12, 2024

As mentioned, we are still releasing the hotfix. The issue will be resolved when the hotfix reaches all environments.

from al.

cghasvi avatar cghasvi commented on June 12, 2024

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.

RSMNishant avatar RSMNishant commented on June 12, 2024

any estimated time frame for hotfix to be deployed.

from al.

tristancliffe avatar tristancliffe commented on June 12, 2024

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.

EmilyH4 avatar EmilyH4 commented on June 12, 2024

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.

cghasvi avatar cghasvi commented on June 12, 2024

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.

RSMNishant avatar RSMNishant commented on June 12, 2024

fix is still not available....

from al.

tristancliffe avatar tristancliffe commented on June 12, 2024

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.

RSMNishant avatar RSMNishant commented on June 12, 2024

fix is still not available....

failed with code UnprocessableEntity. Reason: Sequence contains more than one element

I am seeing this message now.

from al.

EmilyH4 avatar EmilyH4 commented on June 12, 2024

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.

HazardMK avatar HazardMK commented on June 12, 2024

Hi @RodrigoPuelma
Why is the status of this issue Closed? People are still getting errors...

from al.

RSMNishant avatar RSMNishant commented on June 12, 2024

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.

ENDO261985 avatar ENDO261985 commented on June 12, 2024

they have already replied that they are working on it, there is no point in writing anymore.

from al.

EmilDamsbo avatar EmilDamsbo commented on June 12, 2024

@RSMNishant

Hi @RodrigoPuelma Why is the status of this issue Closed? People are still getting errors...

Please refer to the previous reply here:

#7721 (comment)

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.