You are not logged in.
Hello
I'm working on a power automate for ticket logging from a microsoft forms, but I'm running into a problem with how to add users that aren't currently on GLPI so that I can set them as ticket requester etc.
At the minute, users are added when they email in for the first time, and the correct entity is set via rules on GLPI. With the way my flow works, the user_id of the user is found from searching the email address - the entity is also fetched from here. Issue is that if a user not currently on GLPI attempts to use the tool, it won't be able to find the user_id/entity.
Is there a way to add user from external source via the API?
Offline
Hello,
Even if it may be technically possible to add external users using the regular User endpoint, I would recommend against it as special behaviors done when a user is imported may not be run.
The best solution would be to set a cron task (or in TaskScheduler) that runs the LDAP sync CLI command periodically to add new users.
https://glpi-user-documentation.readthe … nize-users
Last edited by cconard96 (2022-12-13 14:48:03)
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline