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

REST API Permissions

(0) ShareShare
ReportReport
Posted on by 5

Hi

We are trying to create a PO in Business Central and have managed to get as far as getting a listing of current POs etc.

We get this message:

"Sorry, the current permissions prevented the action. (TableData Purchase Header Insert: Base Application)  CorrelationId:  af0933ee-ed7e-4d8d-a136-d5c7d7680b72."

when we try to POST to create a new PO and also when we PATCH to update an existing PO.



We have registered the app in the Azure Portal but are very confused about how to set user permissions\scope to get WRITE access as we seem only to have READ access.

Does anyone have any pointers? We've trawled through a lot of MS docs but it seems very confused.

Thanks!

  • Suggested answer
    BarneyTheDog Profile Picture
    5 on at
    RE: REST API Permissions

    Oh, you wonderful, wonderful person!

    I didn't know about this - but yes, this has done the trick!

    Thanks for taking the time to answer my question.

  • BarneyTheDog Profile Picture
    5 on at
    RE: REST API Permissions

    Forgot to say this is in the hosted version (not on-premise)

  • Verified answer
    Mohana Yadav Profile Picture
    60,199 Super User 2025 Season 1 on at
    RE: REST API Permissions

    Did you register it in BC Azure Active Directory Applications page and assign the required permission sets for the action? Just like how we do in User card?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,034 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans