Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 39 of 221
Free Preview · 221 of 735 · questions 1–221 of 735 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
using similar code snippet to my new customers as guest to my application, once accpeted they can give their feedback. $users = Import-Csv -Path "C:\temp\users.csv" foreach ($user in $users) { New-AzureADMSInvitation ` -InvitedUserEmailAddress $user.Email ` -InvitedUserDisplayName $user.DisplayName ` -SendInvitationMessage $true ` -InviteRedirectUrl "https://myapps.microsoft.com" }
Below are the possible options for this scenario. Consolidating here for easy read of subscribers. Solution: From Azure AD in the Azure portal, you use the Bulk invite users operation. - No Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each external user. - No Solution: You create a PowerShell script that runs the New-MgInvitation cmdlet for each external user. - Yes Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each user. - No Solution: You create a PowerShell script that runs the New-AzureADUser cmdlet for each user. - No Solution: You create a PowerShell script that runs the New-AzureADMSInvitation cmdlet for each external user. - Yes Solution: From Azure AD in the Azure portal, you use the Bulk create user operation. - No
nvite a new external user to your directory New-AzureADMSInvitation -InvitedUserEmailAddress [email protected] -SendInvitationMessage $True -InviteRedirectUrl "http://myapps.microsoft.com" Using the cmdlet in this example, an email is sent to the user who's email address is in the -InvitedUserEmailAddress parameter. When the user accepts the invitation, they are forwarded to the url as specified in the -InviteRedirectUrl parameter https://github.com/Azure/azure-docs-powershell-azuread/blob/main/azureadps-2.0-preview/AzureAD/New-AzureADMSInvitation.md