Question 94 of 98 from exam SC-400: Microsoft Information Protection Administrator

Question 94 of 98 from exam SC-400: Microsoft Information Protection Administrator

Question

HOTSPOT - You have a Microsoft 365 tenant.

A retention hold is applied to all the mailboxes in Microsoft Exchange Online.

A user named User1 leaves your company, and the account of User1 is deleted from Azure Active Directory (Azure AD)

You need to create a new user named User2 and provide User2 with access to the mailbox of User1

How should you complete the PowerShell command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Answer Area

$InactiveMailbox = Get-Mailbox -InactiveMailboxOnly -Identity <distinguished name>

Vv [Ww $InactiveMailbox.DistinguishedName
New-Mailbox ~Inact iveMailbox
New-MailboxRestoreRequest || -LitigationHoldEnabled
Restore-RecoverableItems -RetentionHoldEnabled
Set-Mailbox -SourceMailbox

-Name User2 -DisplayName User2 -MicrosoftOnlineServicesID user2@contoso.com
-Password (ConvertTo-SecureString -String 'RdFGFfhjjhgff$**7' -AsPlainText -Force)
-ResetPasswordOnNextLogon $true

Explanations