Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Issue regarding downloading symbols and authentication

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

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

    Thank you very much Yun, I downloaded the AL language extension v11 from you blog, and installed it, and it worked great, and I didn't get any error warning me that no platform 11 exists.

    However, that was only part of my issue and the situation with the vscode extension hanging on 'Authentication...' kept being problematic, yet I've managed to find a solution for it on my own. I had to completely remove my VSCode installation, including all extensions and cache folders, and then reinstall it.

    After this, I finally did get the popup in the bottom right asking me to copy paste the verification code.

    So problem is solved

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    RE: Issue regarding downloading symbols and authentication

    Hi, I downloaded it last week and put it on my blog, if you need it, you can download it directly.

    https://yzhums.com/wp-content/uploads/2023/03/ALLanguage-v11.0.759316.7z

    pastedimage1678153775063v1.png

    More details: https://yzhums.com/35016/

    Thanks

    ZHU

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

    run powershell as administrator

    run these commands:

    Install the BcContainerHelper module -force

    Get-BCArtifactUrl -storageAccount BcPublicPreview -country YOURCOUNTRYCODE -type Sandbox -select Latest


    Download-Artifacts -artifactUrl (Get-BcArtifactUrl -storageAccount BcPublicPreview -country YOURCOUNTRYCODE -type sandbox) -includePlatform

    replace YOURCOUNTRYCODE with your code (e.g. US , IT , DE etc....)

    pastedimage1678122475229v1.png


    When completed, it will point to the folder where it has downloaded everything needed.

    You will find the vsix file to install in Vscode in the folder :

    C:\bcccartifacts.cache\sandbox\22.0.53722.0\platform\ModernDev\program files\Microsoft Dynamics NAV\220\AL Development Environment

    pastedimage1678122503527v2.png


    pastedimage1678122570943v3.png

    symbols download correctly

    pastedimage1678122668031v4.png

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

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

    Im not using a docker installation, im using a Microsoft environment hosted on businesscentral.dynamics.com/, a sandbox environment

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

    you can find the vsix file from docker installation.

    if you set the application, platform, version parameters to 1.0.0.0, it automatically tries to download the latest symbols version of the environment.

    i think you have a problem because you don't get this error message, because precisely the updated vsix file (v11) is missing

    pastedimage1678117395530v1.png

    this is my app.json

      "id": "1fee5c20-86bd-4070-b914-6bee21652927",
      "name": "Preview2023",
      "publisher": "Default publisher",
      "version": "1.0.0.0",
      "brief": "",
      "description": "",
      "privacyStatement": "",
      "EULA": "",
      "help": "",
      "url": "",
      "logo": "",
      "dependencies": [],
      "screenshots": [],
      "platform": "1.0.0.0",
      "application": "1.0.0.0",
      "idRanges": [
        {
          "from": 50100,
          "to": 50149
        }
      ],
      "resourceExposurePolicy": {
        "allowDebugging": true,
        "allowDownloadingSource": true,
        "includeSourceInSymbolFile": true
      },
      "runtime": "10.0",
      "features": [
        "NoImplicitWith"
      ]
  • lucdewit Profile Picture
    lucdewit 5 on at
    RE: Issue regarding downloading symbols and authentication

    Installation folder? what installation folder?

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

    Hi,

    It can be found at this location of installation folder.

    BC22.0.53250.0\platform\ModernDev\program files\Microsoft Dynamics NAV\220\AL Development Environment\ALLanguage.vsix

  • lucdewit Profile Picture
    lucdewit 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?

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 45 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
    lucdewit 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"
    }

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans