Connect SharePoint Online as Document Storage
Role: Org Admin
Time: 20–30 minutes
Prerequisites: Microsoft 365 account with SharePoint access; Org Admin in Kazinex; the SharePoint site must already exist; you must have Owner or Site Admin permissions on the SharePoint site; some external Microsoft 365 tenants also require a one-time tenant-admin approval for the Kazinex app
SharePoint Online integration stores Kazinex document files in your own Microsoft 365 tenant — useful for organisations that already use SharePoint, need Microsoft data residency, or want files visible in both Kazinex and SharePoint.
Before you start
Confirm with your IT team:
- Which SharePoint site and document library should Kazinex use?
- Is the site in your production Microsoft 365 tenant?
- Do you have Owner permission on the target site?
- Does your Microsoft 365 tenant allow users to approve third-party apps, or does a tenant admin need to approve Kazinex first?
Recommended: create a dedicated document library in SharePoint specifically for Kazinex files (e.g. KazinexDocuments). This keeps Kazinex files separate from your general SharePoint content.
Step 1: Open Storage Settings
- Go to Settings → Storage.
- Click Add Provider.
- Select SharePoint Online.
Step 2: Initiate the OAuth connection
- Click Connect with Microsoft.
- You are redirected to the Microsoft login page (opens in a new tab or popup).
- Sign in with your Microsoft 365 account that has permissions on the target SharePoint site.
- If your tenant allows user consent, Microsoft asks you to grant Kazinex the requested permissions:
Sites.ReadWrite.All— to read and write files in SharePoint sitesFiles.ReadWrite.All— to create, read, and update files
- Click Accept to grant consent.
- You are redirected back to Kazinex. The connection status shows "Authenticated".
If consent fails: A SharePoint site owner is not always enough by itself. Your Microsoft 365 tenant may require a one-time tenant-admin approval of the Kazinex app before any site owner can finish connecting a site. When Microsoft blocks the sign-in with an admin-approval message, Kazinex shows two options in the Storage settings:
- I'm a Microsoft 365 admin — Approve now — opens the Microsoft admin consent page directly; sign in as a tenant administrator and approve.
- Copy approval link for your IT admin — copies a link to email to your administrator. The admin opens the link, signs in, and approves — no Kazinex account needed.
After the admin approves once, retry Connect with Microsoft as the site owner; no further admin involvement is required for that tenant.
Step 3: Select the SharePoint site
- After authenticating, the Site Selection panel loads.
- Recommended — paste your site URL: open the target site in SharePoint, copy the browser address (e.g.
https://contoso.sharepoint.com/sites/ProjectDocumentControl), paste it into the SharePoint site URL box, and click Find site. This resolves the exact site reliably, including for non-admin accounts. - Optionally, pick from the suggested sites dropdown — this lists sites you follow or that Kazinex can enumerate, but it may be empty for non-admin accounts (that's expected; use the URL box instead).
- Click Next.
If neither the URL box nor suggestions work, confirm the tenant admin-approval step completed, and that the signed-in account can open the target site directly in SharePoint.
Step 4: Select the document library
- The available document libraries in the selected site are listed.
- Select the target library (e.g. "KazinexDocuments").
- If no dedicated library exists, you can create one in SharePoint now (open SharePoint in a separate tab → Site Contents → New → Document Library → return here and refresh).
- Click Next.
Step 5: Configure the folder structure
Kazinex creates folders inside your selected library to organise files. You can customise the folder path:
| Option | Description |
|---|---|
| By Project (recommended) | Files stored in /[ProjectName]/[DocumentNumber]/[RevisionCode]/ |
| Flat | All files in the root of the selected library |
| Custom path | Specify a root folder within the library (e.g. /Kazinex/Active/) |
Recommended: use By Project — keeps each project's files in its own folder and makes files navigable in SharePoint directly.
Click Save Configuration.
Step 6: Verify the connection
- Return to Settings → Storage.
- Find the SharePoint provider — it should show a green Verified badge.
- Click Run Verification if not already done — Kazinex checks that it can read/write to the library.
If verification fails:
- Check that the authenticated account still has access to the SharePoint site
- Confirm the document library exists and is not restricted by a conditional access policy
- Re-authenticate: click Reconnect → repeat the OAuth flow
Step 7: Set SharePoint as the default provider
- In Settings → Storage, find the SharePoint provider.
- Click Set as Default.
- Confirm.
All new document uploads will now go to SharePoint. Existing uploads (if any) remain in the previous provider.
Step 8: Test with a real upload
- Navigate to Documents → New Document.
- Fill in the minimum fields (Title, Type, Status, Revision).
- Under Revision, upload a small test file (e.g. a one-page PDF).
- Save the document.
- Open the document → Revisions → click the file to download it.
If the download succeeds, SharePoint storage is working.
Verify in SharePoint: Open your SharePoint site → navigate to the KazinexDocuments library → you should see the uploaded file in the project folder.
Ongoing maintenance
SharePoint OAuth tokens expire. To avoid upload failures:
- Check the Verified badge weekly in Settings → Storage during active project periods.
- If the badge turns red: click Reconnect and re-authenticate.
- When your Microsoft 365 account's password changes or MFA is re-enrolled, you may need to re-authenticate.
What's next
- SharePoint Integration Guide — detailed guide including permissions, OAuth re-authentication, and troubleshooting
- Storage Management — org-wide storage policy, provider verification monitoring
- File Restrictions — file type and size limits for SharePoint uploads