Choose files in your OneDrive and the AI answers from them. PALMS checks each file every hour and reads it again only when it changed.
Only Owners and Admins can connect Microsoft, in Integrations → OneDrive.
Overview
| You want to… | Do this |
|---|---|
| Let the AI answer from a Word document or PDF kept in OneDrive | Connect Microsoft, then add the file |
| Stop the AI from using a file | Remove it on the OneDrive page or in AI agents → Knowledge base |
| Know why a file shows Problem | See Troubleshooting |
Connect Microsoft
Before you start: a Microsoft account — personal (Outlook.com, Hotmail) or work/school with Microsoft 365. For a work or school account, your Microsoft 365 administrator may need to approve PALMS first.
- Open Integrations → OneDrive and click Continue with Microsoft.
- Choose the account on Microsoft’s page and sign in.
- Microsoft asks to let PALMS read your files and sign you in and read your profile. Click Accept.
- You come back to PALMS with Microsoft is connected.
If you see “Need admin approval”, your organisation only allows apps its administrator approved. Send your administrator this page; they can approve PALMS for everyone in the Microsoft Entra admin centre (Enterprise applications → Consent and permissions) or by signing in once and ticking Consent on behalf of your organization.
Add files
- Click Choose files…. A window shows your OneDrive, folders first.
- Open folders, tick up to 20 files, and click Add N files. Use Back to go up a folder.
- Each file appears in Files in the knowledge base as Reading, then In sync.
PALMS can read PDF, Word (.docx), text and Markdown files up to 20 MB. Other files are greyed out.
How files stay in sync
- Every hour PALMS asks Microsoft whether the file changed. If it did, PALMS reads it again and the AI uses the new text within minutes.
- Read again forces a fresh read now. Open opens the file in OneDrive.
- If a file can’t be read any more (deleted, moved, access removed, Microsoft disconnected), it shows Problem with the reason and the person who added it gets a notification. The AI keeps the last version it read until you remove it.
Permissions and privacy
PALMS asks Microsoft for Files.Read (read your files) and User.Read (your name and email), plus offline_access so it can check files while you’re away. It never changes or deletes files. Tokens are stored encrypted. Disconnect removes the saved sign-in; to remove PALMS completely, also remove it at myaccount.microsoft.com → Privacy → Apps and services (personal) or myapps.microsoft.com (work).
Troubleshooting
| You see | Why | What to do |
|---|---|---|
| “Signing in with Microsoft isn’t switched on for PALMS yet” | The server has no Microsoft sign-in keys. | Your PALMS administrator adds them (see the setup guide). |
| “Need admin approval” / “Your administrator must approve PALMS” | Your organisation requires admin consent. | Ask your Microsoft 365 administrator to approve PALMS (see Connect). |
| “Blocked by your organisation’s access policy” | A Conditional Access policy blocks the sign-in. | Ask your administrator to allow PALMS or sign in from an allowed device. |
| A file shows Problem: “was deleted or moved” | The file is in the recycle bin or was removed. | Restore it and click Read again, or remove it. |
| A file shows Problem: “isn’t connected” / “sign in again” | Microsoft was disconnected or the password changed. | Reconnect Microsoft, then click Read again. |
| “Larger than 20 MB” | The file is too big. | Split it into smaller documents. |