Connect SharePoint to Apragya: File Documents Into the Right Site Automatically
For IT admins and document controllers who keep official files in SharePoint: have signed contracts, invoices and reports filed into the right library without manual uploads.
To connect SharePoint to Apragya, you register an app in Microsoft Entra, give it access to SharePoint sites, and enter its directory ID, client ID and client secret with your site URL. After a test, workflows can upload files, download them and list folders.
Many Indian companies treat SharePoint as the official filing cabinet. The trouble is getting documents there: someone downloads from one system and uploads to another, into whichever folder seems right.
Here is how the connection works, an illustrative example and the permissions to review.
Before and after connecting SharePoint
Connected
- Files uploaded by the workflow when the record changes.
- Folder paths built from record fields.
- The same path replaces the file on purpose.
- An app registration with its own permissions.
An example: a Gurugram facilities services company
Take an illustrative company that signs service contracts with dozens of office buildings. The legal team kept the official copies in SharePoint, one folder per client.
One site, filled from several apps
SharePoint site
One library per document type.
Signed contracts
Filed under the client's folder on signature.
Monthly invoices
Copies filed by month and client.
Audit reports
Site inspection reports filed on approval.
Folder listing
Existing files checked before upload.
Template fetch
Latest templates read from the library.
Legal stopped chasing copies. Each signed contract appeared in its client folder the day it was signed, and the finance team's invoice copies followed the same pattern by month.
How the SharePoint integration works
Step 1 of 5
Register an app
In Microsoft Entra, register an app and create a client secret.
- Register an app: In Microsoft Entra, register an app and create a client secret.
- Grant site access: Give the app permission to SharePoint sites; an admin must consent.
- Add the site: Enter the site URL, or the site ID, and an optional default library.
- Test: The test signs in as the app and reaches the site.
- Use it: Upload, download and list folders from workflow steps.
Choosing a SharePoint document library integration
Filing by hand is slow and inconsistent. A connection that runs as its own app, not as a person, keeps working when staff change and can be limited by your Microsoft admin.
Manual uploads, against Apragya with SharePoint
| Feature | Manual uploads | Apragya with SharePoint |
|---|---|---|
| Who uploads | Whoever remembers | The workflow, as an app |
| Folder choice | Personal judgement | Built from record fields |
| Timing | End of month | When the record changes |
| Credentials | A person's login | App secret, encrypted |
| Staff changes | Uploads stop | Nothing changes |
Checked against public information on 16 September 2026.
How to save files to SharePoint automatically, well
Record first
The record in Apragya stays the source; SharePoint holds the filed copy.
Check before upload
List a folder to avoid duplicates.
App permissions
Your Microsoft admin controls what the app may reach.
Role-based access
Only permitted roles manage connections in Apragya.
Agents can file
An agent's approved output can be filed as a document.
Audit log
Connection changes are recorded.
Contracts come from the contract repository; for mail and Teams on the same tenant, see connecting Microsoft 365.
Getting started
- Choose the SharePoint site and libraries to use.
- Ask your Microsoft admin to register the app and grant site access.
- Add the directory ID, client ID, secret and site URL in Apragya.
- Run the test, then upload one file from a workflow.
- Decide the folder pattern and switch on the real trigger.
Agree the folder pattern with the people who search SharePoint. They are the real users.
What it costs to start
Connecting SharePoint, answered
Does it use a person's Microsoft account?
Can we limit it to one site?
What happens if a file with the same name exists?
Is this the same as the Microsoft 365 connection?
What does it cost to start?
File your first document automatically
Register the app, add the site, and upload one file from a record.