Add a data connection in PowerApps
In PowerApps, add a data connection to an existing app or to an app that you're building from scratch. In this topic, you use PowerApps Studio, but you can also use powerapps.com, as the Manage connections topic describes.
Your app's data connection can connect to SharePoint, Salesforce, OneDrive, or one of many other data sources.
Your next step after this article is to display and manage data from that data source in your app, as in these examples:
- Connect to OneDrive, and manage data in an Excel workbook in your app.
- Connect to Twilio, and send an SMS message from your app.
- Connect to SQL Server, and update a table from your app.
Most PowerApps apps use external information called Data Sources that is stored in cloud services. A common example is a table in an Excel file stored in OneDrive for Business. Apps are able to access these data sources by using Connectors.
The most common data sources are tables, which you can use to retrieve and store information. You can use connectors to data sources to read and write data in Microsoft Excel workbooks, SharePoint lists, SQL tables, and many other formats, which can be stored in cloud services such as OneDrive for Business, DropBox, SQL Server, etc.
Data sources other than tables include email, calendars, Twitter, and notifications.
Click or tap New on the File menu (near the left edge).
On the Blank app tile, click or tap Phone layout .
In the center pane, click or tap connect to data.
If the list of connections in the Data pane includes the one that you want, click or tap it to add it to the app. Otherwise, skip to the next step.
Click or tap New connection to display a list of connectors.
Scroll through the list of connectors until the type of connection that you want to create appears (for example, Office 365 Outlook), and then click or tap it.
Click or tap Create to both create the connection and add it to your app.
Some connectors, such as Microsoft Translator, require no additional steps, and you can show data from them immediately. Other connectors prompt you to provide credentials, specify a particular set of data, or perform other steps. For example, SharePoint and SQL Server require additional information before you can use them.
If you're updating an app, you might need to identify or change the source of data that appears in a gallery, a form, or another control that has an Item property. For example, you might be working on an app that someone else created, or you might want to remind yourself of a data source that you configured a while ago.
Select the control for which you want to identify the data source.
For example, select a gallery (not a control within the gallery) by clicking or tapping it in the hierarchical list of screens and controls near the left edge.
The name of the data source appears on the Properties tab of the right-hand pane.
To show more information about the data source or change it, click or tap Data in the right-hand pane.
To change the data source, click or tap the down arrow next to the data source, and then choose or create another source.