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…
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)- A12% (5)
- B5% (2)
- C2% (1)
- D81% (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
Community Discussion
No community discussion yet for this question.