> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryprofound.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting Microsoft 365 setup and Agent errors

> Fixes for common Microsoft 365 integration errors

## Connection and files

<AccordionGroup>
  <Accordion title="A node reports that the Microsoft integration needs to be re-authorized">
    Microsoft no longer accepts the credentials Profound stored, for example because your password changed or an administrator revoked Profound's access.

    Connect your Microsoft account again as described in the [Microsoft SharePoint](/integrations/microsoft-365/connect-microsoft-sharepoint-to-profound) or [Outlook](/integrations/microsoft-365/connect-microsoft-outlook-to-profound) setup guide.
  </Accordion>

  <Accordion title="The file picker reports that your tenant hasn't granted Profound access to SharePoint">
    Your Microsoft 365 tenant hasn't consented to the SharePoint permissions that Profound's app requests. Connecting your account again doesn't fix this: ask a tenant administrator to grant them, then try again.
  </Accordion>

  <Accordion title="The file field is disabled, or the picker doesn't show a file">
    * Select a **Microsoft Account** first. The field stays disabled until you do.
    * Search reaches only the files Microsoft has indexed. Use **Browse** to reach a file you created a moment ago.
    * Confirm that your Microsoft account can open the file. Profound sees only what you can see.
  </Accordion>

  <Accordion title="A node reports that a file was not found">
    Check that the link points to the file itself and that the file hasn't been moved or renamed. A Word document must be a `.docx` or `.docm` file, a workbook a `.xlsx` or `.xlsm` file, and a presentation a `.pptx` file.
  </Accordion>

  <Accordion title="A node reports that Microsoft is rate limiting requests">
    Microsoft limits how many requests it accepts in a period of time. Wait, then run the Agent again.
  </Accordion>

  <Accordion title="A node reports that the requested Microsoft item was not found">
    The node can't find the folder or the document you're trying to write to. Use **Browse folders in OneDrive or SharePoint** to select a valid folder or document.
  </Accordion>
</AccordionGroup>

## Outlook

<AccordionGroup>
  <Accordion title="Outlook refuses the sender address">
    The **From** address must be the connected mailbox's own address or one of its aliases. Shared mailboxes and other users' mailboxes aren't supported. Leave **From** empty to send as the connected account.
  </Accordion>

  <Accordion title="The send fails because of a recipient address">
    Every address under **To**, **Cc**, and **Bcc** must be valid, and a single email can have up to 500 recipients across the three fields combined. Remove or correct the address and run the node again.
  </Accordion>
</AccordionGroup>

## Word

<AccordionGroup>
  <Accordion title="A created Word document loses its tables or images">
    This is expected. [**Create Document**](/integrations/microsoft-365/using-word-in-agents#create-document) keeps headings, lists, bold, italic, and links, and turns tables, code blocks, and images into plain text.
  </Accordion>

  <Accordion title="A document is too large to read">
    [**Get Document**](/integrations/microsoft-365/using-word-in-agents#get-document) refuses a file past its size limit rather than returning part of it. Split the document, or copy the pages you need into a smaller file.
  </Accordion>
</AccordionGroup>

## Excel

<AccordionGroup>
  <Accordion title="Get Row reports that a row number is required">
    In [**Get Row**](/integrations/microsoft-365/using-excel-in-agents#get-row), set **Row selection** to **Specific row** and enter the **Row number**, or change the selection to **First row** or **Last row**.
  </Accordion>

  <Accordion title="Two Agent steps append to the same workbook at once">
    Excel can't safely add rows from two sources at the same time, so Profound waits for the first write to finish before it starts the second. If the wait takes too long, the node reports that another append to the workbook is in progress, and nothing is written. Run the step again, or combine the rows into a single [**Write Rows**](/integrations/microsoft-365/using-excel-in-agents#write-rows) node instead of several.
  </Accordion>

  <Accordion title="A read is refused for being larger than one response serves">
    The range holds more data than [**Get Values**](/integrations/microsoft-365/using-excel-in-agents#get-values) or **Get Row** returns in one call. Narrow the **Range**, or read the worksheet in parts.
  </Accordion>

  <Accordion title="A number or a formula is written to the worksheet as text">
    In the node settings, set **Value property** to **Values**, which interprets each value as typed. Use **Formulas** when you want the value written as a formula.
  </Accordion>

  <Accordion title="A workbook has no visible worksheet">
    The node uses the first visible worksheet when **Worksheet name** is empty. If every worksheet is hidden, enter the name of the worksheet to use.
  </Accordion>

  <Accordion title="A write node reports a value error">
    The data a node attempts to write isn't in the correct format. To see the expected format, clear the data field (usually **Rows** or **Row data**) and read the placeholder text.
  </Accordion>
</AccordionGroup>

## PowerPoint

<AccordionGroup>
  <Accordion title="A presentation is too large to read">
    [**Get Content**](/integrations/microsoft-365/using-powerpoint-in-agents#get-content) refuses a file past its size limit rather than returning part of it. Split the presentation, or copy the slides you need into a smaller file.
  </Accordion>
</AccordionGroup>
