web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

POST /attachments with API v2.0 - You do not have permission to create or run scheduled tasks...

(0) ShareShare
ReportReport
Posted on by 14

I am playing with Chronos Inc and trying to Create Attachments (pdfs) for existing (open) purchase invoice and I am using Postman for this.

I am getting the following error message:

{
    "error": {
        "code": "Unknown",
        "message": "You do not have permission to create or run scheduled tasks.  CorrelationId:  cda33aa8-561f-4c8a-8b00-406e7c3ae21a."
    }
}
 

My Headers are:
pastedimage1664547236602v1.png

My Body is:
pastedimage1664547268527v2.png

My POST line:

https://api.businesscentral.dynamics.com/v2.0/{id}/Production/api/v2.0/companies({id})/attachments


And I am trying to understand this error: is it because I am on trial version (not an end user license)?

Please advice.

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,043 Moderator on at
    RE: POST /attachments with API v2.0 - You do not have permission to create or run scheduled tasks...

    If you are a delegated admin in the azure AD you are not allowed to run job scheduler. Besides that there should not be any limitation in the sandbox if you have the correct permissions.

    Are you running under super user permissions?

  • BexNexus Profile Picture
    14 on at
    RE: POST /attachments with API v2.0 - You do not have permission to create or run scheduled tasks...

    Thank you for your response.

    My Azure API permissions  are:
    pastedimage1664549946108v1.png

    And AAD in Business Central looks like this:
    pastedimage1664550073316v2.png

    To the question about super user:
    pastedimage1664557630468v1.png
    So, my Azure Active Directory Applications with API permissions setup looks like delegated one.

    Am I right?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,308

#2
Sumit Singh Profile Picture

Sumit Singh 2,798

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,793

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans