web
You’re offline. This is a read only version of the page.
close
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!
I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,681 Super User 2025 Season 2 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans