Open entity data in Excel
By opening entity data in Microsoft Excel, you can quickly and easily view and edit data by using the Microsoft PowerApps Excel Add-in. The PowerApps Excel Add-in requires Microsoft Excel 2016.
If your Microsoft Azure Active Directory (Azure AD) tenant is configured to use Active Directory Federation Services (AD FS), you must make sure that the May 2016 update has been applied, so that the Excel Add-in can correctly sign you in.
Open entity data in Excel
- On powerapps.com, expand the Common Data Service section and click or tap Entities in the left navigation pane. All the entities are shown.
- Click the ellipsis (...) to the right of the entity that you're interested in.
- Click Open in Excel, and then open the workbook that is generated. This workbook has binding information for the entity, a pointer to your environment, and a pointer to the PowerApps Excel Add-in.
- In Excel, click Enable editing to enable the PowerApps Excel Add-in to run. The Excel Add-in runs in a pane on the right side of the Excel window.
- If this is the first time that you've run the PowerApps Excel Add-in, click Trust this Add-in to allow the Excel Add-in to run.
- If you're prompted to sign in, click Sign in, and then sign in by using the same credentials that you used on powerapps.com. The Excel Add-in will use a previous sign-in context and automatically sign you in if it can. Therefore, verify the user name in the upper right of the Excel Add-in.
The Excel Add-in automatically reads the data for the entity that you selected. Note that there will be no data in the workbook until the Excel Add-in reads it in.
View and refresh entity data in Excel
After the Excel Add-in reads entity data into the workbook, you can update the data at any time by clicking Refresh in the Excel Add-in.
Edit entity data in Excel
You can change entity data as you require and then publish it back by clicking Publish in the Excel Add-in.
To edit a record, select a cell in the worksheet, and then change the cell value.
To add a new record, follow one of these steps:
- Click anywhere in the worksheet, and then click New in the Excel Add-in.
- Click in the last row of the worksheet, and then press the Tab key until the cursor moves out of the last column of that row, and a new row is created.
- Click in the row immediately below the worksheet, and start to enter data in a cell. When you move the focus out of that cell, the worksheet expands to include the new row.
To delete a record, follow one of these steps:
- Right-click the row number next to the worksheet row to delete, and then click Delete.
- Right-click in the worksheet row to delete, and then click Delete > Table Rows.
Add or remove columns
You can use the designer to adjust the columns that are automatically added to the worksheet.
- Enable the data source designer of the Excel Add-in by clicking the Options button (the gear symbol) and then selecting the Enable design check box.
- Click Design in the Excel Add-in. All the data sources are listed.
- Next to the data source, click the Edit button (the pencil symbol).
- Adjust the list in the Selected fields field as you require:
- To add a field from the Available fields field to the Selected fields field, click the field, and then click Add. Alternatively, double-click the field.
- To remove a field from the Selected fields field, click the field, and then click Remove. Alternatively, double-click the field.
- To change the order of fields, click the field in the Selected fields field, and then click Up or Down.
- Apply your changes to the data source by clicking Update, and then click Done to exit the designer. If you added a field (column), click Refresh to pull in an updated set of data.
There are a few issues that can be resolved through some easy steps.
- If you receive a "Forbidden" message while the Excel Add-in is loading metadata, the account that is signed in to the Excel Add-in doesn't have permission to use the targeted Common Data Service database. To resolve this issue, verify that the correct user name appears in the upper right of the Excel Add-in. As required, click the user name in the upper right of the Excel Add-in, sign out, and then sign back in.
- If a blank webpage opens during the sign-in process, the account requires AD FS, but the version of Excel that is running the Add-in isn't recent enough to load the sign-in dialog box. As required, update the version of Excel that you're using. To update the version of Excel, use the Office deployment tool to move from the deferred channel to the current channel.
If you encounter an issue that isn't described here, contact us via the support pages.