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...
Active Discussion

Cannot download symbols by Visual Code.

(1) ShareShare
ReportReport
Posted on by 5

Hi experds, i have instance of BC on sandbox and i can't download symbols. I get this error :

If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2022-06-16 21:27:19.84] Sending request to https://dynamic365book.westeurope.cloudapp.azure.com:7049/BC/dev/metadata
[2022-06-16 21:27:19.91] Error: The SSL connection could not be established, see inner exception.
The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot

[2022-06-16 21:27:19.91] Error: An error occured while processing the request.
Request ID: d94ee0fd-99ae-468a-a41b-187bfd0d2c17
Session ID: 1a244fcc-c9bf-41b2-b15d-0f267a487b25

My json files:

{
    "version": "0.2.0",
    "configurations": [
        {
            "server": "https://dynamic365book.westeurope.cloudapp.azure.com",
            "serverInstance": "BC",
            "tenant": "",
            "authentication": "UserPassword",
            "name": "Microsoft cloud sandbox",
            "request": "launch",
            "type": "al",
            "environmentType": "Sandbox",
            "environmentName": "sandbox",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": true,
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true
        }
    ]
}

{
  "id": "43cf2edb-444a-4883-8ba8-d774a85165d0",
  "name": "ALProject1",
  "publisher": "Default publisher",
  "version": "1.0.0.0",
  "brief": "",
  "description": "",
  "privacyStatement": "",
  "EULA": "",
  "help": "",
  "url": "",
  "logo": "",
  "dependencies": [],
  "screenshots": [],
  "platform": "1.0.0.0",
  "application": "20.0.0.0",
  "idRanges": [
    {
      "from": 50100,
      "to": 50149
    }
  ],
  "resourceExposurePolicy": {
    "allowDebugging": true,
    "allowDownloadingSource": false,
    "includeSourceInSymbolFile": false
  },
  "runtime": "9.0"
}

  • BrianDev Profile Picture
    105 on at

    If you paste server URL into a browser are you able to connect?

  • LikeAgrael Profile Picture
    5 on at

    Yes, I i have access to dashboard, webclient, remote etc. I checked account admin has all permissions. In Visual Studio when I fill user credentials browser redirect me to code authorization. But when i fill my email i get error about company email.

    2022_2D00_06_2D00_16_5F00_22h26_5F00_19.png

  • YUN ZHU Profile Picture
    104,157 Super User 2026 Season 2 on at

    Hi, It looks like you are mixing SaaS and On-Premise link settings.

    Below is a general example:

    For SaaS: 

    pastedimage1655426879232v1.png

    For On-Premises:

    pastedimage1655426989654v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    The developer services endpoint is configured with 7049 as per the screenshot. If you also enabled SSL for this service, a certificate must be configured via the certificate thumbprint in customsettings.config file. If that SSL is not trusted you get this error. You can copy the self signed cert via Certificate Snappin in Windows to the trusted store.

    Hope it helps.

    Thanks.

  • IB-29041624-0 Profile Picture
    1,191 Moderator on at

    If you are running BC on a virtual machine in Azure you should try to install VS code on that virtual machine and see if you can get it to work there first before you try to access it remotely.

    But the easiest way would be to use Docker or an online Sandbox for your development training.

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 624 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 440 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 244 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans