Skip to content

OneDrive


Overview

Your setup guides, decision records, and runbooks already explain how things work. Connect OneDrive to CodeCortex, choose the folders and files to index, and developers can ask questions about them in Enterprise Search.

Only the folders and files you select are indexed. Everything else in your OneDrive stays out of CodeCortex.

Prerequisites

Step 1: Set Up CodeCortex

Set up CodeCortex by following the Overview guide.

Step 2: Check Your Role

Only workspace or product admins can connect OneDrive and change indexed content.

Connect OneDrive

You can connect OneDrive in the CodeCortex setup wizard, or later from the Integrations page.

Step 1: Sign In with Microsoft

  • In the setup wizard: Choose OneDrive on the Select your tools screen, then select Next on the Connect OneDrive step.
  • From Integrations: Open Integrations in the CodeCortex sidebar, and connect OneDrive.

You are taken to Microsoft in the same tab.

Step 2: Allow Access

Sign in with your Microsoft account and allow CloudAEye to access your OneDrive. You are returned to CloudAEye.

Step 3: Choose Folders and Files

Expand folders and select the folders and files CodeCortex should index.

  • Selecting a folder includes the files inside it.

Step 4: Start Indexing

  • In the setup wizard: Select Next to start indexing.
  • From Integrations: Select Save changes.

The selected content is queued for indexing. Large folders take longer.

Supported Files

Type Formats
Documents PDF, Word (.docx)
Text Markdown, reStructuredText, plain text, logs
Structured data CSV, JSON, YAML, XML

Excel and PowerPoint files are not indexed.

Manage Indexed Content

Open Integrations in the CodeCortex sidebar, and open OneDrive. The page lists your files and folders with these columns:

Column Description
Name The file or folder name. Expand a folder to see its contents.
Type The file type, for example Word, PDF, or Folder.
Last modified When the file was last changed in OneDrive.
Size The file size.
Indexing status Where the file is in the indexing process. See Indexing Status.

To add or remove content:

  1. Select the items to add, and clear the items to remove.
  2. Select Save changes, or select Discard changes to undo your selections.
  3. If you are removing items, review the list in the Remove indexed content? dialog, then select Remove and save changes.

Removed files are deleted from CloudAEye's index. The original files in OneDrive are not changed.

Reconnect OneDrive

If the connection expires or access is removed, the OneDrive page shows a notice with a Reconnect button, and affected files show Reconnect and retry. Your indexed content and saved selections are kept. Select Reconnect and sign in with Microsoft again.

Troubleshooting

Problem What to do
Could not load OneDrive files. Select Retry. If it keeps failing, reconnect OneDrive.
A file shows Failed. Check that the file is a supported type and is not empty.
You can't select or save changes. Only workspace or product admins can change indexed content. Ask an admin.
A file can't be changed. The file is still being indexed. Wait for indexing to finish.
Indexing status is unavailable. Select Retry. Your pending changes are kept.

Next Steps