Microsoft
AZ-104 · Question #645
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…
The correct answer is B. No. New-AzureADMSInvitation or New-MgInvitation can be used to invite users, Not New-MgUser. https://learn.microsoft.com/en-us/powershell/microsoftgraph/azuread-msoline-cmdlet- map?view=graph-powershell-1.0#users
Submitted by ricky.ec· Mar 4, 2026Manage Azure identities and governance
Question
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. 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 external user. Does this meet the goal?
Options
- AYes
- BNo
How the community answered
(34 responses)- A47% (16)
- B53% (18)
Explanation
New-AzureADMSInvitation or New-MgInvitation can be used to invite users, Not New-MgUser. https://learn.microsoft.com/en-us/powershell/microsoftgraph/azuread-msoline-cmdlet- map?view=graph-powershell-1.0#users
Community Discussion
No community discussion yet for this question.