Relative Content

Tag Archive for powershellsharepoint-online

SharePoint Online – finding direct assignments

We have 600+ SharePoint sites and we are going to migrate them to an entirely new hybrid domain environment. We are currently attempting a configuration of a cross-tenant access scenario. I am attempting to find any users who have been directly assigned to any of our SharePoint sites. I don’t want to go user by user (3000+ users) to find direct assignments unless I absolutely have to. I would rather look at the sites and determine if a user is not assigned as a part of a group. So far I am not finding a SPO cmdlet that will identify the direct assigned users.

PnP Powershell Update List Item

Trying to update a column for a number of folders in SharePoint online. I have a CSV with the Item ID and the update for the column. Here is the code: