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 (215k 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

Hello! Is there a way to clear the AD attribute "thumbnailPhoto" with a checkbox property? I wanted to implement a checkbox in the mask "Modify user" and if the box is checked, clear the attribute. How do I implement this? Much appreciated, Marco

asked Apr 21 by marco_jandl (60 points)
0 votes
0 answers

Good morning, I need to export in excel custom attribute from user in one row. Like this: columns: DisplayName,Email,%adm-CustomAttributeDate10%(Friendyname),%adm- ... create the report correctly with the columns and rows formatted. Any suggest? Thanks

asked Apr 8 by Simone.Vailati (270 points)
0 votes
1 answer

Hello, I am able to pull photo's of our employees from our HR solution into our active directory. However the HR api only provides a base64 encoded string. This string then ... work, if you have any better solutions or see any problems. Please let me know.

asked Feb 23 by vlg (40 points)
0 votes
1 answer

Here is what i have been trying with Set-ADUser -Identity $user -Clear "extensionAttribute5" Set-ADUser -Identity $user -Add @{extensionAttribute5 = "NoLicenseNeeded"}

asked Nov 29, 2021 by Markh (20 points)
0 votes
1 answer

This is for license purposes and we do not want them visible in the Adaxes portal.

asked Oct 22, 2021 by jfrederickwl (20 points)
2,779 questions
2,512 answers
6,575 comments
26,741 users