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

Notifications

Announcements

Community site session details

Community site session details

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

Issues publishing the customisation

(1) ShareShare
ReportReport
Posted on by 46
Hi there,
 
I am trying tp publish my customization package below is my Json file for configuration. Before the issues with the connection was resolved with changing the version 27.0.0.0.
 
It seems like something to do with the setting.
 
I have listed below the AL code for adding a datetime fields.
 
however now when publishing the customization I have the below error. My launch json is as below
 
Any help would be really appreciated 
 
Error Log
 
[2026-01-27 21:25:24.30] Publishing AL application using launch configuration 'Microsoft cloud sandbox'.
 
[2026-01-27 21:25:24.79] Authenticated as user 'amit.kary@XXXXXXXX' in tenant 'XXXXXXXXXXXX'. Please note that these credentials are cached. Clear the credentials cache to authenticate as another user.
 
[2026-01-27 21:25:24.79] Targeting Dynamics 365 Business Central environment tenant '31ec9b1a-4393-4bd7-8438-b0c158aedeb8'.
 
[2026-01-27 21:25:46.13] Error: Internal Server Error
 
[2026-01-27 21:25:46.14] Error: Error: An error occured while processing the request.
 
Request ID:
 
Session ID:
 
 
 
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
 
[2026-01-27 21:25:46.18] The request for path /v2.0/WiiseDemoProduction/dev/metadata?tenant=31ec9b1a-4393-4bd7-8438-b0c158aedeb8 failed with code InternalServerError. Reason: Internal Server Error
 
 
 
 
        {
            "name": "Microsoft cloud sandbox",
            "request": "launch",
            "type": "al",
            "environmentType": "Production",
            "environmentName": "WiiseDemoProduction",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": "All",
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true,
            "tenant": "XXXXXXXXXXX"
        }
 
 
tableextension 50100 "Sales Header Ext" extends "Sales Header"
{
    fields
    {
        field(50100; "SDTM Date"; DateTime)
        {
            Caption = 'SDTM Date';
        }
    }
}
 
pageextension 50100 "Sales Order Ext" extends "Sales Order"
{
    layout
    {
        addlast(General)
        {
            field("SDTM Date"; "SDTM Date")
            {
                ApplicationArea = All;
            }
        }
    }
}
 
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    Dhiren Nagar Profile Picture
    1,099 on at
    Hi,
     
    You can only publish an extension directly from VS code to environment of type "Sandbox" and not "Production".
     
     
    Regards,
    Dhiren.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,589

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 970 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 744 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans