SharePoint_Grant_SiteAccess.ps1
|
function SharePoint-GrantSiteAccess { param ( [string]$Identity, [string]$UserPrincipalName, [string]$Role ) Grant-SPOSiteAccess -Site $Identity -UserPrincipalName $UserPrincipalName -Role $Role } |