Skip to content

Commit 1b10d7c

Browse files
Merge pull request #1871 from MicrosoftDocs/main638846713719462598sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 320dc24 + db64f36 commit 1b10d7c

3 files changed

Lines changed: 22 additions & 8 deletions

File tree

docs/data-factory/data-source-management.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: Data source management
33
description: Learn how to add and remove data sources, and how to manage users.
44
ms.reviewer: whhender
5-
ms.author: mideboer
6-
author: miquelladeboer
5+
ms.author: abnarain
6+
author: abnarain
77
ms.topic: how-to
8-
ms.date: 12/18/2024
8+
ms.date: 6/4/2025
99
ms.custom: connectors
1010
---
1111

@@ -49,6 +49,17 @@ ms.custom: connectors
4949

5050
You can now use this data source to include data from Azure SQL in the supported [!INCLUDE [product-name](../includes/product-name.md)] items.
5151

52+
### Allow cloud connection usage on gateway
53+
54+
At the bottom of the connection creation dialog a new setting with the label **This connection can be used with on-premise data gateways and VNet data gateways** is present. Checking the box for this setting enables you
55+
56+
**When the setting is left unchecked** for the evaluation of a Fabric item that uses a gateway, the evaluation fails as the shareable cloud connection doesn't have the permissions to be used in the context of a gateway evaluation.
57+
In contrast, **when the setting is checked** the shareable cloud connection can be used by gateway based evaluations.
58+
59+
>[!CAUTION]
60+
>The *allow connection usage on gateway* setting is present when creating cloud connections through Dataflow Gen2, but not currently enforced. This means that all shareable cloud connections will be used through a gateway if a gateway is present.
61+
>We're aware of this behavior and are working on a fix to only allow the usage of this connection on a gateway when this setting is checked.
62+
5263
## Remove a data source
5364

5465
You can remove a data source if you no longer use it. If you remove a data source, any items that rely on that data source no longer work.
@@ -164,16 +175,16 @@ By default, any user in Fabric can share their connections if they have the foll
164175

165176
Sharing a connection in Fabric is sometimes needed for collaboration within the same workload or when sharing the workload with others. Connection sharing in Fabric makes this easy by providing a secure way to share connections with others for collaboration, but without exposing the secrets at any time. These connections can only be used within the Fabric environment.
166177

167-
If your organization does not allow for connection sharing or wants to limit the sharing of connections, a tenant admin can restrict sharing as a tenant policy. The policy allows you to block sharing within the entire tenant.
178+
If your organization doesn't allow for connection sharing or wants to limit the sharing of connections, a tenant admin can restrict sharing as a tenant policy. The policy allows you to block sharing within the entire tenant.
168179

169180
> [!NOTE]
170181
> This restriction can result in limitations of multiple users being unable to collaborate within the same workloads.
171-
> Disabling connection sharing does not impact connections that have already been shared.
182+
> Disabling connection sharing doesn't impact connections that have already been shared.
172183
173184
How to enable the setting
174185
1. You must have sufficient privileges from the Power BI Service Administrator role.
175186
3. In Power BI or Fabric go to settings and the manage connections and gateways page.
176-
4. In the top right, turn on the toggle for tenant administation.
187+
4. In the top right, turn on the toggle for tenant administration.
177188

178189
:::image type="content" source="media/data-source-management/tenant-administration.png" alt-text="Screenshot showing the tenant administration toggle in the Manage connections and gateways page.":::
179190

@@ -185,6 +196,7 @@ How to enable the setting
185196

186197
:::image type="content" source="media/data-source-management/manage-cloud-connection-sharing-on.png" alt-text="Screenshot showing the manage cloud connection sharing feature toggled on.":::
187198

199+
188200
## Related content
189201

190202
- [Connectors overview](connector-overview.md)

docs/data-science/how-to-consume-data-agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ To make the Fabric data agent tool available to your Azure AI agent, use a conne
113113

114114
```python
115115
# The Fabric connection ID can be found in the Azure AI Foundry project as a property of the Fabric tool
116-
# Your connection ID is in the format /subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.MachineLearningServices/workspaces/<your-project-name>/connections/<your-fabric-connection-name>
116+
# Your connection ID is in the format /subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.CognitiveServices/accounts/<ai-foundry-resource-name>/projects/<your-project-name>/connections/<your-fabric-connection-name>
117117
conn_id = "your-connection-id"
118118

119119
# Initialize agent Fabric tool and add the connection ID
@@ -171,4 +171,4 @@ print(f"Messages: {messages}")
171171
## Related content
172172

173173
- [Data agent concept](concept-data-agent.md)
174-
- [Data agent scenario](data-agent-scenario.md)
174+
- [Data agent scenario](data-agent-scenario.md)

docs/data-science/tutorial-data-science-explore-notebook.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ Show the distribution of exited versus nonexited customers across the categorica
165165

166166
```python
167167
attr_list = ['Geography', 'Gender', 'HasCrCard', 'IsActiveMember', 'NumOfProducts', 'Tenure']
168+
df_clean['Exited'] = df_clean['Exited'].astype(str)
168169
fig, axarr = plt.subplots(2, 3, figsize=(15, 4))
169170
for ind, item in enumerate (attr_list):
170171
sns.countplot(x = item, hue = 'Exited', data = df_clean, ax = axarr[ind%2][ind//2])
@@ -198,6 +199,7 @@ plt.show()
198199
Perform feature engineering to generate new attributes based on current attributes:
199200

200201
```python
202+
df_clean['Tenure'] = df_clean['Tenure'].astype(int)
201203
df_clean["NewTenure"] = df_clean["Tenure"]/df_clean["Age"]
202204
df_clean["NewCreditsScore"] = pd.qcut(df_clean['CreditScore'], 6, labels = [1, 2, 3, 4, 5, 6])
203205
df_clean["NewAgeScore"] = pd.qcut(df_clean['Age'], 8, labels = [1, 2, 3, 4, 5, 6, 7, 8])

0 commit comments

Comments
 (0)