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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

How do you deploy your app extension to an online Sandbox?

(0) ShareShare
ReportReport
Posted on by 92

Hello,

I found this post: https://community.dynamics.com/business/f/758/t/298407 and it says it is possible to deploy your app to an online sandbox but I can't figure it out.  I wanted to do it by using the Install action on extension management but that is disabled. I guess I don't know what to put in my launch.json.  Specifically I don't know what to put in the server and serverinstance parameters.  This is what I have currently.  Is this the way you go about deploying to an online sandbox? How do I figure out what to put in the serverinstance?

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "al",
            "request": "launch",
            "name": "Your own server",
            "server": "https://businesscentral.dynamics.com/(tenantid)/sandbox",
            "tenant": "",
            "serverInstance": "NAV",
            "authentication": "UserPassword",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": true
        }
    ]
}


Categories:
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,248 Super User 2026 Season 1 on at

    you have to manually upload app file via extension management page.

    docs.microsoft.com/.../devenv-deploy-tenant-customization

  • Verified answer
    jdecottignies Profile Picture
    217 on at

    Hi,

    You just have to put your server url. You will be prompted automaticaly when downloading symbols (do a CTRL + SHIFt + P + Clear Credential Cache before to be sure).

    If you want to use the tenant property, then you have to put your onmicrosoft account : "youraccount.onmicrosoft.com" (it's not required but safer)

    Remove serverInstance and authentification properties, you don't need these for sandbox deployment

  • Suggested answer
    Mohana Yadav Profile Picture
    61,248 Super User 2026 Season 1 on at

    Sorry, I thought it was Online Production.

    for sandbox, you just need tenant property and no need of server, serverinstance etc.

  • gnilsen Profile Picture
    92 on at

    Thank you all:

    Below is what worked.
  • Suggested answer
    gnilsen Profile Picture
    92 on at

    This is what worked:

    {
        "version": "0.2.0",
        "configurations": [
            {
                "type": "al",
                "request": "launch",
                "name": "Your own server",
                "server": "https://businesscentral.dynamics.com/(Tenant GUID)",
                "startupObjectId": 22,
                "startupObjectType": "Page",
                "breakOnError": true
            }
        ]
    }

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans