|
| 1 | +--- |
| 2 | +title: Connect to SharePoint from Azure Logic Apps | Microsoft Docs |
| 3 | +description: Automate tasks and workflows that monitor and manage resources in SharePoint Online or SharePoint Server on premises by using Azure Logic Apps |
| 4 | +services: logic-apps |
| 5 | +ms.service: logic-apps |
| 6 | +ms.suite: integration |
| 7 | +author: ecfan |
| 8 | +ms.author: estfan |
| 9 | +ms.reviewer: klam, LADocs |
| 10 | +ms.assetid: e0ec3149-507a-409d-8e7b-d5fbded006ce |
| 11 | +ms.topic: article |
| 12 | +tags: connectors |
| 13 | +ms.date: 08/25/2018 |
| 14 | +--- |
| 15 | + |
| 16 | +# Monitor and manage SharePoint with Azure Logic Apps |
| 17 | + |
| 18 | +With Azure Logic Apps and the SharePoint connector, |
| 19 | +you can create automated tasks and workflows that |
| 20 | +monitor and manage resources, such as files, folders, |
| 21 | +lists, items, persons, and so on, in SharePoint |
| 22 | +Online or in SharePoint Server on premises, for example: |
| 23 | + |
| 24 | +* Monitor when files or items are created, changed, or deleted. |
| 25 | +* Create, get, update, or delete items. |
| 26 | +* Add, get, or delete attachments. Get the content from attachments. |
| 27 | +* Create, copy, update, or delete files. |
| 28 | +* Update file properties. Get the content, metadata, or properties for a file. |
| 29 | +* List or extract folders. |
| 30 | +* Get lists or list views. |
| 31 | +* Set content approval status. |
| 32 | +* Resolve persons. |
| 33 | +* Send HTTP requests to SharePoint. |
| 34 | +* Get entity values. |
| 35 | + |
| 36 | +You can use triggers that get responses from SharePoint and |
| 37 | +make the output available to other actions. You can use actions |
| 38 | +in your logic apps to perform tasks in SharePoint. You can also |
| 39 | +have other actions use the output from SharePoint actions. |
| 40 | +For example, if you regularly fetch files from SharePoint, |
| 41 | +you can send messages to your team by using the Slack connector. |
| 42 | +If you're new to logic apps, review [What is Azure Logic Apps?](../logic-apps/logic-apps-overview.md) |
| 43 | + |
| 44 | +## Prerequisites |
| 45 | + |
| 46 | +* An Azure subscription. If you don't have an Azure subscription, |
| 47 | +<a href="https://azure.microsoft.com/free/" target="_blank">sign up for a free Azure account</a>. |
| 48 | + |
| 49 | +* Your SharePoint site address and user credentials |
| 50 | + |
| 51 | + Your credentials authorize your logic app to create |
| 52 | + a connection and access your SharePoint account. |
| 53 | + |
| 54 | +* Before you can connect logic apps to on-premises |
| 55 | +systems such as SharePoint Server, you need to |
| 56 | +[install and set up an on-premises data gateway](../logic-apps/logic-apps-gateway-install.md). |
| 57 | +That way, you can specify to use your gateway installation when |
| 58 | +you create the SharePoint Server connection for your logic app. |
| 59 | + |
| 60 | +* Basic knowledge about |
| 61 | +[how to create logic apps](../logic-apps/quickstart-create-first-logic-app-workflow.md) |
| 62 | + |
| 63 | +* The logic app where you want to access your SharePoint account. |
| 64 | +To start with a SharePoint trigger, [create a blank logic app](../logic-apps/quickstart-create-first-logic-app-workflow.md). |
| 65 | +To use a SharePoint action, start your logic app with a trigger, |
| 66 | +such as a Salesforce trigger, if you have a Salesforce account. |
| 67 | + |
| 68 | + For example, you can start your logic app with the |
| 69 | + **When a record is created** Salesforce trigger. |
| 70 | + This trigger fires each time that a new record, |
| 71 | + such as a lead, is created in Salesforce. |
| 72 | + You can then follow this trigger with the SharePoint |
| 73 | + **Create file** action. That way, when the new |
| 74 | + record is created, your logic app creates a file |
| 75 | + in SharePoint with information about that new record. |
| 76 | + |
| 77 | +## Connect to SharePoint |
| 78 | + |
| 79 | +[!INCLUDE [Create connection general intro](../../includes/connectors-create-connection-general-intro.md)] |
| 80 | + |
| 81 | +1. Sign in to the [Azure portal](https://portal.azure.com), |
| 82 | +and open your logic app in Logic App Designer, if not open already. |
| 83 | + |
| 84 | +1. For blank logic apps, in the search box, |
| 85 | +enter "sharepoint" as your filter. |
| 86 | +Under the triggers list, select the trigger you want. |
| 87 | + |
| 88 | + -or- |
| 89 | + |
| 90 | + For existing logic apps, under the last step where |
| 91 | + you want to add a SharePoint action, choose **New step**. |
| 92 | + In the search box, enter "sharepoint" as your filter. |
| 93 | + Under the actions list, select the action you want. |
| 94 | + |
| 95 | + To add an action between steps, |
| 96 | + move your pointer over the arrow between steps. |
| 97 | + Choose the plus sign (**+**) that appears, |
| 98 | + and then select **Add an action**. |
| 99 | + |
| 100 | +1. When you're prompted to sign in, |
| 101 | +provide the necessary connection information. |
| 102 | +If you're using SharePoint Server, |
| 103 | +make sure you select **Connect via on-premise data gateway**. |
| 104 | +When you're done, choose **Create**. |
| 105 | + |
| 106 | +1. Provide the necessary details for your selected trigger |
| 107 | +or action and continue building your logic app's workflow. |
| 108 | + |
| 109 | +## Connector reference |
| 110 | + |
| 111 | +For technical details about triggers, actions, and limits, which are |
| 112 | +described by the connector's OpenAPI (formerly Swagger) description, |
| 113 | +review the connector's [reference page](/connectors/sharepoint/). |
| 114 | + |
| 115 | +## Get support |
| 116 | + |
| 117 | +* For questions, visit the [Azure Logic Apps forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=azurelogicapps). |
| 118 | +* To submit or vote on feature ideas, visit the [Logic Apps user feedback site](http://aka.ms/logicapps-wish). |
| 119 | + |
| 120 | +## Next steps |
| 121 | + |
| 122 | +* Learn about other [Logic Apps connectors](../connectors/apis-list.md) |
0 commit comments