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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Error while try to connect sandbox with VScode in AL

(0) ShareShare
ReportReport
Posted on by 2,100

Hi All,

we are facing below error while we try to connect business central sandbox with vscode extension. we are using below versions instance to connect.

Error: The SSL connection could not be established, see inner exception.

The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown, OfflineRevocation

Business central version: 21.2

Al extension version: v10.2.719883

AL Run time property: 9.0 [Also tried with 10.0]

pastedimage1671802377859v1.png

pastedimage1671802402068v2.png

Thank you.

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    Please check your launch.json file.

    Make sure you have the right enviornment type, sandbox name and tenant/domain defined there.

    learn.microsoft.com/.../devenv-json-files

  • Inkey Solutions Profile Picture
    2,100 on at

    Hi

    Yes, we have a right environment type, sandbox name in the launch. Json file.

    but still, we are facing same issue.

    Thank you.

  • Suggested answer
    pankaj.k Profile Picture
    994 on at

    Hi inkey,

    Delete HelloWorld file because you can face the Duplicate Object Id Issue.

    after this, close  all the tab & VSCode and Retry it again.

  • Inkey Solutions Profile Picture
    2,100 on at

    Hi

    Tried this as well, but still, we are facing same issue.

    Thank you.

  • Suggested answer
    pankaj.k Profile Picture
    994 on at

    Share your Launch.json and App.json File code

  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, The following is the lauch.json file I used for testing, I hope it can give you some reference.

    pastedimage1672097026406v1.png

    My test environment:

    pastedimage1672097088829v2.png

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    [quote user="Inkey Solutions"]

    Hi

    Tried this as well, but still, we are facing same issue.

    Thank you.

    [/quote]

    Did you make sure to add the correct tenant ID to your launch.json file?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans