Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

custom API token

Posted on by 25

Hi Everyone,


We have created a new table, and we have published it from an api type page, we have registered the application in azure portal and granted all the permissions, in fact with the native tables it works correctly, however for this new table in postman we cannot obtain the GET data, would you know what additional permissions we need?

thank you so much

errorBC.png

  • Diego91 Profile Picture
    Diego91 25 on at
    RE: custom API token

    Great Nitin, the step I skipped was to assign the permission in the BC to the azure application, with this it works, thanks to you too Yun.

    greetings

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,171 Super User 2024 Season 2 on at
    RE: custom API token

    Hi, Nitin is right, just to add some info.

    You must manually add custom extension permission sets for the following reasons.

    You cannot assign ‘SUPER’ permission set to an application. Consider assigning less encompassing permission sets that are specifically designed for the intended purpose.

    pastedimage1677720990027v1.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: custom API token

    Please generate the Permission in AL code and then publish

    pastedimage1677720477324v1.png

    after the put that app into Azure Active Directly page in BC

    pastedimage1677720534561v2.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,993 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans