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

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 5 days ago by msheppard (470 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 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 by fabian.p (380 points)
0 votes
1 answer

Hello. I got a script that when E-mail forwarding is set, it automatically sends an email to the person that will recieve the forwarded emails for 6 months. But I'd like ... what to put in the xxxxxxx so it would take the account that im running command on.

asked Jun 3 by EdgarsABG (110 points)
0 votes
1 answer

I'm trying to modify this report to only output results where employeeType equals the values below. It reports fine. I would also like to include where employeeType ... = "(&" + $filterUsers + $filterPasswordLastSet + $customAttribute + $enabledUser + ")"

asked Mar 28 by tromanko (330 points)
3,549 questions
3,240 answers
8,232 comments
547,815 users