Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your network contains an Active Directory domain named contoso.com.
The user account for a user named User1 is in an organizational unit (OU) named OU1.
You need to enable User1 to sign in as
[email protected].
Solution: From Windows PowerShell, you run
Set-ADObject 'CN=User1,OU=OU1,DC=Contoso,DC=com'
-Add @{UserPrincipalName='
[email protected]'}
-Remove @ {UserPrincipalName='
[email protected]'}.
Does this meet the goal?