What you need
| A Windows machine | Windows 10, 11, or Windows Server 2012 or later. Does not need to be a server or a domain controller. See supported operating systems. |
| Local administrator rights | To install. The installer registers a Windows service; setup installs a certificate and opens the firewall. |
| A Global Administrator account | Once, to create the app registration and consent to its permissions. Nobody needs it afterwards. |
| HTTPS | Required, not optional. Microsoft will not accept a plain http sign-in address except on localhost. |
| Outbound HTTPS to Microsoft | No inbound rule from the internet. See outbound addresses. |
Nothing else to install first. The .NET runtime, the web server and the database are all in the download: no SQL Server, no IIS, no separate .NET install, and no PowerShell modules on the server for day to day use.
Supported operating systems
The toolkit runs on the machine you install it on. It does not need to be a domain controller.
- Windows 10
- Windows 11
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
It keeps syncing and running scheduled reports with nobody signed in, because it runs as a service.
Microsoft 365
- A Global Administrator account, once. Who can use the toolkit afterwards is decided by its own roles under Settings > Access Control.
- An Entra ID tenant of any plan. Some reports have nothing to show without the license that produces the data, for example sign-in history beyond seven days.
- The Exchange Administrator directory role on the app registration, for the mailbox reports and tools. The permission alone is not enough. The setup script assigns the role for you.
- A certificate rather than a client secret, for the OneDrive access tools only. Microsoft does not accept client secrets for SharePoint app-only access. Everything else works with either.
HTTPS
Microsoft refuses to register a plain http sign-in address for anything but localhost, so an install
reached over http by name or IP has nowhere for a sign-in to return to and nobody can get in. The setup
assistant will either create a self-signed certificate for you or take a .pfx you already have. See
SSL certificate.
Ports
On the machine running the toolkit:
| Port | Scope | What for |
|---|---|---|
| 443 | Inbound | The web interface. Configurable during setup. |
| 8082 | Inbound | Plain HTTP, which serves the interface but cannot complete a sign-in except on localhost. Configurable. |
No inbound rule from the internet is needed. The toolkit reaches out to Microsoft; nothing reaches in.
Outbound addresses
All HTTPS on port 443. If you allowlist by host rather than allowing general outbound traffic, these are the ones that matter.
| Host | What for |
|---|---|
login.microsoftonline.com |
Sign-in and token requests |
graph.microsoft.com |
Users, groups, licensing, reporting and security data |
outlook.office365.com |
Exchange Online administration, for the mailbox reports and tools |
*.sharepoint.com |
The OneDrive access tools, including your tenant's -admin host |
store.activedirectorypro.com |
License activation and the update check |
www.powershellgallery.com |
On whichever machine runs the setup script, which installs the Microsoft.Graph.Authentication module if it is missing |
Block the last one and the setup script fails before it reaches Microsoft. If your administrative machines cannot reach the gallery, install that module from an internal repository first and the script will use it.
Running the setup script
Connecting a tenant runs one PowerShell script, once, as a Global Administrator.
- Windows PowerShell 5.1 or PowerShell 7. Both work, and 5.1 is already on every supported version of Windows.
- The
Microsoft.Graph.Authenticationmodule. The script installs it for the current user if it is missing. - It can be run from another machine, for example a locked down administrative workstation. That machine needs to reach the toolkit's address if you are using a certificate, or you can pass the certificate as a file instead.
Microsoft 365 permissions
The application permissions the app registration is granted. The setup script grants exactly this set, and the Connections page checks what was granted against it and flags anything missing.
| Permission | API | What it is for |
|---|---|---|
User.ReadWrite.All |
Graph | User reports, and creating and editing users |
User-PasswordProfile.ReadWrite.All |
Graph | Resetting passwords |
Group.ReadWrite.All |
Graph | Group and Teams reports, and editing groups |
GroupMember.ReadWrite.All |
Graph | Adding and removing group members |
Directory.Read.All |
Graph | Roles, devices and directory reports |
OrgContact.Read.All |
Graph | The contacts report |
AuditLog.Read.All |
Graph | Sign-in reports and last sign-in dates |
Reports.Read.All |
Graph | Usage dashboards: SharePoint, OneDrive, email, Copilot |
Policy.Read.All |
Graph | Conditional Access and MFA reporting |
Application.Read.All |
Graph | The enterprise apps report, and credential expiry dates |
Sites.Read.All |
Graph | SharePoint reports |
Files.ReadWrite.All |
Graph | The OneDrive copy tool |
Exchange.ManageAsApp |
Exchange Online | Mailbox reports and the mailbox tools, with the Exchange Administrator role |
Sites.FullControl.All |
SharePoint Online | Granting and revoking access to a whole OneDrive |
Two are broad, and Microsoft offers nothing narrower for the job:
Files.ReadWrite.Allcovers every OneDrive and document library in the tenant. Only the OneDrive copy tool uses it. The OneDrive reports come from usage reports, which are read only.Sites.FullControl.Allon SharePoint's own resource is full control of every site. It is used for one operation: making somebody a site collection administrator of a personal site, which is the only supported way to grant access to a whole OneDrive.
Both can be left out.
If you only want reports
Every sync the toolkit runs is a read. The write permissions exist for the Tools, so an install that will
only ever produce reports can be given a read-only set, which drops both of the broad permissions above. Run
the setup script with -ReportingOnly. The reduced list, and what you give up, is in
Connect a tenant.
Browsers
Any current version of Edge, Chrome, Firefox or Safari. The interface is served from the machine the toolkit is installed on, so people reach it over your network rather than from the internet.
Data and backups
- Everything stays on your server. The database holds the data synced from your tenant and the credential the app registration itself authenticates with, which is its own certificate or client secret. No user passwords are stored, and nothing leaves the machine except to talk to Microsoft.
- Secrets are encrypted to the machine, using Windows data protection. A database backup is portable but its secrets are not: restore it on a different server and the data all comes back, while each tenant needs a new certificate and the email password needs retyping. The Connections page says so when it happens.
- Backups are taken from Settings > Database, which also restores one. They carry no key material, by design.
Licensing
A free trial starts on first run and needs no key. Activation and the update check are the only times the toolkit contacts us. See Activate your license.