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

Notifications

Announcements

Community site session details

Community site session details

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

AL - How to specify company to connect to? Attempting to connect to CRONUS UK

(0) ShareShare
ReportReport
Posted on by
Hi all,
 
I'm working on my first AL project. I'm using cloud Business Central, and I'm authenticated with my account which has access to all companies.
 
But when I try to download symbols, it's trying to get the data for the company "CRONUS UK Ltd", instead of my actual company. Is there a way to specify company in the launch.json? I don't see an option for it, I'm using `startupCompany` but that doesn't seem to make a difference.
 
This is the error I'm getting:
```
If you are targeting a cloud instance, supply these IDs if contacting Microsoft support.
[2026-02-09 11:01:35.23] The request for path /v2.0/Sandbox/dev/packages?publisher=Microsoft&appName=Application&versionText=27.0.0.0&tenant=<tenant id> failed with code Forbidden. Reason: You do not have the following permissions on TableData 2000000206 Published Application: IndirectRead for company CRONUS UK Ltd..
```
 
This is my launch.json:
 
```
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Microsoft cloud sandbox",
            "request": "launch",
            "type": "al",
            "environmentType": "Sandbox",
            "environmentName": "Sandbox",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": "All",
            "launchBrowser": true,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true
        }
    ]
}
```
I have the same question (0)

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,069

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,222

#3
YUN ZHU Profile Picture

YUN ZHU 1,033 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans