Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

First AL Project, cannot specify company that the extension is for

(0) ShareShare
ReportReport
Posted on by 77

Good morning,

I'm creating an AL project for the first time so this is probably a very simple issue. I'm attempting to run a default project (Command Pallet > AL: GO!), but I get the following error when I hit F5:

The request for path /v2.0/[Environment]/dev/packages?publisher=Microsoft&appName=Application&versionText=19.5.36567.36634&appId=00000000-0000-0000-0000-000000000000 failed with code Forbidden. Reason: You do not have the following permissions on TableData Published Application: IndirectRead for company CRONUS USA, Inc..

The problem is, we have multiple 'companies' in the Sandbox environment and I have all of the permissions I need for a different company, aptly titled 'My Company'.

pastedimage1648058316592v1.png

But it doesn't seem like I can specify anywhere in the launch.json that it should be using My Company instead of CRONUS USA, INC. I tried adding on ?company=My%20Company to the environment name but it just gave me a bad request error when I tried to run it.

Any advice would be appreciated. Thanks!
  • Verified answer
    YUN ZHU Profile Picture
    85,670 Super User 2025 Season 1 on at
    RE: First AL Project, cannot specify company that the extension is for

    Hi, Some tables in BC are common to all companies.

    I recommend that you clear the company name of the user you are currently using.

    For example,

    pastedimage1648095905350v1.png

    Hope this will help.

    Thanks.

    ZHU

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans