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)?
0
Answers
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.
It doesn't make sense, I know. But we don't see the error anymore and I owe my colleague a coffee two coffees.