ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 353 - AZ-104 discussion

Report
Export

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 [email protected].

You need to ensure that the vendor can authenticate to the tenant by using [email protected].

What should you do?

A.
From Windows PowerShell, run the New-AzureADUser cmdlet and specify the -UserPrincipalName [email protected] parameter.
Answers
A.
From Windows PowerShell, run the New-AzureADUser cmdlet and specify the -UserPrincipalName [email protected] parameter.
B.
From the Azure portal, add a custom domain name, create a new Azure AD user, and then specify [email protected] as the username.
Answers
B.
From the Azure portal, add a custom domain name, create a new Azure AD user, and then specify [email protected] as the username.
C.
From Azure Cloud Shell, run the New-AzureADUser cmdlet and specify the - UserPrincipalName [email protected] parameter.
Answers
C.
From Azure Cloud Shell, run the New-AzureADUser cmdlet and specify the - UserPrincipalName [email protected] parameter.
D.
From the Azure portal, add a new guest user, and then specify [email protected] as the email address.
Answers
D.
From the Azure portal, add a new guest user, and then specify [email protected] as the email address.
Suggested 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 [email protected]

Example:

To create the user, call the New-AzureADUser cmdlet with the parameter values:

powershell New-AzureADUser -AccountEnabled rue -DisplayName "Abby Brown" -

PasswordProfile$PasswordProfile -MailNickName "AbbyB" -UserPrincipalName

"[email protected]"

Reference:

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

asked 26/09/2024
Cheri Brown
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first