How To Connect To A Named Sandbox Environment

How To Connect To A Named Sandbox Environment

Darren Austin

Lead Dynamics Business Central Developer|Kerv Digital

Published 06/07/22 under:

Have a question?

Get in touch

You’ll often find you need to connect visual studio code to each of the sandbox environments you’re working with…

As a developer working across multiple projects you’ll find that you need to connect visual studio code to each of the sandbox environments you’re working with.

The standard launch .json file won’t work when you initially start your project as its generic – expecting you to only connect to one project and the account you’re connecting with is not a partner account – it’s a user account.

Connecting to the sandbox from Visual Studio Code is key for your application as you’ll need to download symbols – this gives you the symbols from the base Microsoft apps but also you can extend the app .json file to include any custom apps you need in your project.

To connect to a named sandbox instance, I have found adding the following lines in to your launch json file:

  1. Server – this is the http url of your server – Not 100% needed in this process but I like to add it to see the full detail of what I am connecting too.
  2. Tenant – this specifies the tenant name of the server, in my example it is the guid you would find in your full business central url.
  3. SandboxName – This is the name of the sandbox it should publish too, this is key if you have multiple sandboxes in your tenant.

 

 

As an end result your file should look something like this, having added these lines and saving the file.

You should be able to download symbols and publish your applications to your sandbox environment.

 

 

If you have multiple sandbox environments in your tenant, then you should only have to change the last property – SandboxName – to the name of your sandbox.

Download symbols and then just publish

Related Articles

You might also be interested in

From our world to yours

Going Beyond The Theory: Kerv Digital & The DVSA

From our world to yours

Life @ Kerv Digital As A Performance Analyst

From our world to yours

Four ways to defend against Cyber Criminals attempt to infiltrate Contact Centres

From our world to yours

Microsoft Cloud For Nonprofit: Fundraising & Engagement

From our world to yours

Kerv Group brings rich, actionable insights to bear on improving performance management...

From our world to yours

4 ways to integrate your Contact Centre and CRM to deliver brilliant...

From our world to yours

Kerv Digital 2022 Wrap-Up

From our world to yours

Life @ Kerv Digital As A Recruitment & People Analytics Manager

From our world to yours

CX Translate Opens the Door to International Understanding in Cross-Border Contact Centres

From our world to yours

Cloud Confessions: Q&A with CTO on Communications Compliance

From our world to yours

Helping With Hackathon Fundamentals

From our world to yours

Kerv Digital & Microsoft Solutions Partner Designations

From our world to yours

Life at Kerv as a Billing & Operations Co-Ordinator

From our world to yours

Deciphering Digital Transformation

From our world to yours

4 Things to Bear in Mind About Microsoft Teams Policy Based Recording

From our world to yours

Understanding EX: Achieving the utmost from workforce engagement management (WEM)

From our world to yours

Working Wellness: More Kerv Digital Benefits

From our world to yours

Cloud is not a destination

From our world to yours

How SD-WAN enables service provider flexibility, enhancing connectivity and reducing cost

From our world to yours

Taking the guesswork out of managing your future bandwidth demand

From our world to yours

Application Performance: User Experience

From our world to yours

Rapid Site Deployment and its Impact on Retail Profitability Across Store Locations

From our world to yours

Why your network infrastructure is key in mergers and acquisitions

From our world to yours

Data Platform Pragmatism

From our world to yours

Will SD-WAN really save money and why you must take a proper...

Have a question?

Leave your details and a member of the team will be in touch to help.
By pressing send, you agree to our Terms and Conditions and Privacy Policy.
This field is for validation purposes and should be left unchanged.