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

Community site session details

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

Issue regarding downloading symbols and authentication

(0) ShareShare
ReportReport
Posted on by 5

I'm Trying to upgrade a sandbox environment from BC21 to BC 22, So I started off by deleting the .alpackages folder, changing the platform and application from 21.0.0.0 to 22.0.0.0 in the app.json, and doing the 'download symbols' action

It then printed the following output:

```

[2023-03-06 09:35:24.14] Using reference symbols cache path: c:\Users\MyName\OneDrive - MyWorkPlace\Desktop\bctest\ProjectName\.alpackages

[2023-03-06 09:35:24.40] Authenticating...

```

The issue is that it gets stuck on authenticating for 5-10 minutes, then gives me a prompt for a username and password, but when i filI that in, it goes back and gets stuck on Authenticating again, only to repeat the whole thing.

 

I also tried clearing credential cache with no success.

Even when I try to revert back to BC21, it doesn't seem to have any influence, so now i cant develop *anything* anymore, hence why this is a pretty **urgent** issue for me.

 

What am I doing wrong? My AL extension version is v10.5.760365

I have the same question (0)
  • Gianfranco C. Profile Picture
    370 on at
    RE: Issue regarding downloading symbols and authentication

    Hi, what do you mean by "trying to update the environment", the sandbox from v21 to v22, or are you updating apps on a v22 sandbox ?

  • lucdewit Profile Picture
    5 on at
    RE: Issue regarding downloading symbols and authentication

    Hi, thanks for your response, i was trying to update the BC sandbox environment from v21 to the newly released v22 preview. The environment has successfully been upgraded, but the issue is that I cant download symbols anymore in VSCode

    even when I set everything back to v21, I cant download any symbols anymore since it gets stuck at the 'Authenticating...' step

  • Gianfranco C. Profile Picture
    370 on at
    RE: Issue regarding downloading symbols and authentication

    I suggest login with a private window to the sandbox, to check if the environment is working properly. (Also check the user setting, permissions and if they are set to company specific).

    Also retrieve the vsix file from version 22 to install in vscode.

    After doing so, create a new AL project and in the app.json file set  

    platform 1.0.0.0

    application 1.0.0.0

    if it helped you, please select this answer, thank you

  • lucdewit Profile Picture
    5 on at
    RE: Issue regarding downloading symbols and authentication

    Where am i supposed to get the vsix file? i cant find it anywhere, also, why does the platform be 1.0.0.0? shouldn't it need to be 22.0.0.0?

  • Suggested answer
    Bilal Haider Profile Picture
    408 on at
    RE: Issue regarding downloading symbols and authentication

    Hi,

    Please share the error message that you are getting in output window of VS Code.

    Also you should update AL Language extension to v 11. As it has new data types that came with BC 22

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Issue regarding downloading symbols and authentication

    Please share your app.json and launch.json file.

  • lucdewit Profile Picture
    5 on at
    RE: Issue regarding downloading symbols and authentication

    Hi, Im not getting any error message, it just gets stuck in a loop and hangs on 'Authenticating...' preventing me from downloading symbols

    How do I get the AL Language extension v11? the latest I can install is v10.5

  • lucdewit Profile Picture
    5 on at
    RE: Issue regarding downloading symbols and authentication

    Here is my app.json and launch.json with sensitive information censorred:

    launch.json:

    {
        "version": "0.2.0",
        "configurations": [
          {
            "name": "Development",
            "type": "al",
            "request": "launch",
            "breakOnError": true,
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true,
            "schemaUpdateMode": "ForceSync",
            "startupObjectType": "Page",
            "tenant": "",
            "environmentType": "Sandbox",
            "environmentName": "Development",
          }
        ]
      }


    app.json:
    {
      "id": "",
      "name": "",
      "publisher": "",
      "version": "21.4.2.0",
      "platform": "21.0.0.0",
      "application": "21.0.0.0",
      "idRanges": [
        {
          "from": ,
          "to": 
        }
      ],
      "resourceExposurePolicy": {"allowDebugging": false, "allowDownloadingSource": false, "includeSourceInSymbolFile": false},
      "runtime": "10.0",
      "features": [
        "TranslationFile",
        "GenerateCaptions"
      ],
      "target": "Cloud"
    }

  • Suggested answer
    Bilal Haider Profile Picture
    408 on at
    RE: Issue regarding downloading symbols and authentication

    I have installed using vsix file.

    As suggested by gian cr please check if you are able to open v22 using webclient?

  • lucdewit Profile Picture
    5 on at
    RE: Issue regarding downloading symbols and authentication

    Yes, i managed to upgrade the environment just fine, and when navigating to the environment in a browser, by manually going to `businesscentral.dynamics.com/.../development` it worked fine

    the issue is that I cant upload any extension, because I'm missing that vsix file, how do I download it?

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,888

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 3,386 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 2,041 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans