Clone Sharepoint Onilne Permissions using csv file

Tamir Giladi - Comoz Technologies 40 Reputation points
2023-08-16T06:20:28.5333333+00:00

Hi team,

I exported a report from SharePoint 'Site Usage' page ► 'Shared with external users' ► 'Run Report'.

This report is a CSV file that contains the following columns:

User's image

I'm looking for a powershell script to clone permissions between source email address from the list to another target email address.

I would appreciate your assistance.

Tamir

Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft 365 and Office SharePoint For business Windows
Windows for business Windows Server User experience PowerShell
{count} votes

Accepted answer
  1. Ling Zhou_MSFT 23,620 Reputation points Microsoft External Staff
    2023-08-17T05:59:25.8166667+00:00

    Hi @Tamir Giladi - Comoz Technologies,

    Thank you for posting in this community.

    I think you want to copy the permissions of the source user on a site to the target user, including permissions for sites, lists, folders and items. Correct me if I have misunderstood.

    If I understand correctly, adding the target user to the source user's group via a csv file doesn't exactly copy the permissions. You can refer to the script in this article to find all the permissions of the source user and copy them to the target user: How to Copy User Permissions in SharePoint Online using PowerShell?

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.