# SharePoint

Follow the steps given below to configure the **SharePoint** connector:

{% embed url="<https://youtu.be/pZzZjULKGcs>" %}

Navigate to **Attach2Dynamics app --> Connectors --> Click on New --> Fill in the following details**.

* **Name:** Give a name to the connector&#x20;
* **Connector Type:** Choose **SharePoint** from the drop-down.&#x20;
* **Default Connector:** If required, enable the checkbox to set SharePoint\_1 as the default connector.
* **SharePoint Site:** This is valid only for SharePoint. It is the location of SharePoint, where files and folders will be stored. Select the valid SharePoint site here. This field is not visible for Dropbox and Azure Blob Storage.

<figure><img src="/files/yUEKNrypNrlRhtZ4T7fY" alt="SharePoint"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note: The user has to create new SharePoint site for each new connector.**
{% endhint %}

* **Auth-Type:** You can select the value **‘App’** or **‘Credential’** here. This indicates whether **Authentication** with the connector is done through the App or Credential.
  * For SharePoint, both App and Credential are supported.
  * For Dropbox only App is valid.
  * For Azure Blob Storage only Credential is valid.   &#x20;

<figure><img src="/files/wNNO9dMOmtTGr1wdflFB" alt="SharePoint"><figcaption></figcaption></figure>

* **Credentials:** This indicates that Authentication with the connector is done through credentials i.e. ID and password. It is mandatory to enter credentials in order to create a new Connector. For authentication through credentials, for any attachment action, the name of the user appears who has authenticated the Connector. Enter a value for ID and Password/Secret. Next, authenticate the credentials.

<figure><img src="/files/1QKd5vvWwyltd3cjkPOc" alt="SharePoint"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Id and Password for SharePoint: In the Id field enter your username and in the Password/Secret field enter the password. It can be your normal Dynamics 365 CRM credentials.
{% endhint %}

* **App:** This is to provide authentication with the App. In-App authentication, if any action is performed, then the name of the logged-in user appears.

<figure><img src="/files/r9VlRF89a5D3fG8oG5IX" alt="SharePoint"><figcaption></figcaption></figure>

Whenever we create ID and Password for app in the Azure Portal, we also need to grant users access to SharePoint sites.

Below are the two ways to grant users access to SharePoint sites:

* [Grant Access to All Sites](https://docs.inogic.com/attach2dynamics/configuration/connector-configuration/sharepoint/sharepoint)
* [Grant Access to Selected Sites](https://docs.inogic.com/attach2dynamics/configuration/connector-configuration/sharepoint/sharepoint-1)

{% hint style="success" %}
For any queries, reach out to us at <crm@inogic.com>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inogic.com/attach2dynamics/configuration/connector-configuration/sharepoint.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
