0 votes

Currently when I build an account in the Web UI it sets the userPrincipalName to corporate.******.org. What I need it to do is set it to ******.org without the corporate. I have tried many different things to remove the corporate but no luck for me. I have tried to just delete the corporate when making the username but it wont let me change it. Thanks

by (420 points)

1 Answer

0 votes
by (216k points)

Hello,

To accomplish your task, you'll need to modify the Property Pattern that specifies constraints and value generation templates for the User object type. By default, this is done by the built-in User Pattern. To modify by the built-in User Pattern:

  1. Launch Adaxes Administration Console.
  2. Expand the service node that represents your Adaxes service.
  3. Expand Configuration \ Property Patterns \ Builtin.
  4. Select the User Pattern. The constraints and value generation templates imposed by this Property pattern will be displayed in the Result Pane (located to the right).
  5. Double-click the Property Pattern item for the User Logon Name property.
  6. Specify the following in the Generate default value field: %samAccountName%@******.org.
  7. Click OK and save the Property Pattern.

Important: If you are going to use the modified Property Pattern in combination with the PowerShell script provided in Unique Username, the script also needs to be modified. Please reply in this topic to the question regarding the last name so that we could incorporate both the modifications together.

0

Important: If you are going to use the modified Property Pattern in combination with the PowerShell script provided in Unique Username, the script also needs to be modified. Please reply in this topic to the question regarding the last name so that we could incorporate both the modifications together.

See a modified version of the script that takes into account your custom UPN suffix in Unique Username.

Related questions

0 votes
1 answer

Hi, I recently upgraded Adaxes from 2021.1 to 2023.2, and after the upgrade, an LDAP filter for retrieving the groups a user is owner of, stopped working. The reason ... attribute instead, like this: It works, but sadly it is quite slow. Best regards Martin

asked Aug 21 by Martin (100 points)
0 votes
1 answer

We are implementing the new version of LAPS built into Windows 10 with KB5025221. I've added the attribute to the Management Views for Computers, but the password is not being ... we have not loaded it into AD and plan to use the latest implementation of LAPS.

asked Jul 12 by jshields (20 points)
0 votes
1 answer

Hello, is it possible to update a user attribute (extensionAttribute5) with the name of the group (Name), the user was just added to? Example: In Group A gets a new ... A should be written in the attribute extensionAttribute5 of User A. Can you please help me?

asked Jun 27 by lohnag (140 points)
0 votes
1 answer

I need to know how to Create a new Custom Attribute which I wants save some informations of Users

asked Jun 12 by kanishka.silva (40 points)
0 votes
1 answer

Hello, I am running a scheduled task that disables an inactive account then it updates the description with information stating Adaxes disabled the account. However, the user' ... disabling the accounts so it doesn't overwrite the description but appends it.

asked Jan 20 by mightycabal (780 points)
3,167 questions
2,870 answers
7,362 comments
506,084 users