How to Export SharePoint Permissions to Excel: Methods and Limits
Export SharePoint permissions to Excel in 4 ways. Use an OData link, sharing report, PowerShell or governance report. OData link fits group members from a single group. Sharing report fits items shared on one site. PowerShell fits groups and members on many sites. Governance report fits the sites one person can reach. RecoveryTools SharePoint Migrator maps users from a CSV. Add the Limit switch because PowerShell stops at 500 users.
Someone asks who has access to a SharePoint site. Auditors, managers and project leads ask it a week before a tenant move. You open the permissions page and find no Export button.
I get this request on every tenant project. This guide shows four ways to export SharePoint permissions and group members to Excel, what every method omits and how to tidy the sheet so people can use it.
Why Export SharePoint Permissions and Group Members?
Four tasks bring people here. An audit asks who can open a folder. A leaver check asks where a former employee still has access. A quarterly review asks whether Owners, Members and Visitors still list the right people. A migration plan asks which accounts must exist in the destination tenant.
Group members and permissions are two different lists. Group members tell you who sits in a group. Permissions tell you what that group or a single person, can reach. Most Microsoft options include only one of the two so know which one you need before you start.
Admins ask Microsoft the same question. In a Microsoft Q&A thread on exporting a site's members list, a Microsoft reply says Export to Excel only exports the items in the current view of a list or library. It does not export users.
Which Method Fits Your Permissions Export?
Start with the size of the question. One set of group members, one site, many sites and one person all need different routes.
| Method | Best for | Output | You need |
|---|---|---|---|
| OData link in Excel | Members of one group | Live table in Excel | The group ID and Excel |
| Site sharing report | Items shared on one site | CSV saved to the site, link sent by email | Site admin rights |
| PowerShell | Groups and members on many sites | CSV you build | SharePoint admin and site collection admin |
| Data access governance report | Sites one person can reach | CSV or a ZIP of CSV files | SharePoint Advanced Management |
Which OData Link Exports SharePoint Group Members to Excel?
Who it suits. Non technical site owners who work in Excel. Extra application. Microsoft Excel.
The quickest way to get one group into a sheet needs no script. SharePoint exposes group members through its REST API and Excel can open that address as a data feed.
- Open the group. On the site, open Site settings, select People and groups, then open the group you want.
- Copy the group ID. Look at the address bar. The group ID is the number in the part of the address named like MembershipGroupId.
- Build the data address. Use your own site address and group ID in the format below.
https://contoso.sharepoint.com/sites/marketing/_api/web/sitegroups/getbyid(5)/users - Open the data feed in Excel. Select Data, then Get Data, then From Other Sources, then From OData Feed.
- Paste the address. Select OK and sign in with your work account if Excel asks.
- Load the table. Select the users table and choose Load. You get a sheet of users with fields like Title, LoginName and Email.
The sheet stays linked to the site so Data, then Refresh All updates it later. The limit is scope. You get one group at a time so ten groups mean ten rounds of these steps. Move to PowerShell when the list gets long.
How do You Export a SharePoint Site Sharing Report?
Who it suits. Non technical site admins. Extra application. None, because a browser is enough.
Microsoft has one built in report for a single site. It lists items shared with direct access and the people who can reach them. Microsoft's guide to sharing reports says you must be a site admin.
- Open Site usage. Open the site, select the Settings menu, then Site usage.
- Start the report. Under Shared with external users, select Run report.
- Choose a save location. Choose a folder on the site and select Save. The report is saved there as a CSV file.
- Wait for the email. Microsoft sends an email with a link when the report is ready. It can take some time on a large site.
- Open the CSV in Excel. Read it from the folder you chose.
Save the report to a folder that only site owners can open. Microsoft suggests this when site members should not see who has access to what.
The CSV lists one row for every user and item pair with direct access. The columns are Resource Path, Item Type, Permission, User Name, User E-mail, User or Group Type, Link ID, Link Type and AccessViaLinkID.
Can You Export SharePoint Permissions With PowerShell?
Who it suits. Technical SharePoint admins who are also site collection admins. Source file size limit. Get-SPOUser returns 500 users unless you add the Limit switch. Extra application. SharePoint Online Management Shell.
PowerShell is the right choice for many groups or many sites. Install the SharePoint Online Management Shell module and connect as a SharePoint admin. Microsoft's page on the Get-SPOUser cmdlet adds a second rule. You must also be a site collection admin of every site you query.
Start with one site. This script lists every group, gets its members and saves one CSV file.
Connect-SPOService -Url https://contoso-admin.sharepoint.com
$site = "https://contoso.sharepoint.com/sites/finance"
Get-SPOSiteGroup -Site $site | ForEach-Object {
$g = $_.Title
Get-SPOUser -Site $site -Group $g -Limit "All" |
Select-Object @{n='Group';e={$g}}, DisplayName, LoginName
} | Export-Csv -Path .\finance-members.csv -NoTypeInformation
Get-SPOSiteGroup lists the groups on a site. Get-SPOUser with the Group switch returns group members for one group. The Limit switch matters, because Microsoft documents a default of 500 users. Setting it to "All" returns everyone.
For many sites, loop over Get-SPOSite. Microsoft's own example for groups uses the same pattern.
Get-SPOSite -Limit All | ForEach-Object {
$url = $_.Url
Get-SPOSiteGroup -Site $url | ForEach-Object {
$g = $_.Title
Get-SPOUser -Site $url -Group $g -Limit "All" |
Select-Object @{n='Site';e={$url}}, @{n='Group';e={$g}}, DisplayName, LoginName
}
} | Export-Csv -Path .\all-site-members.csv -NoTypeInformation
Expect errors for any site where you are not a site collection admin. Add yourself first or the site is missing from your file. Open the CSV in Excel with Data, then From Text/CSV and choose UTF-8 if names look broken.
PnP PowerShell can do the same task with Get-PnPGroup and Get-PnPGroupMember. A Microsoft Q&A answer on exporting a full permission list shares a community script and warns that it only reports sites where your account is a site admin or owner.
Power Automate can also build the file. A flow calls the SharePoint REST endpoint for site groups, parses the JSON and saves a CSV. It works but you need a schema and a flow for every site so I reserve it for reports that must repeat on a schedule.
Which Governance Report Exports SharePoint User Permissions?
Who it suits. Technical admins with SharePoint Advanced Management. Source file size limit. You can store up to five reports. Extra application. None, because a browser is enough.
The governance report answers a different question. Which sites can one person reach? Microsoft's Site permissions for users report is a snapshot for the people you choose and it is available with SharePoint Advanced Management.
- Create the organization report first. Microsoft says you must generate the site permissions for your organization report at least once before this one.
- Open Site permissions for users. On the Data access governance page, select View reports, then Create report.
- Add the people. Select Add users to report, choose them and save.
- Set scope and name. Choose SharePoint or OneDrive, enter a unique report name and select Create and run.
- Download the CSV. When Status shows the report is ready, select Download report for one user or Download detailed report for a ZIP of CSV files.
Reports include the site URL and name, site privacy, sensitivity, external sharing, an approximate file count and the number of items with direct and indirect access. Microsoft says the data can be up to 48 hours old. You can store up to five reports and refresh one every 30 days.
What do SharePoint Permission Exports Miss?
Every method shows a slice. Read this table before you hand a file to an auditor.
| Method | What you get | What is missing |
|---|---|---|
| OData link | Members of one group | One group at a time. No permission levels and no items with unique permissions |
| Sharing report | Items shared with direct access | Members of SharePoint groups, Anyone links and links that were emailed but never clicked |
| PowerShell | Groups and members you script | Needs rights on every site. Stops at 500 users without the Limit switch. A security group shows as one account, not as its members |
| Governance report | Sites a person can reach | Counts of items, not item names. Data up to 48 hours old, five reports and a 30 day refresh |
Exports also freeze one moment. If someone edits a group tomorrow, your file is already old. Date it and treat it as a record of one moment.
Nobody asks for a permissions export because they enjoy spreadsheets. They ask because something already looks wrong. Export first, then decide what to remove.
Jamie Kaler Marketing Head and Content Strategist, RecoveryTools
How do You Clean an Exported SharePoint Permissions Sheet?
Raw exports from PowerShell are noisy. Login names carry a claims prefix before the email address and system accounts sit in the list. Six quick steps fix it.
- Keep a raw copy. Save the original CSV and work on a duplicate.
- Split the login name. If LoginName reads i:0#.f|membership|[email protected], add a column with
=TEXTAFTER(B2,"|",-1)to get the email. TEXTAFTER is in current Microsoft 365 versions of Excel. - Remove system rows. Delete accounts like System Account after you check that no real person uses them.
- Remove duplicates. Select Data, then Remove Duplicates on the Group and Email columns so a person in two groups keeps two rows.
- Build a PivotTable. Put Email in rows and Group in columns to see who sits in more than one group.
- Date and protect the file. Add the export date to the file name and store it where only owners can open it.
How does a SharePoint Permissions Export Help a Move?
Before a tenant move, the sheet answers three questions. Which people need an account in the target tenant? Which groups include them? Who has already gone?
RecoveryTools SharePoint Migrator moves sites and does not report on permissions so I use the export as its input. The software takes user mappings from a CSV file. Your cleaned list is the starting point for that mapping file.
I explain the full order of work in how to migrate SharePoint permissions to another tenant. Level names and defaults sit in SharePoint permission levels explained. Links people saved before the move break in a way described in what happens to SharePoint sharing links after migration. For the site level move, see how to migrate a SharePoint site to another tenant.
Map Users and Move Permissions With the Sites
RecoveryTools SharePoint Migrator is an Easy to Use, graphical interface based utility and the software can move sites, libraries and lists between two Microsoft 365 accounts with permission levels, SharePoint groups and user mappings from a CSV. RecoveryTools SharePoint Migrator is capable of retaining versions and permissions so the migrated data is accessible at the destination. Test one site before you start the full batch.
Works on Windows 11, 10 and Windows Server.
What are the Best Practices for Exporting SharePoint Permissions?
- Export on a schedule. A quarterly file gives you something to compare against when a question comes up.
- Date every file. A permissions list with no date is hard to trust a month later.
- Limit who can open it. The file names people and what they can reach so store it where only owners can open it.
- Export again after big edits. A restructure or a batch of leavers makes the old file wrong.
- Write down the method. Note the steps or retain the script so the next admin can repeat the export the same way.
Which Mistakes Ruin a Permissions Export?
Four mistakes show up again and again when you export SharePoint permissions. First, reading a PowerShell result without the Limit switch and trusting a list that stops at 500 users. Second, treating a group name as a person. Third, forgetting that Anyone links never appear in the sharing report. Fourth, using a file that is weeks old to decide who to remove.
My Verdict on Exporting SharePoint Permissions
Use the OData link for one group, the sharing report for one site, PowerShell for many sites and the governance report for one person. Add the Limit switch every time and date the file when you save it.
At the time of writing, Microsoft has no single report that lists groups, members and levels together. Until it does, a short script and a cleanup routine beat any amount of manual clicking.
Frequently Asked Questions
Does SharePoint have One Button to Export Permissions?
No. Microsoft gives you no single button to export permissions. You choose an OData link, the site sharing report, PowerShell or the Data access governance report by scope.
Does Export to Excel on a List Include Permissions?
No. A Microsoft reply in a Q&A thread says Export to Excel exports the items in the current view of a list or library. It does not export users or permissions.
Does Get-SPOUser Return Every User by Default?
No. Microsoft documents a default of 500 users for the Limit switch. Add -Limit "All" to return every user.
Does the SharePoint Sharing Report List Group Members?
No. SharePoint groups appear as groups without their individual group members. The report also omits Anyone links and links that were emailed but never clicked.
Can You Refresh the OData Sheet Later?
Yes. The sheet stays linked to the site so Data and then Refresh All updates it. The OData link still returns a single group per link.
Can You Open the Sharing Report in Excel?
Yes. Microsoft saves the report as a CSV file in the folder you chose and emails a link when it is ready. Open the CSV in Excel and review the rows for users and items.
Does an Excel Export Move Permissions to Another Tenant?
No. An export is a record, not a migration. Use it to plan user mapping, then move the sites with a migration tool that carries permission levels and groups.
Published 15 October 2026. Steps and limits come from Microsoft Learn pages on sharing reports, the Site permissions for users report and the Get-SPOUser cmdlet. The Export to Excel point comes from a Microsoft Q&A thread, which is community guidance and not official documentation. The OData method follows the standard SharePoint REST pattern for site groups so test it on one group first.