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

Deployment Error in Extension Uploading

(0) ShareShare
ReportReport
Posted on by 410

PLease see error: I don't know why this is happening. In previous version I had a field and new version I removed the field and added new field in the table. After that it showing this error.

Deployment failed. Errors: App ID : xxxxxxxxxxxxxxx Message : { A request to the Data Plane Admin Service failed.
Http status code: BadRequest
Error:
{
"code": "ExtensionChangeFailed",
"message": "TableExtension ServiceInvoiceLine :: Nicht unterstützte Feldänderung. Feld:Type 1; Änderung:Remove",
"innerError": {
"code": "SyncValidationFailed"
}
} }

My Launch.json:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "al",
            "request": "launch",
            "name": "Microsoft cloud sandbox",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": true, 
            "launchBrowser": true,
           "enableLongRunningSqlStatements": true,
           "enableSqlInformationDebugger": true,
            "schemaUpdateMode": "Recreate"
            
        }
    ]
}
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    The error here is related to a field removal in a table extension object. What field have you removed?

  • Asif Shahzad Profile Picture
    410 on at

    Thanks for your reply.

    The field was also custom field, first i added then I removed because it was in use. The field name was "Type 1", actually i wanted to add new option member in Type but couldn't then made new field "Type 1" and later I found changed its name.

    Now error is coming ,I dont how where to clean. Though in Launch.json I set recreate schema.

    Please suggestion any solution.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    I see now that you’re on SaaS. Here you cannot force this modification, you should create a new sandbox (or clear this one) and deploy the modified extension here.

  • Asif Shahzad Profile Picture
    410 on at

    No, on sandbox its working fine. But when i upload the extension manually on Production environment, it gives this error. How I can clear production environment? or if I create a new production environment then what will about my existing data in Production? It will be removed?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Only on a sandbox you can recreate a schema. When an app is published in a production environment all things related to schema must be additive. This error happens on production because you have removed Type 1 field definition from your extension. Also if you have declared the field as ObsoleteState = Removed, you need to have this field in the extension code. 
    The final effect is that you cannot use this field (so for you it’s removed) but on the underlying database the field is present (but not usable).

    please add this field with ObsoleteState = Removed again.

  • Asif Shahzad Profile Picture
    410 on at

    Thanks for your detailed reply. Well, I try to add this field again with ObsalateState = Removed,then compile and try to publish on production again.  ll let you know the result.:)

  • Asif Shahzad Profile Picture
    410 on at

    Stefano thanks, it worked :)

    Here, can I ask few questions more?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Yes sure

  • Asif Shahzad Profile Picture
    410 on at

    Thanks.

    1. Why every time i need to change version of extension to upload on Production? Cannot overwrite existing version?

    2. After publishing greater version; we cannot go lower version that is already uploaded and works properly?

    3. In production everything we need to upload manually? Cannot upload automatically as SAndbox?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    1) Because it’s needed to trigger the upgrade process under the tenant.

    2) No

    3) Yes only manual deployment or via Automation APIs. No VS Code deployment.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 677 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 430 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans