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

"Access is denied to company 'XXXX'

(1) ShareShare
ReportReport
Posted on by 112
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
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    26,110 Most Valuable Professional on at
    Hi
    Are you using custom APIs? Do the extension and users have the appropriate permissions in all companies?
    Best
    GR
  • MarceloBorges Profile Picture
    122 on at
    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?
  • Suggested answer
    YUN ZHU Profile Picture
    100,214 Super User 2026 Season 1 on at
    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
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,342 Super User 2026 Season 1 on at
    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.

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 1,948 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 936 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 616 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans