Skip to content

Commit 73b10cf

Browse files
authored
Merge pull request #2948 from MicrosoftDocs/master-jdaly-hide-connection-dynamics-crmonline
Hide deprecated Dyn365 connector - 1856280
2 parents 6a0cc03 + 1bfe772 commit 73b10cf

18 files changed

+12
-111
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,6 @@
223223
href: canvas-apps/use-native-cds-connector.md
224224
- name: Cloud storage
225225
href: canvas-apps/connections/cloud-storage-blob-connections.md
226-
- name: Dynamics 365
227-
href: canvas-apps/connections/connection-dynamics-crmonline.md
228226
- name: Dynamics AX
229227
href: canvas-apps/connections/connection-dynamicsax.md
230228
- name: Excel

powerapps-docs/maker/canvas-apps/connections-list.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,11 @@ This table has links to more information about our most popular connectors. For
6161
|   |   |   |   |   |
6262
| --- | --- | --- | --- | --- |
6363
| ![Common Data Service](./media/connections-list/cdm.png) |[**Common Data Service**](connections/connection-common-data-service.md) |  |![Cloud storage](./media/connections-list/onedrive.png) |[**Cloud storage**](connections/cloud-storage-blob-connections.md) ** |
64-
| ![Dynamics 365](./media/connections-list/dynamics-365.png) |[**Dynamics 365**](connections/connection-dynamics-crmonline.md) |  | ![Dynamics AX](./media/connections-list/dynamics-ax.png) |[**Dynamics AX**](connections/connection-dynamicsax.md) |
65-
|![Excel](./media/connections-list/excel.png) |[**Excel**](connections/connection-excel.md) |  |![Microsoft Translator](./media/connections-list/microsoft-translator.png) |[**Microsoft Translator**](connections/connection-microsoft-translator.md) |
66-
|![Office 365 Outlook](./media/connections-list/office365.png) |[**Office 365 Outlook**](connections/connection-office365-outlook.md) |  | ![Office 365 Users](./media/connections-list/office365.png) |[**Office 365 Users**](connections/connection-office365-users.md) |
67-
| ![Oracle](./media/connections-list/oracle-icon.png) |[**Oracle**](connections/connection-oracledb.md) |  | ![Power BI](./media/connections-list/powerbi.png) |[**Power BI**](connections/connection-powerbi.md) |
68-
| ![SharePoint](./media/connections-list/sharepoint.png) |[**SharePoint**](connections/connection-sharepoint-online.md) |  | ![SQL Server](./media/connections-list/sql.png) |[**SQL Server**](connections/connection-azure-sqldatabase.md)
69-
|![Twitter](./media/connections-list/twitter.png) |[**Twitter**](connections/connection-twitter.md)
64+
| ![Dynamics AX](./media/connections-list/dynamics-ax.png) |[**Dynamics AX**](connections/connection-dynamicsax.md)|  |![Excel](./media/connections-list/excel.png) |[**Excel**](connections/connection-excel.md)|
65+
| ![Microsoft Translator](./media/connections-list/microsoft-translator.png) |[**Microsoft Translator**](connections/connection-microsoft-translator.md)|  | ![Office 365 Outlook](./media/connections-list/office365.png) |[**Office 365 Outlook**](connections/connection-office365-outlook.md)|
66+
| ![Office 365 Users](./media/connections-list/office365.png) |[**Office 365 Users**](connections/connection-office365-users.md) |  | ![Oracle](./media/connections-list/oracle-icon.png) |[**Oracle**](connections/connection-oracledb.md)|
67+
| ![Power BI](./media/connections-list/powerbi.png) |[**Power BI**](connections/connection-powerbi.md) |  | ![SharePoint](./media/connections-list/sharepoint.png) |[**SharePoint**](connections/connection-sharepoint-online.md) |
68+
| ![SQL Server](./media/connections-list/sql.png) |[**SQL Server**](connections/connection-azure-sqldatabase.md) |  | ![Twitter](./media/connections-list/twitter.png) |[**Twitter**](connections/connection-twitter.md) |
7069

