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 V2 Attachment fails

(0) ShareShare
ReportReport
Posted on by 66

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
    150 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
    66 on at

    Hi Josh,

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

  • Suggested answer
    JAngle Profile Picture
    150 on at

    Have you added permissions to that user?

    pastedimage1659640640764v1.png

  • SvenB Profile Picture
    66 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,414 User Group Leader 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

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,101 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans