DRAG DROP
You are the Office 365 administrator for your company. The company has multiple Microsoft
SharePoint Online sites that are shared with external users. Individual documents have also
been shared from other Microsoft SharePoint Online sites.
The company recently ended collaboration with a vendor named Contoso, Ltd.
You need to revoke all sharing with external users who log in with contoso.com accounts
without affecting sharing with other vendors.
Which three actions should you perform in sequence? To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.
Answer: See the explanation.
is Box 1 is correct?
I believe so. The online mgmt shell is just a powershell window that has the SPO modules pre-imported.
You must open SPO management shell otherwise if you open shell you need to Import-Module Microsoft.Online.SharePoint.PowerShell
I don’t like this one because it doesn’t offer the solution. Executing the following steps isn’t enough:
Open SharePoint Online Management Shell
Use Connect-SPOService cmdlet
Use the Remove-SPOExternalUser cmdlet
What you also would need is the Get-SPOExternalUser cmdlet prior to the Remove-SPOExternalUser with a filter to return all the contoso.com users and then pipe that to the Remove-SPOExternalUser cmdlet.
Since Get-SPOExternalUser isn’t even an option and you can only select 3 I guess it’s correct.