Skip to content

Commit cda1b8f

Browse files
authored
Update how-to-datastore.md
1 parent c7cdeb4 commit cda1b8f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/machine-learning/how-to-datastore.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ OneLake datastore creation requires the following information from your Microsof
434434

435435
You will then find "Endpoint", "Workspace GUID" and "Artifact GUID" in "URL" and "ABFS path" from the "Properties" page:
436436

437-
- URL format: https://{your_one_lake_endpoint}/{your_one_lake_workspace_name}/{your_one_lake_artifact_name}/Files
438-
- ABFS path format: abfss://{your_one_lake_workspace_name}@{your_one_lake_endpoint}/{your_one_lake_artifact_name}/Files
437+
- URL format: https://{your_one_lake_endpoint}/{your_one_lake_workspace_guid}/{your_one_lake_artifact_guid}/Files
438+
- ABFS path format: abfss://{your_one_lake_workspace_guid}@{your_one_lake_endpoint}/{your_one_lake_artifact_guid}/Files
439439

440440
:::image type="content" source="media/how-to-datastore/onelake-url-abfspath.png" alt-text="Screenshot that shows URL and ABFS path of a OneLake artifact properties in Microsoft Fabric UI." lightbox="./media/how-to-datastore/onelake-url-abfspath.png":::
441441

@@ -452,10 +452,10 @@ ml_client = MLClient.from_config()
452452
store = OneLakeDatastore(
453453
name="onelake_example_id",
454454
description="Datastore pointing to an Microsoft fabric artifact.",
455-
one_lake_workspace_name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", #{your_one_lake_workspace_name}
455+
one_lake_workspace_name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", #{your_one_lake_workspace_guid}
456456
endpoint="msit-onelake.dfs.fabric.microsoft.com" #{your_one_lake_endpoint}
457457
artifact = OneLakeArtifact(
458-
name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Files","{your_one_lake_artifact_name}/Files
458+
name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Files","{your_one_lake_artifact_guid}/Files
459459
type="lake_house"
460460
)
461461
)
@@ -480,10 +480,10 @@ ml_client = MLClient.from_config()
480480
store = OneLakeDatastore(
481481
name="onelake_example_sp",
482482
description="Datastore pointing to an Microsoft fabric artifact.",
483-
one_lake_workspace_name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", #{your_one_lake_workspace_name}
483+
one_lake_workspace_name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", #{your_one_lake_workspace_guid}
484484
endpoint="msit-onelake.dfs.fabric.microsoft.com" #{your_one_lake_endpoint}
485485
artifact = OneLakeArtifact(
486-
name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Files","{your_one_lake_artifact_name}/Files
486+
name="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Files","{your_one_lake_artifact_guid}/Files
487487
type="lake_house"
488488
)
489489
credentials=ServicePrincipalCredentials(

0 commit comments

Comments
 (0)