SharePoint Online: PowerShell to Get Group Members

January 27, 2018    , , ,
Requirement:   Get SharePoint Online Group Members using PowerShell How to Get Group Members in SharePoint Online?  To get users in a group in SharePoint Online, follow these steps: Go to Site Settings >>  People and Groups Pick the SharePoint Online group you want to get group members. and the group page gets you all users in a particular group. SharePoint Online: PowerShell to Get Group Members Here is the SharePoint Online PowerShell to get users in a group. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Config Variables $SiteURL="https://crescenttech.sharepoint.com/sites/marketing" $GroupName= "Team Site Members" Try { $Cred= Get-Credential $Credentials = New-Object Micro
SharePoint Online: PowerShell to Get Group Members SharePoint Online: PowerShell to Get Group Members Reviewed by Salaudeen Rajack on January 27, 2018 Rating: 5

SharePoint Online: Set "Who Can View Group Membership" to Everyone using PowerShell

January 27, 2018    , , ,
Requirement: Set Who Can View Group Membership to Everyone How to Set Who Can View Group Membership to Everyone in SharePoint Online? Follow these steps to change the who can view group membership in SharePoint Online. Go to Site Settings >>  People and Groups Pick the SharePoint Online group you want change the group membership view settings From the group page, Click on Settings >> Group Settings  Under "Group Settings", Set "Who can view the membership of the group? to "Everyone". Hit OK to save your changes. PowerShell to Set the View Group Membership to Everyone: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Config Variables $SiteURL="https://crescenttech.sh
SharePoint Online: Set "Who Can View Group Membership" to Everyone using PowerShell SharePoint Online: Set "Who Can View Group Membership" to Everyone using PowerShell Reviewed by Salaudeen Rajack on January 27, 2018 Rating: 5

SharePoint Online: PowerShell to Rename a List

January 26, 2018    , , , ,
Requirement: SharePoint Online PowerShell to Rename a List How to Rename List in SharePoint Online? To change the list name in SharePoint Online, follow these steps: Navigate to your SharePoint Online list or library. Click on Settings Icon and then "List Settings" (In Classic UI, Under "List" tab, Click on "List Settings" button from the ribbon) In the List settings page, Click on "List name, description and navigation" link under "General Settings" heading. In General Settings page, You can update the Title of the list and click on "Save" to commit your changes. PowerShell to Rename a List in SharePoint Online:  Now lets rename a SharePoint Online list using PowerShell. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Se
SharePoint Online: PowerShell to Rename a List SharePoint Online: PowerShell to Rename a List Reviewed by Salaudeen Rajack on January 26, 2018 Rating: 5

SharePoint Online: Get All Items from a List View using PowerShell

January 26, 2018    , , , ,
Requirement: Get All Items from a SharePoint Online List View in PowerShell. PowerShell to Get List Items from a View in SharePoint Online:  #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Config Variables $SiteURL="https://crescenttech.sharepoint.com/" $ListName="Projects" $ViewName="Active Projects" Try { $Cred= Get-Credential $Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.Username, $Cred.Password) #Setup the context $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $Ctx.Credentials = $Credentials #Get the View $List = $Ctx.web.Lists.GetByTitle($ListName) $View = $List.Views.GetByTitle($Vie
SharePoint Online: Get All Items from a List View using PowerShell SharePoint Online: Get All Items from a List View using PowerShell Reviewed by Salaudeen Rajack on January 26, 2018 Rating: 5

SharePoint Online: How to Delete a Document Library using PowerShell?

January 26, 2018    , , , ,
Requirement: Delete a Document Library in SharePoint Online using PowerShell How to Delete a Document Library in SharePoint Online? To delete a document library in SharePoint Online, follow these steps: Login to your SharePoint Online site >> Click on Settings gear >> Select Site contents from the menu. On the site contents page, Hover over the document library you want to delete and then click the context menu.  From the menu, click on "Remove" and then confirm the prompt to send the document library to the Recycle Bin.  Alternatively, you can remove a document library in SharePoint Online by going to library settings >> Click on "Delete this Document Library" under Permissions and Management group. Quite simple, huh? Well, what if you don't find the delete option from the context menu or even in the document library's settings? What if you want to bulk delete multiple document libraries? PowerShell can help! Here is the S
SharePoint Online: How to Delete a Document Library using PowerShell? SharePoint Online: How to Delete a Document Library using PowerShell? Reviewed by Salaudeen Rajack on January 26, 2018 Rating: 5

SharePoint Online: How to Change Subsite URL using PowerShell?

January 26, 2018    , ,
Requirement: Change the URL of a subsite in SharePoint Online. How to Change the Subsite URL in SharePoint Online? To rename a site URL in SharePoint Online, follow these steps: Click on Settings Gear Icon >> Choose "Site Information" and then "View All Site Settings" Click on "Title, description, and logo" under "Look and Feel" group Enter the new URL for the subsite and click on "OK" This renames subsite URL in SharePoint Online. PowerShell to Change Subsite URL in SharePoint Online Here is the PowerShell to change the URL of a SharePoint Online Subsite. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Variables $SiteURL="https://crescenttech.sh
SharePoint Online: How to Change Subsite URL using PowerShell? SharePoint Online: How to Change Subsite URL using PowerShell? Reviewed by Salaudeen Rajack on January 26, 2018 Rating: 5

How to Create a Site Collection in SharePoint Online?

January 26, 2018    ,
Requirement: Create new site collection in SharePoint Online How to Create a Site Collection in SharePoint Online? Site collection in SharePoint is a logical group sites with a common top-level site and/or zero or more subsites organized as a hierarchy. Every site collection share common top site, navigation, security, content types, etc. To create a SharePoint Online Site collection from Browser, follow these steps: Login to SharePoint Admin Center as a tenant admin or SharePoint Online Administrator.  Click on "Site Collections" from left navigation >> Click on "New" >> and then "Private Site collection" to create a new site collection. The New Site Collection page appears. Set properties according to your requirement to create site collection. Such as:  Title and description for your new site,  Site Address (URL path) for the site Select the Template for your site collection, typically "Team Site" will do.  Set the st
How to Create a Site Collection in SharePoint Online? How to Create a Site Collection in SharePoint Online? Reviewed by Salaudeen Rajack on January 26, 2018 Rating: 5

SharePoint Online: How to Change Site Title using PowerShell?

January 24, 2018    , ,
Requirement: Change Site Title in SharePoint Online SharePoint Online: How to Change Title of a Site Collection? To change site collection title in SharePoint Online, Go to Site Settings Page >> Click on "Title, Description, and Logo" link under "Look and Feel" Enter the new title for your site or site collection Click "OK" to save your changes. This changes the site name. Now, lets use PowerShell to change site name in SharePoint Online. PowerShell to Change Site Title in SharePoint Online: Here is the PowerShell to change site or site collection title in SharePoint Online. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Variables $SiteURL="https://crescenttech.sha
SharePoint Online: How to Change Site Title using PowerShell? SharePoint Online: How to Change Site Title using PowerShell? Reviewed by Salaudeen Rajack on January 24, 2018 Rating: 5

SharePoint Online: Change Alert Schedule using PowerShell

January 23, 2018    , , ,
Requirement: Change the Alert Schedule from "Immediate" to "Daily" for all alerts of a specific user in a SharePoint Online site collection. Business Case: A SharePoint User subscribed for alerts in various lists and libraries in a SharePoint Online site collection. Alerts were created with "Immediate" frequency which resulted in flooding his Inbox, as content added to these SharePoint Lists frequently. So the user wants to change the alert frequency to daily summary for all alerts he has created. How to change alert frequency from immediate to daily in SharePoint? SharePoint user can update any of their existing alerts by, Go to the list or library where you have the alert created >> Click on "Manage My Alerts" from list settings toolbar. Pick the alert from the list of alerts shown, to open it in edit mode. Now you can adjust any property of the alert such as frequency, schedule, change type, etc. Updating each alert in a lar
SharePoint Online: Change Alert Schedule using PowerShell SharePoint Online: Change Alert Schedule using PowerShell Reviewed by Salaudeen Rajack on January 23, 2018 Rating: 5

Group By Content Type in SharePoint Online List View

January 22, 2018    , , , ,
Requirement: Set a List View Group by Content Type in SharePoint Online. How to Set a SharePoint Online View Group by Content Type? If you want to set a list view's group by option based on "Content Type" there is no option from web interface (because "Content Type" is missing from the list of columns in the drop-down!). Here is how you can group by content type. Option #1: Edit the List View using SharePoint Designer Here is how you can set a group by using SharePoint Designer: Create a List view from SharePoint web user interface Edit the view page in Advanced mode using SharePoint Designer.  Search for "<Query/>" and replace it with: <Query> <GroupBy Collapse='FALSE' GroupLimit='30' > <FieldRef Name='ContentType' /> </GroupBy> </Query> This method works on SharePoint On-premises as well. Option #2: Use PowerShell to Group by "Content Type&qu
Group By Content Type in SharePoint Online List View Group By Content Type in SharePoint Online List View Reviewed by Salaudeen Rajack on January 22, 2018 Rating: 5

SharePoint Online: Set Sort Order, Group By in a List View using PowerShell

January 22, 2018    , ,
Requirement:   Set Sort Order, Group By in a SharePoint Online List View using PowerShell How to Set Sort Order and Group By Settings for a SharePoint Online List View? To set sort order or group by in SharePoint List view, Modify the view and select the field in Sort and group by sections. PowerShell to Set  Sort Order, Group By in a List View in SharePoint Online: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set parameter values $SiteURL="https://crescenttech.sharepoint.com/" $ListName ="Documents" $ViewName="All Documents" Try { #Setup Credentials to connect $Cred= Get-Credential $Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cr
SharePoint Online: Set Sort Order, Group By in a List View using PowerShell SharePoint Online: Set Sort Order, Group By in a List View using PowerShell Reviewed by Salaudeen Rajack on January 22, 2018 Rating: 5

How to Make a Field Required in SharePoint List using PowerShell?

January 21, 2018    , , , , , ,
Requirement: Make a Field Required in SharePoint Online List. How to Set a List Field Required in SharePoint? To make field required in SharePoint, or to remove required field (to make it non-mandatory) in SharePoint list: Go to List Settings >> Pick the Field by Clicking on its "Title" under "Columns" Section  Set "Yes" for "Require that this column contains information" Click "OK" to save changes. This makes the field required.  PowerShell to Set a Field Required in SharePoint Online List: Here is the PowerShell to set a column as "required" #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set parameter values $SiteURL="https://cresce
How to Make a Field Required in SharePoint List using PowerShell? How to Make a Field Required in SharePoint List using PowerShell? Reviewed by Salaudeen Rajack on January 21, 2018 Rating: 5

SharePoint Online: PowerShell to Get-Set Date Field Value

January 21, 2018    , ,
PowerShell to Get Date Column Value in SharePoint Online: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set parameter values $SiteURL="https://crescenttech.sharepoint.com/" $ListName="Projects" $FieldName="StartDate" #Get Credentials to connect $Cred= Get-Credential #Setup the context $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $Ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.Username, $Cred.Password) #Get the List $List = $Ctx.Web.lists.GetByTitle($ListName) #Get All List Items $ListItems = $List.GetItems([Microsoft.SharePoint.Client.CamlQuery]::CreateAllItemsQuery()) $Ctx.Load($ListItems) $Ctx.ExecuteQuery()
SharePoint Online: PowerShell to Get-Set Date Field Value SharePoint Online: PowerShell to Get-Set Date Field Value Reviewed by Salaudeen Rajack on January 21, 2018 Rating: 5

Migrate File Share to SharePoint Online using PowerShell

January 21, 2018    , , ,
Requirement: Migrate All Files and Folders from a Network File Share to SharePoint Online. PowerShell to Bulk Upload All Files from Network File Share to SharePoint Online Lets migrate a file share to SharePoint Online using PowerShell. Here is my source: Lets copy file share with metadata to SharePoint Online using PowerShell #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Function to migrate all Files and Folders from FileShare to SharePoint Online Function Migrate-FileShareToSPO() { param ( [Parameter(Mandatory=$true)] [string] $SiteURL, [Parameter(Mandatory=$true)] [string] $TargetLibraryName, [Parameter(Mandatory=$true)] [string] $SourceFolderPath ) #Setup Credential
Migrate File Share to SharePoint Online using PowerShell Migrate File Share to SharePoint Online using PowerShell Reviewed by Salaudeen Rajack on January 21, 2018 Rating: 5

SharePoint Online: Upload File to Sub-Folder using PowerShell

January 21, 2018    , , , ,
Requirement: SharePoint Online PowerShell to Upload File to Folder PowerShell to Upload File to SharePoint Online Sub-Folder Here is the PowerShell to upload file to SharePoint Online Document library subfolder. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set parameter values $SiteURL="https://crescent.sharepoint.com/sites/marketing" $SourceFilePath="C:\Users\salaudeen\Desktop\Project Documents\Discloser Asia.doc" $TargetFolderRelativeURL ="/sites/Marketing/Shared Documents/2018/Active" #Setup Credentials to connect $Cred= Get-Credential $Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.Username, $Cred.Password) Try { #Setup the context
SharePoint Online: Upload File to Sub-Folder using PowerShell SharePoint Online: Upload File to Sub-Folder using PowerShell Reviewed by Salaudeen Rajack on January 21, 2018 Rating: 5

SharePoint Online: Upload a Folder using PowerShell

January 21, 2018    , , ,
Requirement: Upload a Folder to SharePoint Online using PowerShell Prerequisites: Make sure you have installed SharePoint Online Client Components SDK in your machine to use client side assemblies. You can download it from: https://www.microsoft.com/en-us/download/details.aspx?id=42038 PowerShell to Upload a Folder Structure to SharePoint Online (Folder, Sub-Folders and Files): Lets upload a folder to SharePoint Online using PowerShell. Here is my source: Upload Folder to SharePoint Online Document Library using PowerShell #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Function to Check if Folder Exists. If not, Create the Folder Function Ensure-SPOFolder() { param ( [Parameter(Mandatory=$true)
SharePoint Online: Upload a Folder using PowerShell SharePoint Online: Upload a Folder using PowerShell Reviewed by Unknown on January 21, 2018 Rating: 5

SharePoint Online: Export List Data to XML using PowerShell

January 20, 2018    , ,
Requirement: Export SharePoint Online List data to XML file. PowerShell to Export SharePoint Online List Data to XML #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set parameter valuesss $SiteURL="https://crescenttech.sharepoint.com/" $ListName="Projects" $XMLFile ="C:\Temp\ProjectData.xml" Try{ #Get Credentials to connect $Cred= Get-Credential #Setup the context $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $Ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.Username, $Cred.Password) #Get the web & List objects $Web = $Ctx.Web $Ctx.Load($Ctx.Web) $List = $Web.Lists.GetByTitle($
SharePoint Online: Export List Data to XML using PowerShell SharePoint Online: Export List Data to XML using PowerShell Reviewed by Salaudeen Rajack on January 20, 2018 Rating: 5

SharePoint Online: Import XML to List using PowerShell

January 19, 2018    , ,
Requirement:   Import XML to SharePoint Online List PowerShell to Import XML to SharePoint Online List Here is the PowerShell to import XML in to SharePoint Online list #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set parameter values $SiteURL="https://crescent.sharepoint.com/" $ListName="Projects" $XMLFile ="C:\Temp\ProjectData.xml" Try{ #Get Credentials to connect $Cred= Get-Credential #Setup the context $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $Ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.Username, $Cred.Password) #Get the web & List objects $Web = $Ctx.Web $Ctx.Loa
SharePoint Online: Import XML to List using PowerShell SharePoint Online: Import XML to List using PowerShell Reviewed by Salaudeen Rajack on January 19, 2018 Rating: 5

SharePoint Online: Export Site Collection Administrators to CSV Report

January 19, 2018    , , , ,
Requirement: Get Site Collection Administrators Report for SharePoint Online. PowerShell to Get Site Collection Administrators in SharePoint Online and Export to CSV: Lets get site collection admins of all SharePoint Online sites and export them to a CSV report using PowerShell. #Variables for processing $AdminURL = "https://Crescenttech-admin.sharepoint.com/" $ReportOutput="C:\Temp\SiteCollectionAdmins.csv" Try { #Connect to SharePoint Online Connect-SPOService -url $AdminCenterURL -Credential (Get-Credential) #Get all Site colections $Sites = Get-SPOSite -Limit ALL $SiteData = @() #Get Site Collection Administrators of Each site Foreach ($Site in $Sites) { Write-host -f Yellow "Processing Site Collection:"$Site.URL #Get all Site Collection Administrators $SiteAdmins = Get-SPOUser -Site $Site.Url -Limit ALL | Where { $_.IsSiteAdmin -eq $True} | Select DisplayName, LoginName
SharePoint Online: Export Site Collection Administrators to CSV Report SharePoint Online: Export Site Collection Administrators to CSV Report Reviewed by Salaudeen Rajack on January 19, 2018 Rating: 5

SharePoint Online: Export List Version History to Excel using PowerShell

January 15, 2018    , , , , ,
Requirement: Export all versions of SharePoint Online List Items to CSV (Excel) file. PowerShell to Extract and Export List Item's Version History to CSV File: This article assumes you have an existing SharePoint Online list with columns given below. You may have to create and change columns according to your requirement. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" Function Export-VersionHistory() { param ( [Parameter(Mandatory=$true)] [string] $SiteURL, [Parameter(Mandatory=$true)] [string] $ListName, [Parameter(Mandatory=$true)] [string] $CSVFile ) Try { #Delete the Output report file if exists if (Test-Path $CSVFile) { Remove-Item $CSVFile }
SharePoint Online: Export List Version History to Excel using PowerShell SharePoint Online: Export List Version History to Excel using PowerShell Reviewed by Salaudeen Rajack on January 15, 2018 Rating: 5

SharePoint Online: Find and Delete Orphaned Users using PowerShell

January 04, 2018    , , , , ,
What is "Orphaned Users" in SharePoint Online? In short, Orphaned users are those who deleted from the authentication provider (such as removed from Active Directory when user leaves the organization), and still continue to exist in SharePoint online sites! scanning each user in SharePoint online site collection for orphaned users could take days to complete! Since, Here is my PowerShell script to search for orphan users and delete them. Pr-Requisites: Before using this script, you need to have SharePoint Online Management Shell ( https://www.microsoft.com/en-us/download/details.aspx?id=35588 ) and Azure Active Directory Module ( https://technet.microsoft.com/en-us/library/dn975125.aspx ) installed on your machine! Find Orphan Users in SharePoint Online using PowerShell: This script scans each and every user from the given site collection URL and exports list of orphaned users to a CSV file. #Import SharePoint Online and Azure Online modules Import-Module Micros
SharePoint Online: Find and Delete Orphaned Users using PowerShell SharePoint Online: Find and Delete Orphaned Users using PowerShell Reviewed by Salaudeen Rajack on January 04, 2018 Rating: 5
Powered by Blogger.