Create a new user from the "job queue".

frankmortensen
Member Posts: 42
I am trying to create a new user from the job queue in Dynamics NAV 2017. And having the service tier user do the creating.
I have created a codeunit that to create the users.
But when the service tier user executes the job queue entry (and the codeunit), the following error occurs when the execution of the job queue entry COMMITs:
"You must assign at least one user the SUPER permission set and configure that user to log in with authentication type 'Windows', which is supported by the current server instance".
If I log in and executes the codeunit that creates the new users, all is fine and the users are created.
There are already many users/windows users in the "User table" with SUPER-permissions.
The service tier user is also "SUPER".
Is it not possible to have the service tier user create users in the user table (yable 2000000120)?
I have created a codeunit that to create the users.
But when the service tier user executes the job queue entry (and the codeunit), the following error occurs when the execution of the job queue entry COMMITs:
"You must assign at least one user the SUPER permission set and configure that user to log in with authentication type 'Windows', which is supported by the current server instance".
If I log in and executes the codeunit that creates the new users, all is fine and the users are created.
There are already many users/windows users in the "User table" with SUPER-permissions.
The service tier user is also "SUPER".
Is it not possible to have the service tier user create users in the user table (yable 2000000120)?
0
Answers
-
The error occurs at the very end of the job queue execution. So the function is executed without errors.0
-
Hi! Have you fond a solution? We get the same error when removing permissions with Job Queue in NAV 2017 CU27.0
-
No. I never found a solution. Instead the customer was instructed in using powershell.1
-
All users authenticated with Office 365 Authentication.
An ODATA service attempting to update a 50000 boolean field on the User table (ID 2000000120) generating the error: "You must assign at least one user the SUPER permission set and configure that user to log in with authentication type ‘AccessControlService’, which is supported by the current server instance." This service uses the Web Service Access Key, but with a new user with the NAV Password Authentication.
This is not a concrete solution but out of desperation we did the following:- In one user we created a Web Service Access key, marking it as does not expire.
- With the same user we activated the NAV Password Authentication.
- EDIT 2020-09-18: Created another user with the NAV Password Authentication, and adding the SUPER permission set.
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions