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...
Suggested answer

"Access is denied to company 'XXXX'

(1) ShareShare
ReportReport
Posted on by 100
Hi All,

I am encountering an issue while trying to insert record into Dimension Values of Different Companies in Business Central using Power Automate. I am Makin the use of HTTP callout for a custom API.

Interestingly, the records are being inserted successfully for the "Master Company". However, for the other companies, I am confronted with an error despite having both Admin and Super Permission Sets.

The error messaged that I receive is as Below
Error; - 
 
{
  "error": {
    "code""Internal_DataNotFoundFilter",
    "message""Access is denied to company 'XXXX'.  CorrelationId:  xxxx-xxxx-xxxx-xxxxxx"
  }
}



Thank You
Sghotekar
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    17,496 Super User 2025 Season 1 on at
    "Access is denied to company 'XXXX'
    The error "Access is denied to company 'XXXX'" suggests that the API user lacks necessary permissions for the other companies. Ensure the user has appropriate permissions in each company and check that the API configuration correctly targets these companies.
  • Suggested answer
    YUN ZHU Profile Picture
    85,455 Super User 2025 Season 1 on at
    "Access is denied to company 'XXXX'
    Hi, The API permission cannot be set to Super.
     
    Please check the following settings and delete the Company Name, which should solve the problem.
    PS: Using OAuth to connect Business Central APIs and Web Service in Postman
     
    Thanks.
    ZHU
  • MarceloBorges Profile Picture
    116 on at
    "Access is denied to company 'XXXX'
    Do you have the Company Name correctly spelled out, including lower/upper cases? And are you not confusing the Company Name with Display Name?
     
    Have you tried running a GET call within the same company name you're getting this error message?
  • Gerardo Rentería García Profile Picture
    20,638 Most Valuable Professional on at
    "Access is denied to company 'XXXX'
    Hi
    Are you using custom APIs? Do the extension and users have the appropriate permissions in all companies?
    Best
    GR

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