web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Can not deploy or debug

(0) ShareShare
ReportReport
Posted on by 42

Hi,

Please help me this error when public app or debug: SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: The extension could not be deployed because it is already deployed on another tenant.

I have taken the following steps:

I change the field size on the table and run "schemaUpdateMode": "ForceSync" in launch.json (after deploy i block //"schemaUpdateMode": "ForceSync",):

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "al",
            "request": "launch",
            "name": "ITDOF_UPGRADE",
            "server": "http://localhost",
            "serverInstance": "BC140",
            "authentication": "Windows",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": true,
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true,
            "schemaUpdateMode": "ForceSync",
       
        }
    ]
}

Then deploy app as steps bellow (extention install OK):

  • Publish-NAVApp -ServerInstance BC140 -Path "C:\Extension DEV from LIVE\ITDOF_UPGRADE\ITDOF_ITDOF_UPGRADE_18.4.4.110.app" –SkipVerification
  • Sync-NAVApp -ServerInstance BC140 -Name "ITDOF_UPGRADE" -Version 18.4.4.110 -Mode ForceSync
  • Start-NAVAppDataUpgrade -ServerInstance BC140 -Name "ITDOF_UPGRADE" -Version 18.4.4.110

If I public directly from VS Code or Debug (F5) I get an error as picture:

I don’t know when change size field (ex: code[20] -> code[30]) I deploy it right (command) ?  cause and how to fix it, please help me !!!

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Can you please define the Port Number property as well in the Launch.json file?

  • Vu Chi Profile Picture
    42 on at

    Thanks your reply, but it not working and still be error

    I think it not main cause 

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Please add the property

    "tenant":default

    and try again.

  • Vu Chi Profile Picture
    42 on at

    I added the property but this error still be continue

  • Doug Huras-Encore Profile Picture
    7 on at

    Have you tried to increase the version number in the app.json file?

  • Vu Chi Profile Picture
    42 on at
    I created new version for App but it still be working with this error, can someone help me!!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,216 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,471 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,369

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans