adding users automatic to Team

Super Contributor


So the 'planning' is almost done in the "File server migration to Teams" - migrated Files are stored in a separate Doc Library in the underlying SharePoint site. 


Is there a "smart" way for the IT admins to add the various users/groups (which have the 'file/folders rights') as Members to the Team? 

1 Reply

I understand it as you have copied files from a file server to the Sharepoint site that belongs to a Team. And now you would like to see who got permissions to read the files on the file server and add them to the Team as members.

I suggest you check the permissions with a powershell script that collects the permissions and saves it to a csv file. You can then clean this by removing builtin groups as Administrators. And if it is groups that have permissions you have to expand them first so you get the user names.

Then use the Add-TeamUser in a script where you add members to the Team using the csv file.