Business Central: Download symbols from Sandbox


Today I tried to download the Microsoft Dynamics 365 Business Central symbols but ran into errors and couldn’t get it to work. First, I had errors to download the symbols in order to be able to debug the application.

To prevent other people from having this problem, I share my experience solving the problem in this small How To? manual. which is my habit to write.

Let’s do it…

¿Cómo descargo los símbolos?

In Visual Studio, we create a project of type AL and then proceed to look for the command AL: Download symbols and click on it:

In Visual Studio Code, the device registration will appear. Therefore, we click the button:

We follow the steps on the screen until the following dialog appears:

Now, we will see the following error when we try to compile it:

We have two possible ways out to solve this. One of them is to use the username and password of the global administrator, but we will have a later problem (we will not be able to debug if the global administrator does not have an active Business Central license).

In this way, the best solution is to give the necessary permissions to a user to carry out the tests (taking advantage of the fact that we are in an sandbox environment). So, we enter the [Microsoft Dynamics 365 Business Central] (https://businesscentral.dynamics.com) and proceed to enter the credentials of a user with Full license, we go to Users> Permissions Section:

In the first section we add the group D365 Extension Management and remove any relationship with the company:

We repeat the process for the next section, and select the set of permissions D365 Extension Management ADMIN:

In this way, we re-execute the command that we had to execute:

Now everything will turn out as we expect:

Then, we can do F5 (Debug) our extension and we will also obtain the expected result:

In this way we have managed to download the Business Central Cloud symbols ;)