I've just done the following:-
1. Signed up for a Dynamics 365 Business Central sandbox.
2. Downloaded Visual Studio Code.
3. Downloaded the AL Language extension.
4. Press Alt+A, Alt+L to trigger the AL Go! command, and then choose Microsoft cloud sandbox
5. On executing AL: Download symbols I get the errors below:-
[2019-03-28 15:51:34.67] Using reference symbols cache path: f:\Source\VSCode\AL\ALProject1\./.alpackages
[2019-03-28 15:51:34.68] Authenticating...
[2019-03-28 15:52:01.88] Sending request to
api.businesscentral.dynamics.com/.../packages;appName=Application&versionText=13.0.0.0
[2019-03-28 15:52:01.88] Sending request to
api.businesscentral.dynamics.com/.../packages;appName=System&versionText=13.0.0.0
[2019-03-28 15:52:02.13] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=13.0.0.0 failed with code Forbidden. Reason: You do not have the following permissions on TableData NAV App: IndirectRead.
To view details about your permissions, see the Effective Permissions page. To report a problem, refer to the following server session ID: '24376'.
[2019-03-28 15:52:02.66] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=13.0.0.0 failed with code Forbidden. Reason: You do not have the following permissions on TableData NAV App: IndirectRead.
To view details about your permissions, see the Effective Permissions page. To report a problem, refer to the following server session ID: '24377'.
[2019-03-28 15:52:02.66] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
See launch.json below:-
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Microsoft cloud sandbox",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true
}
]
}
Any thoughts?