Is there a way to use IF, THEN, ELSE in the creation of a user? We want to capture First Name, Last Name and Preferred Name and if the Preferred Name field is empty, then the users Username and E-mail will be Firstname.Lastname but if there is a Preferred Name entered, then the users Username and E-mail will be Preferredname.Lastname (ie Tim.Smith@domain.org) and then ideally we would want to auto create an alias e-mail address in EXO with Firstname.Lastname (ie Timothy.Smith@domain.org) as well. Is that possible?

by (50 points)

1 Answer

by (305k points)
Best answer
0 votes

Hello,

Yes, it is possible. The following tutorials should be helpful:

Related questions

Is there a way for Adaxes to use a user's Microsoft 365 profile pictures instead of having to select a file on a per user basis?

asked Feb 1, 2024 by keneth.figueroa (20 points)
0 votes
1 answer

For any given AD attribute, I'd like to be able to retrieve the defined friendly name for it. Example: l = City, st = State, etc. Is there a way to do that in PowerShell? Thanks!

asked Aug 8 by jaymallery (20 points)
0 votes
1 answer

Is there a way to get the name of the user who approved a request and supply that to a step inside of a custom command? For example, HR submits a status change for an employee. ... and pass it as a param in a custom command that is called in one of the steps?

asked May 12, 2021 by davfount90 (20 points)
0 votes
1 answer

I am trying to build a custom command to add a specific user to a rule based group in adaxes and I am curious if it is something we can use the API to complete?

asked Mar 7 by Brian (40 points)
0 votes
1 answer

For context, up until now, we had a business rule in place stopping accounts from being created for users with the same name e.g. Jacob Smith and Jacob Smith. This business ... , or how to, if possible, remove this. Any help would be most appreciated! Thanks

asked Oct 22, 2024 by Charlie.Evans (70 points)
0 votes
1 answer