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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Getting Error first thing on Hello World - AL1045

(0) ShareShare
ReportReport
Posted on by 10

HI,

Newbie evaluating D365 - error steam is below, it never asked me for my id or password after selecting the sandbox, so may need to set that somewhere?  I can find not good help on this.  See below thanks:

[2019-11-28 12:43:22.82] Using reference symbols cache path: c:\Users\Kevin\Documents\AL\TEST1\./.alpackages
[2019-11-28 12:43:22.83] Authenticating...
[2019-11-28 12:43:23.33] Authenticated as user 'kevin.docherty@apexgraphics.com'. Please note that these credentials are cached. Clear the credentials cache to authenticate as another user.
[2019-11-28 12:43:23.33] Targeting Dynamics 365 Business Central.
[2019-11-28 12:43:23.34] Sending request to api.businesscentral.dynamics.com/.../packages
[2019-11-28 12:43:23.35] Sending request to api.businesscentral.dynamics.com/.../packages
[2019-11-28 12:43:23.35] Sending request to api.businesscentral.dynamics.com/.../packages
[2019-11-28 12:43:24.94] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=15.0.0.0 failed with code Forbidden. Reason: You do not have the following permissions on TableData 2000000160: IndirectRead.

To view details about your permissions, see the Effective Permissions page. To report a problem, refer to the following server session ID: '3812'.
[2019-11-28 12:43:25.05] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=1.0.0.0 failed with code Forbidden. Reason: You do not have the following permissions on TableData 2000000160: IndirectRead.

To view details about your permissions, see the Effective Permissions page. To report a problem, refer to the following server session ID: '3813'.
[2019-11-28 12:43:26.19] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=15.0.0.0 failed with code Forbidden. Reason: You do not have the following permissions on TableData 2000000160: IndirectRead.

To view details about your permissions, see the Effective Permissions page. To report a problem, refer to the following server session ID: '3814'.
[2019-11-28 12:43:26.19] 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.
3. The dependencies are correctly specified in the app.json file.
Microsoft (R) AL Compiler version 4.0.3.2567
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project 'TEST1' containing '1' files at '12:43:26.809'.

error AL1045: The package cache c:\Users\Kevin\Documents\AL\TEST1\./.alpackages could not be found.

Compilation ended at '12:43:26.886'.

Error: The package could not be created.
I have the same question (0)
  • keoma Profile Picture
    32,729 on at

    did you solve the issue?

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,608 on at

    Please clear the credential cache using  "AL: Clear credentials" ,  then try to download symbol again , it will ask you the username and password.

    docs.microsoft.com/.../devenv-get-started

    also ensure the user you are using is having permission "D365 EXTENSION MGT"

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,024 Super User 2026 Season 1

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,024 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,383 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans