Skip to content

Commit 55c69a5

Browse files
Merge pull request #6275 from CarlOchs/patch-1
Fix Azure Data Lake code snippet to use SP credentials
2 parents e56ae35 + 02c40e3 commit 55c69a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-foundry/how-to/develop/connections-add-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ wps_connection = WorkspaceConnection(
201201
name=name,
202202
type="azure_data_lake_gen2",
203203
target=target,
204-
credentials=None
204+
credentials=sp_config
205205

206206
)
207207
ml_client.connections.create_or_update(workspace_connection=wps_connection)

0 commit comments

Comments
 (0)