Last updated: Jan 20, 2026, 08:25 AM UTC

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

  1. 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
  2. Configure API permissions:

    • Files.Read.All - Read files in all site collections
    • Sites.Read.All - Read items in all site collections
  3. Create a client secret and note the Application ID

  4. In Sasha Settings → Tools → Cloud Drive:

    • Enter the Application (Client) ID
    • Enter the Client Secret
    • Enter your Tenant ID

For Users

  1. Navigate to Settings → Tools → Cloud Drive
  2. Click Connect Microsoft 365
  3. Sign in with your Microsoft account
  4. 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

Learn More