nerdexam
Microsoft

AZ-104 · Question #662

Note: This QUESTION 6is part of a series of questions that present the same scenario. Each QUESTION 6in the series contains a unique solution that might meet the stated goals. Some QUESTION 6sets…

The correct answer is B. No. 'New-MgInvitation' is the command to add external users to the organization. https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.identity.signins/new- mginvitation?view=graph-powershell-1.0

Submitted by satoshi_tk· Mar 4, 2026Manage identities and governance

Question

Note: This QUESTION 6is part of a series of questions that present the same scenario. Each QUESTION 6in the series contains a unique solution that might meet the stated goals. Some QUESTION 6sets might have more than one correct solution, while others might not have a correct solution. After you answer a QUESTION 6in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each user. Does this meet the goal?

Options

  • AYes
  • BNo

How the community answered

(54 responses)
  • A
    43% (23)
  • B
    57% (31)

Explanation

'New-MgInvitation' is the command to add external users to the organization. https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.identity.signins/new- mginvitation?view=graph-powershell-1.0

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice