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 :
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,122

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
    IB-29041624-0 Profile Picture
    1,191 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,122 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
    1,020 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,122 on at

    Hi

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

    Thank you.

  • Suggested answer
    pankaj.k Profile Picture
    1,020 on at

    Share your Launch.json and App.json File code

  • Suggested answer
    YUN ZHU Profile Picture
    102,447 Super User 2026 Season 1 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
    IB-29041624-0 Profile Picture
    1,191 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 686 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 447 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans