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

We are using the below snippet to grab the email of a single custom attribute object. Can I get guidance on the best way to modify this to get all the emails of each ... "The user specified in parameter 'MyParameter' has no email address. ", "Information") }

asked Dec 23, 2024 by msheppard (720 points)
0 votes
1 answer

We are wanting to display all values entered into a multi value text attribute in an email sent by Adaxes. What we've found is that only the first entry into the array ... Entry" Is there a way to reference the variable so that it displays all entries? Thanks

asked Dec 12, 2024 by msheppard (720 points)
0 votes
1 answer

I see the script for generating a report of users enrolled, but what I'd like to do is run a script that can populate a user attribute with Yes/No or True/False if they are or are not enrolled. Is there an existing script that accomplishes this? Thanks

asked Nov 19, 2024 by msheppard (720 points)
0 votes
1 answer

I'm trying to do something very similar to: https://www.adaxes.com/questions/10758/copy-image-uploaded-binary-custom-attribute-network-share but rather than uploading the M365, uploading to ... it, but I'm stuck on this step. I have Adaxes version 3.16.21627.0

asked Oct 28, 2024 by jmatthews (190 points)
0 votes
1 answer

Hello, i have created a custom attribute named user entry date. When a new user is created they need to enter the entry date with the create user command. The entry date ... buisness rule because it does not write any value in the sent email. Thank you, Fabian

asked Jun 7, 2024 by fabian.p (380 points)
3,633 questions
3,321 answers
8,398 comments
548,760 users