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

API Integration With Third-party App

(1) ShareShare
ReportReport
Posted on by 31
Hello All,
 
I'm trying to integrate my Business Central instance with a third-party application using an external API. The aim is to get data from the app. 
 
I've created a codeunit in AL to call the API and display the results on a specific Business Central page. However, I'm encountering an error message stating that I need "execute" permissions to access the codeunit.
 
I've already granted these permissions using permissions sets, but the issue persists. I even added permissions to the target tabledata, but still, the issue wasn't resolved. How can I resolve this?
 
Thanks 
 
Bryma
 
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    26,110 Most Valuable Professional on at
    Hi
    In the "microsoft entra application" that you are using, have you added the permission of the created extension?
    Best
    GR
  • Suggested answer
    YUN ZHU Profile Picture
    100,212 Super User 2026 Season 1 on at
    Is the codeunit that reports the error in your extension?
    If it is On-Pre version, please check your license.
    If it is a SaaS version, please check whether the new set below has been generated and assigned to the user.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Jun Wang Profile Picture
    8,216 Moderator on at
    not sure if you log out and back in BC after adding the permissions. If no, please try if it makes a difference. 
  • Suggested answer
    Chavda Dharmendra Profile Picture
    1,004 Super User 2026 Season 1 on at
    If you're using the On-Prem version, make sure that your object ID is within the license range.

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

#2
YUN ZHU Profile Picture

YUN ZHU 986 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 659 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans