You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Change the gateway used in a dataflow project
3
-
description: An article that describes how to change the data gateway in Power Query Online dataflow projects
3
+
description: An article that describes how to change the data gateway in Power Query Online dataflow projects.
4
4
author: ptyx507
5
5
ms.service: powerquery
6
6
ms.date: 12/6/2021
@@ -9,7 +9,7 @@ ms.reviewer: dougklo
9
9
---
10
10
# Change the gateway used in a dataflow project
11
11
12
-
When creating a new dataflow project in Power Query Online, you can select the gateway used for your specific data sources during the get data experience. This article showcases how you can modify or assign a gateway to an existing dataflow project.
12
+
When creating a new dataflow project in Power Query Online, you can select the on-premises data gateway used for your specific data sources during the get data experience. This article showcases how you can modify or assign a gateway to an existing dataflow project.
13
13
14
14
>[!NOTE]
15
15
>Before being able to change a gateway, make sure that you have the needed gateways already registered under your tenant and with access for the authors of the dataflow project. You can learn more about data gateways from [Using an on-premises data gateway in Power Platform dataflows](dataflows/using-dataflows-with-on-premises-data.md).
@@ -20,23 +20,23 @@ To showcase how to change the gateway in a dataflow project, this article uses a
20
20
21
21
This query previously used a gateway named "Gateway A" to connect to the folder. But "Gateway A" no longer has access to the folder due to new company policies. A new gateway named "Gateway B" has been registered and now has access to the folder that the query requires. The goal is to change the gateway used in this dataflow project so it uses the new "Gateway B".
22
22
23
-

23
+

24
24
25
25
To change the gateway:
26
26
27
27
1. From the **Home** tab in Power Query, select **Options**.
28
28
2. From the drop-down menu, select **Project Options**.
29
29
30
-

30
+

31
31
32
32
3. In the **Project options** dialog box, select the gateway to use for your project, in this case, Gateway B.
33
33
34
-

34
+

35
35
36
36
>[!Tip]
37
37
>If there were recent changes to your gateways, select the small refresh icon to the right of the drop-down menu to update the list of available gateways.
38
38
39
-
4. After selecting the correct gateway for the project, *Gateway B*, select **OK** to go back to the Power Query editor.
39
+
4. After selecting the correct gateway for the project, in this case Gateway B, select **OK** to go back to the Power Query editor.
40
40
41
41
## Validate your data source path
42
42
@@ -45,25 +45,25 @@ After changing your data gateway, we recommended that you check your data source
45
45
>[!Note]
46
46
>The M engine identifies a data source using a combination of its *kind* and *path*.
47
47
>
48
-
>The kind defines what connector or data source function is being used, such as SQL Server, Folder, Excel Workbook, or others.
48
+
>The kind defines what connector or data source function is being used, such as SQL Server, folder, Excel workbook, or others.
49
49
>
50
50
>The path value is derived from the required parameters of your data source function and, for this example, that would be the folder path.
51
51
52
-
The best way to validate the data source path is to go into the query where your data source function is being used and check the parameters being used for it. For this example, there is only one query that connects to a folder and this query has the **Source** step with the data source path defined in it. You can double-click the **Source** step to get the dialog that shows you the parameters used for your data source function. Make sure that the folder path, or the correct parameters for your data source function, is the correct one in relation to the gateway being used.
52
+
The best way to validate the data source path is to go into the query where your data source function is being used and check the parameters being used for it. For this example, there's only one query that connects to a folder and this query has the **Source** step with the data source path defined in it. You can double-click the **Source** step to get the dialog that indicates the parameters used for your data source function. Make sure that the folder path, or the correct parameters for your data source function, is the correct one in relation to the gateway being used.
53
53
54
54

55
55
56
56
## Modify authentication
57
57
58
-
To modify the credentials used against your data source, you can click the **Get data**button in the ribbon to launch the *Choose data source* dialog and define a new or existing connection to your data source. For the purpose of this example, the connector that will be used is the Folder connector.
58
+
To modify the credentials used against your data source, select **Get data** in the Power Query editor ribbon to launch the **Choose data source** dialog box, then define a new or existing connection to your data source. For the purpose of this example, the connector that's' used is the Folder connector.
59
59
60
-

60
+

61
61
62
-
Once in the *Connection settings* dialog, you can create a new connection or select or modify a different connection for your data source.
62
+
Once in **Connection settings**, create a new connection or select or modify a different connection for your data source.
63
63
64
-

64
+

65
65
66
-
After defining the connection details, you can click the OK button at the bottom-right corner and validate that your query is loading in the Power Query editor.
66
+
After defining the connection details, select **Next** at the bottom-right corner and validate that your query is loading in the Power Query editor.
67
67
68
68
>[!NOTE]
69
-
>This process is the same as if you were to connect again to your data source, but by doing the process again you're effectively re-defining what authentication method and credentials to use against your data source.
69
+
>This process is the same as if you were to connect again to your data source. But by doing the process again, you're effectively re-defining what authentication method and credentials to use against your data source.
0 commit comments