SharePoint & OneDrive
Access your Microsoft 365 document libraries directly from Sasha. Your files stay where they are—Sasha connects to them securely.
What You Can Do
- Browse SharePoint sites and document libraries
- Search across your Microsoft 365 content
- Read documents, spreadsheets, and presentations
- Reference files in conversations without downloading
Prerequisites
- Microsoft 365 account with SharePoint access
- Azure AD app registration (admin setup required)
- OAuth consent for the Sasha application
Setup
For Administrators
Register an Azure AD application:
- Go to Azure Portal → App registrations → New registration
- Name: "Sasha Studio"
- Redirect URI: Your Sasha instance URL +
/api/oauth/microsoft/callback
Configure API permissions:
Files.Read.All- Read files in all site collectionsSites.Read.All- Read items in all site collections
Create a client secret and note the Application ID
In Sasha Settings → Tools → Cloud Drive:
- Enter the Application (Client) ID
- Enter the Client Secret
- Enter your Tenant ID
For Users
- Navigate to Settings → Tools → Cloud Drive
- Click Connect Microsoft 365
- Sign in with your Microsoft account
- Grant access when prompted
Example Uses
"Find the Q4 budget spreadsheet in our Finance SharePoint"
"Summarize the project proposal in the Marketing team site"
"What files were updated in the Engineering library this week?"
Security Notes
- Read-only access by default
- Files are accessed through Microsoft's APIs, not copied
- Your Microsoft 365 permissions are respected
- Disconnect anytime from Settings
Troubleshooting
| Issue | Solution |
|---|---|
| "Access denied" | Verify your M365 permissions to the site |
| "Site not found" | Check the site URL is correct |
| "Token expired" | Click "Reconnect" in Settings |