Connect OneDrive
What is this connection for?
Section titled “What is this connection for?”OneDrive gives ELChat controlled access to files in the connected Microsoft account for searching, viewing, text repository and sharing.
Authentication and permissions
Section titled “Authentication and permissions”The connection uses OAuth 2.0 Microsoft. You don’t copy any keys. ELChat asks:
Files.ReadWriteto read, create, update and delete files that the user has access to;offline_accessto obtain a session renewal without requesting your password again at each call.
ELChat tools do not expose deletion or modification of an existing file, even if Microsoft permission is broader.
Connect OneDrive
Section titled “Connect OneDrive”- Choose the personal or professional Microsoft account that has the useful files.
- Open Dashboard > your site > IA Actions > Connectors.
- On the OneDrive map, click Connect.
- Log on to the Microsoft page and read permissions.
- Accept, then let the browser return to ELChat.
- Check that the card displays Connect.
Check connection
Section titled “Check connection”Ask ELChat to search for a test file and then view it. Check the name and content in OneDrive. Test sharing only after this reading.
What can ELChat do with OneDrive?
Section titled “What can ELChat do with OneDrive?”| Actual capacity | Type |
|---|---|
| Find Files | Reading |
| List Recent Files | Reading |
| View a file | Reading |
| File Text | Writing |
| Share a file with an address | Writing confirmed |
ELChat does not delete files and does not modify their existing content. The repository creates a simple text file.
Reconnect or Disconnect
Section titled “Reconnect or Disconnect”Use Reconnect if Microsoft or ELChat reports an expiration. To change your account, turn off and reconnect. Also withdraw the consent of the application from the authorized Microsoft account applications to completely revoke access.
Common problems
Section titled “Common problems”Authority Required by an Administrator
Section titled “Authority Required by an Administrator”The Microsoft tenant may require the consent of an administrator. Send the application to the Microsoft 365 manager; ELChat cannot circumvent this policy.
File missing
Section titled “File missing”Check that it is in the OneDrive of the connected account and not in another user or an unaccessible SharePoint space.
##Share blocked
Microsoft 365 policies may prohibit external sharing or certain recipients. Control the tenant’s rule and file rights.
Security and limitations
Section titled “Security and limitations”Microsoft permission is extended. Use a dedicated account or limited file perimeter, check sharing policies and keep human confirmation for any sharing invitation.
Example: OneDrive test space
Connect Microsoft account that owns the folderELChat — Tests, ask for file searchpolitique-retour-2026.txt, then consult its content. Then test the repository of a fictitious text file before any invitation to share.
Test file limits the consequences of permissionFiles.ReadWrite. Research and consultation check the correct account; the repository controls writing; sharing must remain a separate step with human confirmation.