web
You’re offline. This is a read only version of the page.
close
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...
Suggested Answer

API V2 Attachment fails

(0) ShareShare
ReportReport
Posted on by 60

Dear All,

My goal ist to create an attachment entry via the API V2 version, followed by adding a PDF to the created entry.

I therefore do POST on

{
 
"parentId" :
"41bc6e53-e40b-ed11-90eb-00224860b9cd",
 
"fileName":
"dummy.pdf"
 
}

The parent id is a valid purchase invoice i queried via the the V2 API.

I receive error:

"You do not have permission to create or run scheduled tasks. CorrelationId: 5ac601b6-7d4b-4d3c-8ad6-1803ec0c7499."


Any pointers what is wrong here?

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    what type of user account is this with? From the error it would seem like it is a CSP account in which case you may need a real user account

  • SvenB Profile Picture
    60 on at

    Hi Josh,

    it is an Azure Active Directory Applications. Not sure if this is a CSP account.

  • Suggested answer
    JAngle Profile Picture
    133 on at

    Have you added permissions to that user?

    pastedimage1659640640764v1.png

  • SvenB Profile Picture
    60 on at

    I now just did. D365 FULL ACCESS.

    I made sure to fetch a new token after (not sure that is necessary).

    Same response on Postman.

    "You do not have permission to create or run scheduled tasks "

  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,380 Super User 2025 Season 2 on at
    Hi,
     
    Hope this helps - https://youtu.be/hEVjHlAgfbU
     
    Other Items related to API are available in this playlist -  https://www.youtube.com/playlist?list=PL2-PuYsxlF1dpqpRdHUbOtpsbrecuY1wR
     
     
    Regards,
    Saurav Dhyani

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,990

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,576 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,028 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans