Skip to main content

Notifications

Announcements

No record found.

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,580

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

  • ManishS Profile Picture
    ManishS 78 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.

  • Suggested answer
    tpupko Profile Picture
    tpupko 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

  • Tina Menezes Profile Picture
    Tina Menezes 2,580 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.

  • Tina Menezes Profile Picture
    Tina Menezes 2,580 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.

  • Suggested answer
    tpupko Profile Picture
    tpupko 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

  • ManishS Profile Picture
    ManishS 78 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
    Alexander Ermakov Profile Picture
    Alexander Ermakov 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?

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans