06-23-2016 01:38 AM
Currently I encounter problem in the importing of account from MS AD for UCS Director. Once configure all the account in MS AD is imported. Is there anyway I can import account with valid email address. example xxx@whoisit.com
06-23-2016 03:02 PM
Could you explain what you are trying to do instead of how you are trying to do it?
Email and UserName are two completely different attributes within Active Directory. By common practice they are often made the same, but there is nothing to prevent an account to have a username of 'MyName' with an email of 'whocares@domain.com. So maybe if we understand what you are trying to do, we can provide more assistance.
06-23-2016 07:34 PM
Current our new UCS Director is integrate with MS Active Directory, and all the account is imported. I'm looking at how can I only import accounts that have a valid email address only.
06-24-2016 12:58 PM
So you allow everyone within Active Directory to log into UCS Central? That's interesting.
Extract a list of users with email addresses from Active Directory by issuing a command something like this:
$users = get-aduser -filter * -properties Name, EmailAddress |where {$_.Enabled -eq "True" -and $_.EmailAddress -ne $null}
Then iterate through the list of users returned to the array $users to add them to UCS Directory.
06-27-2016 08:01 PM
We are using the UCS Director for VM request. Is there any why to define in UCS Director to import those account with valid email address. Example xxxx@123.com.
06-28-2016 06:29 AM
I must not be understanding your request. Earlier you asked "how can I only import accounts that have a valid email address only" and I provided a sample query of Active Directory to return only accounts with an email address. Now you seem to be asking the same thing. Are you looking for a specific UCSD workflow that imports the contents of a file or array that contains the accounts selected?
07-24-2016 03:43 AM
How do you want to make sure the e-mail address is valid? Test it via test e-mail? Or just the pure existence of characters in the filed? Would this be a valid e-mail address in your example: A@b.com?
08-01-2016 01:59 PM
Very valid question about what constitutes a valid email address. Not enough information has been provided by the original poster to answer that question. If the environment has Exchange installed, Exchange stores its email addresses in Active Directory, so the user's Exchange email address could be extracted. Hopefully they have things in place to ensure they are properly populating Exchange with valid Exchange e-mail addresses. Similar procedures can be implemented for other e-mail packages. But without further information about what the original poster means by 'valid email address', we can only guess.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide