Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Error while try to connect sandbox with VScode in AL

Posted on by 1,638

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.

Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Error while try to connect sandbox with VScode in AL
    [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?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 70,191 Super User 2024 Season 2 on at
    RE: Error while try to connect sandbox with VScode in AL

    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
    pankaj.k Profile Picture
    pankaj.k 962 on at
    RE: Error while try to connect sandbox with VScode in AL

    Share your Launch.json and App.json File code

  • Inkey Solutions Profile Picture
    Inkey Solutions 1,638 on at
    RE: Error while try to connect sandbox with VScode in AL

    Hi

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

    Thank you.

  • Suggested answer
    pankaj.k Profile Picture
    pankaj.k 962 on at
    RE: Error while try to connect sandbox with VScode in AL

    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
    Inkey Solutions 1,638 on at
    RE: Error while try to connect sandbox with VScode in AL

    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
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Error while try to connect sandbox with VScode in AL

    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

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans