Ir al contenido principal

Entradas

Mostrando entradas de agosto, 2018

[SPOnline] Everyone except external users

FUENTE: http://tomislavspadmin.blogspot.com/2018/05/everyone-except-external-users.html First you need to run Connect-SPOService Connect-SPOService https://************-admin.sharepoint.com If you want to show/enable Everyone except external users run the following command: Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $true If you want to hide/disable Everyone except external users run the following command: Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $false

Get SharePoint Online Site and SubSites permission using PowerShell

The below PowerShell script retrieves the following for the given SharePoint Online Site All the Sub-site's URL Security group attached with each Sub-site with their permission level Prerequisites: This PowerShell script uses the latest version of SharePoint Online PnP Module. Download the installer from https://github.com/SharePoint/PnP-PowerShell/releases  Install-Module SharePointPnPPowerShellOnline  Install-Module - Name ' SharePointPnP.PowerShell.Commands.Files.Recurse ' function  connect - site( $webs , $creds ){    Connect - PNPonline  - Url  $webs   - Credentials  $cred     }    function  get - sitepermission( $web , $cred ){    $rec =@()    connect - site  - webs  $web   - creds  $cred     if ( $web   - eq  $parentsitename )  {  #Write-Host "Parent site permission" $web   $Pgroups =Get - PNPGroup  foreach ( $Pgroup   in   $Pgroups )  {  $DLGP  =  ""   |   Select   "SiteUrl" , "GroupName" , "Permiss