7170
** Applies to Azure Blob, Box, Dropbox, Google Drive, OneDrive and OneDrive for Business
7271

Lines changed: 7 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Overview of the Dynamics 365 connection | Microsoft Docs
33
description: Create an app for managing data in Dynamics 365
4-
author: Mattp123
4+
author: JimDaly
55
manager: kvivek
66
ms.service: powerapps
77
ms.topic: reference
88
ms.custom: canvas
9-
ms.date: 11/27/2019
9+
ms.date: 05/31/2020
1010
ms.author: matp
1111
ms.reviewer: tapanm
1212
search.audienceType:
@@ -15,105 +15,9 @@ search.app:
1515
- PowerApps
1616
---
1717
# Connect to Dynamics 365 from Power Apps
18-
Power Apps lets you quickly generate, customize, share, and run mobile apps with little or no code. By using the Dynamics 365 connector, you can create useful mobile apps to share with your organization in just a few minutes.
19-
20-
By following the steps in this topic, you'll create an app in which users can browse, add, delete, and make updates to contacts in model-driven apps in Dynamics 365 (Dynamics 365 Sales, Dynamics 365 Customer Service, Dynamics 365 Field Service, Dynamics 365 Marketing, and Dynamics 365 Project Service Automation). Users can run the app [in a browser](../../../user/run-app-browser.md) or [on a mobile device](../../../user/run-app-client.md) such as a phone.
21-
22-
> [!NOTE]
23-
> We recommend using a more robust [Common Data Service connector](connection-common-data-service.md) when connecting to model-driven apps in Dynamics 365.
24-
25-
## Prerequisite
26-
To follow this tutorial, you need a Microsoft Office 365 account that includes a Dynamics 365 subscription.
27-
28-
## Create a connection
29-
1. [Sign in to Power Apps](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc).
30-
2. In the left navigation pane, click **Connections**.
31-
32-
![Connection option on File menu](./media/connection-dynamics-crmonline/file-connections.png)
33-
3. Near the upper-right corner, click **New connection**.
34-
35-
![New connection](./media/connection-dynamics-crmonline/new-connection.png)
36-
4. In the list of connections, click **Dynamics 365**.
37-
38-
![Connection option on File menu](./media/connection-dynamics-crmonline/connection-d365.png)
39-
5. In the dialog box, click **Create**.
40-
41-
![Create connection](./media/connection-dynamics-crmonline/create-connection.png)
42-
6. In the **Sign in to your account** dialog box, provide your credentials for the Dynamics 365 (online) tenant.
43-
44-
A connection is created.
45-
46-
## Generate an app automatically
47-
1. [Sign in to Power Apps](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), and then click **New app** near the lower-left corner.
48-
49-
![New app](./media/connection-dynamics-crmonline/new-app.png)
50-
2. Under **Start with your data**, click **Phone layout** on the **Dynamics 365** tile.
51-
52-
![Power Apps select Dynamics 365 connector](./media/connection-dynamics-crmonline/phonelayout.png)
53-
3. Under **Connections**, select the connection that you want, and then choose a dataset, which corresponds to the instance of Dynamics 365 that you'll manage in the app.
54-
4. Under **Choose a table**, click **Contacts**, and then click **Connect**.
55-
5. In the left navigation bar, click or tap an icon in the upper-right corner to switch to the thumbnail view.
56-
57-
![Toggle the views](./media/connection-dynamics-crmonline/toggle-view.png)
58-
59-
Power Apps generates a three-screen app based on contact records.
60-
61-
* **BrowseScreen1**. This screen appears by default when users open the app. In the left navigation bar, a thumbnail for this screen appears above the other two screens.
62-
* **DetailScreen1**. This screen appears when users click an item in **BrowseScreen1**. In the left navigation bar, a thumbnail for **DetailScreen1** appears between the other two screens.
63-
* **EditScreen1**. This screen appears when users click the edit icon for an item in **DetailScreen1**. In the left navigation bar, a thumbnail for **EditScreen1** appears under the other two screens.
64-
65-
The app can run in its initial state, but we can make it more useful by refining the information on each screen.
66-
67-
## Customize BrowseScreen1
68-
In this procedure, you'll configure **BrowseScreen1** to show the first and last names of each contact. The data will be sorted alphabetically by last name and include images in a two-column grid.
69-
70-
1. In **BrowseScreen1**, select the gallery by clicking any record in it except the first one.
71-
72-
![Select layout](./media/connection-dynamics-crmonline/select-gallery.png)
73-
2. In the right-hand pane, click or tap the **Data** tab.
74-
3. In the list of layouts, click or tap the one that shows pictures and text in a two-column grid.
75-
76-
You might need to scroll down to show this option.
77-
78-
![Select layout](./media/connection-dynamics-crmonline/select-layout.png)
79-
4. Copy this formula and then, with the gallery still selected, paste the formula in the formula bar (to the right of the **fx** button):
80-
81-
`SortByColumns(Search(Filter(Contacts,statuscode=1), TextSearchBox1.Text, "lastname"), "lastname", If(SortDescending1, Descending, Ascending))`
82-
5. In the right-hand pane, set the top drop-down list to **firstname** and the middle drop-down list to **lastname**.
83-
84-
![Select Body1](./media/connection-dynamics-crmonline/firstname-lastname.png)
85-
6. (optional) On the **File** menu, click **Save as**, type a name for the app, and then click **Save**.
86-
87-
By default, the app will be saved to the cloud. Click **This computer** to save your app locally.
88-
89-
## Customize DetailsScreen1 and EditScreen1
90-
1. In the left navigation bar, click the middle thumbnail to select **DetailsScreen1**.
91-
2. On **DetailScreen1**, click anywhere below the title bar to show customization options in the right-hand pane.
92-
93-
![Show form customization](./media/connection-dynamics-crmonline/show-customization.png)
94-
3. In the right-hand pane, click the eye icon for each field to hide it.
95-
96-
![Hide fields](./media/connection-dynamics-crmonline/hide-field.png)
97-
4. Click anywhere under the title bar to select **Form1**.
98-
99-
![Select Form1](./media/connection-dynamics-crmonline/select-form1.png)
100-
5. In the right-hand pane, click the eye icon for each of these fields, so that the screen will show an image (if the table contains one) and four other fields for each contact:
101-
102-
* **entityimage**
103-
* **firstname**
104-
* **lastname**
105-
* **mobilephone**
106-
* **emailaddress1**
107-
108-
The right-hand pane should resemble this graphic:
109-
110-
![Select Form1](./media/connection-dynamics-crmonline/show-fields.png)
111-
6. Select **EditScreen1** by clicking the bottom thumbnail in the left navigation bar.
112-
7. Repeat the steps in this procedure to customize **EditScreen1** the same way as **DetailsScreen1**.
113-
8. (optional) Save the app.
114-
115-
## Next steps
116-
* Test your app in Preview mode by clicking **BrowseScreen1** in the left navigation bar and then pressing F5 or clicking ![Preview mode](./media/connection-dynamics-crmonline/runpowerapp.png) near the upper-right corner.
117-
* [Share your app](../share-app.md).
118-
* [Add a second data source](../add-data-connection.md).
11918

19+
> [!IMPORTANT]
20+
> The Dynamics 365 connector is deprecated. For more information, see [Dynamics 365 connector deprecation announcement](/power-platform/important-changes-coming#dynamics-365-connector-is-deprecated).
21+
>
22+
> - Use the [Common Data Service connector](connection-common-data-service.md) when connecting to the Common Data Service used for Microsoft Dynamics 365 Sales, Microsoft Dynamics 365 Customer Service, Microsoft Dynamics 365 Field Service, Microsoft Dynamics 365 Marketing, and Microsoft Dynamics 365 Project Service Automation.
23+
> - To convert your app that uses the deprecated Dynamics 365 connector, go to [Converting canvas apps with the Dynamics 365 connector](../use-native-cds-connector.md#converting-canvas-apps-with-the-dynamics-365-connector).

0 commit comments

Comments
 (0)