PdfPrep.com

What should you do?

You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com.

You hire a temporary vendor. The vendor uses a Microsoft account that has a sign-in of user1@outlook.com.

You need to ensure that the vendor can authenticate to the tenant by using user1@outlook.com.

What should you do?
A . From Windows PowerShell, run the New-AzureADUser cmdlet and specify the CUserPrincipalName user1@outlook.com parameter.
B . From the Azure portal, add a custom domain name, create a new Azure AD user, and then specify
user1@outlook.com as the username.
C . From Azure Cloud Shell, run the New-AzureADUser cmdlet and specify the CUserPrincipalName user1@outlook.com parameter.
D . From the Azure portal, add a new guest user, and then specify user1@outlook.com as the email address.

Answer: D

Explanation:

UserPrincipalName – contains the UserPrincipalName (UPN) of this user. The UPN is what the user will use when they sign in into Azure AD. The common structure is @, so for Abby Brown in Contoso.com, the UPN would be AbbyB@contoso.com Example:

To create the user, call the New-AzureADUser cmdlet with the parameter values: powershell New-AzureADUser -AccountEnabled $True -DisplayName "Abby Brown" – PasswordProfile$PasswordProfile -MailNickName "AbbyB" -UserPrincipalName "AbbyB@contoso.com"

References: https://docs.microsoft.com/bs-cyrl-ba/powershell/azure/active-directory/new-user-sample?view=azureadps-2.0

Exit mobile version