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...
Answered

Prevent access to default API Pages (via Postman or PowerBi) for specific users or security groups

(5) ShareShare
ReportReport
Posted on by 184
Hi all,
i was wondering how to prevent users from using default and customer made API calls and datasets eg. via Postman or PowerBi.
 
As i understand access rights are  the same as in in client, but is there an easier way to prevent API access completely?
 
Thks Frank
I have the same question (0)
  • Verified answer
    Khushbu Rajvi. Profile Picture
    22,128 Super User 2026 Season 1 on at
    Yes, there is a way to block API access for specific users or security groups in Business Central. To prevent specific users from accessing Web Services in Business Central (e.g., via Power BI or Postman), remove their API-related permission sets (like API Read or D365 POWER BI), avoid assigning Web Service Access Keys, and optionally create a custom permission set that blocks access to API and OData objects—this way, they can still use the web client but won’t consume external connections or hit the 100-connection limit.
     
  • Verified answer
    Ramesh Kumar Profile Picture
    7,547 Super User 2026 Season 1 on at
    There is no master switch — but you can use Permission Sets or disable Web Services for Specific Users or Azure AD authentication.
     
    Thanks!
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Verified answer
    YUN ZHU Profile Picture
    99,074 Super User 2026 Season 1 on at
    If you want to set global read-only permissions, you can use the following method.
    More details:
    Dynamics 365 Business Central: Managing Database Access Intent (Managing write access to APIs from the client)
     
    If you want to restrict a user's API permissions, which are either pages or queries, you can create a permission set to exclude those permissions individually.
    Dynamics 365 Business Central: A simple way to view the list of all APIs
     
    Hope this helps.
    Thanks.
    ZHU
  • Verified answer
    Jainam M. Kothari Profile Picture
    15,732 Super User 2026 Season 1 on at
    Hello,
     
    To prevent users from accessing APIs in Business Central, you can use a combination of permission sets, security filters, and API management. By creating or modifying permission sets to exclude access to specific API objects, configuring security filters to limit data access, and disabling or restricting unwanted API endpoints, you can effectively control and prevent unauthorized API access. Additionally, assigning users to specific groups with restricted permissions ensures only authorized users have API access.
     
  • Frank Janssen Profile Picture
    184 on at
    Hi all,
     
    first of all, thanks for your fast and helpfull tips. 

    By now i figured out, that there is some kind of misunterstanding the exlusion permission.
    I had to add the permission set witch grants permission for being able to exlude special objects, like the api page objects.
     
    Right now i have to firgure out how to add this recently learned to my existing security groups and permission set combination.

     
    But the path is way clearer now for me. Thanks to you all.
     
     

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!

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans