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 :
Microsoft Dynamics NAV (Archived)

Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

(0) ShareShare
ReportReport
Posted on by 2,582

Hi all,

I have created a job queue to schedule my codeunit XYZ to run at regular intervals. But it is throwing an error message--You do not have the following permissions on CodeUnit XYZ: Execute.

But while I run the same codeunit from the NAV development environment it is successfully getting executed. Hence, it is supported in my license.

Kindly let me know why is such an error coming up in my job queue.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    28,094 on at
    RE: Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

    What are the user credentials that are used to run the job services? Is it the same as user account that runs Microsoft Dynamics NAV Server?

  • ManishS Profile Picture
    86 on at
    RE: Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

    Are you running the job queue manually by pressing the start job queue or it gets executed by NAS.

  • Suggested answer
    tpupko Profile Picture
    2,048 on at
    RE: Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

    Hi Tina,

    Check user who is assing to run this job. This user should have rights to run CodeUnit XYZ.

    Tatiana

  • Tina Menezes Profile Picture
    2,582 on at
    RE: Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

    @Alexander, yes it is the same user.

    @Manish,

    As I am doing testing, I am running the job queue manually.

  • Tina Menezes Profile Picture
    2,582 on at
    RE: Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

    Hi Tatiana,

    The user who is running the job queue is a super user. hence has all permissions.

  • Suggested answer
    tpupko Profile Picture
    2,048 on at
    RE: Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

    Hi Tina,

    Please check one more possible reason -

    You work with a database which comes from outside of your windows domain

    community.dynamics.com/.../error-you-do-not-have-the-following-permissions-on-codeunit-applicationmanagement-execute

  • ManishS Profile Picture
    86 on at
    RE: Job queue Error-You do not have the following permissions on CodeUnit XYZ: Execute

    OK, hope you have setup the user by which the dynamics service is running in Navision under user setup.

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 > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans