V
V
voltage02019-09-03 15:26:11
Active Directory
voltage0, 2019-09-03 15:26:11

Create Active Directory accounts. How to validate input?

How can you control the creation of new users in AD? For example, prohibit the creation of user records without specifying the required attributes. Mandatory attributes include: First name, Last name, E-Mail.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Dmitriev, 2019-09-03
@SignFinder

The mandatory (mandatory) or optionality (optional) attributes of objects in AD are specified in the AD schema.
Editing it is a non-trivial and potentially dangerous operation.
So you can go that route, or you can just prevent creators from creating new records without certain attributes.

S
Sergey Ryzhkin, 2019-09-03
@Franciz

Through the snap, most likely nothing. Try to create a user via PowerShell, and in it already correct the script, which will ask for the full name and email at startup, and if the email field is empty, then wrap the script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question