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

# SharePoint Query and SharePoint OAuth re-authorization

SharePoint OAuth is no longer supported in the [SharePoint Query](https://docs.maia.ai/docs/components/sharepoint-query.md) component. Existing OAuth connections continue to work, but if you re-authorize an OAuth connection, any pipelines that use this connection will fail when they run. We recommend upgrading to the [SharePoint Load](https://docs.maia.ai/docs/components/sharepoint-load.md) component.

***

## Who's affected

This change affects you if you use the [SharePoint Query](https://docs.maia.ai/docs/components/sharepoint-query.md) component with a SharePoint OAuth connection. SharePoint Query is a deprecated component that connects through the CData SharePoint JDBC driver.

The [SharePoint Load](https://docs.maia.ai/docs/components/sharepoint-load.md) component isn't affected.

***

## What happens

If you re-authorize an existing SharePoint OAuth connection, validating or running a pipeline containing a SharePoint Query component that uses this OAuth connection will fail before any data is extracted. You'll see the following error message:

```text theme={null}
'sharepointscope' is not a valid connection property.
```

For more information, read [SharePoint scope is not a valid connection property](https://docs.maia.ai/docs/errors/sharepointscope-is-not-a-valid-connection-property.md).

The error occurs while the component looks up schemas and metadata, so the pipeline won't run successfully. SharePoint OAuth connections that you haven't re-authorized will continue to work until you re-authorize them.

***

## What you need to do

* Don't re-authorize SharePoint OAuth connections that are used by SharePoint Query components.
* Upgrade your pipelines to the [SharePoint Load](https://docs.maia.ai/docs/components/sharepoint-load.md) component, which isn't affected and is the supported way to read data from SharePoint in Maia.

If you have any questions about this change, contact [Matillion support](https://docs.maia.ai/docs/guides/getting-support.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.