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