Modern site

Since modern sites are connected to Office 365 groups, modern site group membership is managed through the Add-UnifiedGroupLinks cmdlet and takes a bit more effort. If you need to do it (for example, performing the activity in bulk), you may want to administer it via PowerShell with this process:

  1. Connect to Exchange Online PowerShell:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential (Get-Credential) -Authentication Basic -AllowRedirection;
Import-PSSession $Session
  1. Find the appropriate Office 365 group using the SharePoint site URL as a filter:
$Group = Get-UnifiedGroup -ResultSize Unlimited | ? { $_.SharePointSiteUrl -eq "https://<tenant>.sharepoint.com/sites/<site>"}
  1. Add the new owner to the Unified Group Links Members attribute:
Add-UnifiedGroupLinks -Identity $Group.DistinguishedName -LinkType Members -Links <[email protected]>
  1. Add the new owner to the Unified Group Links Owners attribute:
Add-UnifiedGroupLinks -Identity $Group.DistinguishedName -LinkType Owners -Links <[email protected]>
    ..................Content has been hidden....................

    You can't read the all page of ebook, please click here login for view all page.
    Reset
    3.143.168.172