# 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="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FaFlOWzcbC35RErQOHJM6%2Fa2d-1.png?alt=media&#x26;token=ddd52a0c-9c72-48f9-815f-2891322426f2" 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="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fkf8kCzMRGwJ7lEbAuToc%2Fa2d-2.png?alt=media&#x26;token=06a173a1-b98a-44c1-9eee-c777495491ec" 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="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FgAFyBtNeT8if626oBxdD%2Fa2d-3.png?alt=media&#x26;token=fd5ac4be-303c-4034-8f0e-4f4e02855d88" 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="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FMkWDY8Zd8gENNglppPyr%2Fa2d-4.png?alt=media&#x26;token=0da50923-93b5-4275-804f-747a759a204e" 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 %}
