Skip to content

Commit 745b4f0

Browse files
authored
Include additional details on user authentication
Additional details should be included for user authentication esp. for enterprise users who may have more than one single aad tenant linked to a user.
1 parent fb90091 commit 745b4f0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tutorials/create-first-ml-experiment/tutorial-1st-experiment-sdk-train.ipynb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@
5757
"source": [
5858
"Import the `Workspace` class, and load your subscription information from the file `config.json` using the function `from_config().` This looks for the JSON file in the current directory by default, but you can also specify a path parameter to point to the file using `from_config(path=\"your/file/path\")`. If you are running this notebook in a cloud notebook server in your workspace, the file is automatically in the root directory.\n",
5959
"\n",
60-
"If the following code asks for additional authentication, simply paste the link in a browser and enter the authentication token."
61-
]
60+
"If the following code asks for additional authentication, simply paste the link in a browser and enter the authentication token. In addition, if you have more than one tenant linked to your user, you will need to add the following lines:\n",
61+
"from azureml.core.authentication import InteractiveLoginAuthentication\n",
62+
"interactive_auth = InteractiveLoginAuthentication(tenant_id="your-tenant-id")\n",
63+
"Additional details on authentication can be found here: https://aka.ms/aml-notebook-auth \n"
64+
]
6265
},
6366
{
6467
"cell_type": "code",
@@ -386,4 +389,4 @@
386389
},
387390
"nbformat": 4,
388391
"nbformat_minor": 2
389-
}
392+
}

0 commit comments

Comments
 (0)