0 votes

Working within a DoD environment all interactive user accounts are required to have an @mil suffix. Within the application though I am unable to make the required change to anything but the default domain suffix. Is it possible to setup a business rule to change the suffix based on the different employee types within our environment? The employee types consist of CTR, SVR, WKS, ADMIN, and APP.

by (100 points)
0

Hello Jason,

Have a look at the following tutorial: https://www.adaxes.com/tutorials_Simpli ... Office.htm. If you want to generate the UPN Logon Name based on the Employee Type of a user, the action sets in the Business Rule, Custom Command or Scheduled Task should look like the following:

0

I have thought but this but the issue is the samAccountName does not always match the the upn login name. Often times the upn contains the users EDIPI or alt token information (which can vary in length), where the samAccountName is generally first.last.(employeetype).

example:
samAccountName - joe.user.svr
UPN - alt.joe.user.svr-1234567890@defaultdomain.name

Where it should be:
samAccountName - joe.user.svr
UPN - alt.joe.user.svr-1234567890@mil

1 Answer

0 votes
by (215k points)
selected by
Best answer

Hello Jason,

Thank you for the clarification. This can be done via a script. You can adjust the following script from our repository to meet your needs: https://www.adaxes.com/script-repositor ... t-s449.htm.

0

Worked great, thanks for the help.

Related questions

0 votes
1 answer

Hi, I want to change the default UPN suffix for user creation. We only have a single UPN suffix we use at our organization however when we create a user using the web ... We only ever want to use the @mycompany.com so a list of options isn't requried.

asked Jun 29 by PeterG (40 points)
0 votes
1 answer

Is there a way to set a users' UPN Suffix within a business rule (PS script)? I've seen the script to update the suffix based on OU, but our OU structure ... primary email address, or to apply a particular UPN suffix based on department. Either method works.

asked Apr 3, 2017 by steve.newton (50 points)
0 votes
1 answer

Hello, is it possible to display menu with all UPN suffix when create new user ? Thx.

asked Jun 23, 2014 by mmichard (360 points)
0 votes
1 answer

I currently have a Custom Command that is configured for User objects, but I would like to perform actions against a Computer object in the same command. E.g. I have a ... Users, there's no Action Set to disable Computers. Is there a workaround here? Thanks!

asked Jul 28, 2020 by bavery (250 points)
0 votes
0 answers

When the UPN being created is the same as an existing one except for the case. For instance, the new UPN is sally.fields but there's an existing Sally.Fields. The ... but then fails to create the AD account indicating that the UPN is not unique forestwide.

asked Jul 13 by sandramnc (820 points)
2,807 questions
2,541 answers
6,615 comments
65,766 users