nerdexam
Microsoft

MS-302 · Question #14

You have a Microsoft 365 subscription. You need to add a user named Admin1 as an administrator of the Microsoft OneDrive for Business site of a user named User1. What should you do?

The correct answer is D. Run the Set-SPOUser -Site {site URL} -LogInName Admin1 -IsSiteCollectionAdmin $true. Use the Set-SPOUser cmdlet to configure properties of an existing user. That is, to add or remove a user as a SharePoint Online site collection administrator. The -IsSiteCollectionAdmin parameter specifies whether the user is a site collection administrator…

Plan and configure a Microsoft Teams environment

Question

You have a Microsoft 365 subscription. You need to add a user named Admin1 as an administrator of the Microsoft OneDrive for Business site of a user named User1. What should you do?

Options

  • AAdd Admin1 to the Site owners group
  • BRun the Set-SPOSite {site URL} -Owner Admin1 command.
  • CFrom the SharePoint admin center, select user profiles, and the select Manage User Permissions
  • DRun the Set-SPOUser -Site {site URL} -LogInName Admin1 -IsSiteCollectionAdmin $true

How the community answered

(43 responses)
  • A
    12% (5)
  • B
    5% (2)
  • C
    2% (1)
  • D
    81% (35)

Explanation

Use the Set-SPOUser cmdlet to configure properties of an existing user. That is, to add or remove a user as a SharePoint Online site collection administrator. The -IsSiteCollectionAdmin parameter specifies whether the user is a site collection administrator. https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-spouser

Topics

#OneDrive admin#Set-SPOUser#PowerShell#site collection admin

Community Discussion

No community discussion yet for this question.

Full MS-302 Practice