mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-19 17:17:04 -05:00
Merge pull request #1010 from GinSiuCheng/patch-1
Include additional details on user authentication
This commit is contained in:
@@ -57,8 +57,13 @@
|
||||
"source": [
|
||||
"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",
|
||||
"\n",
|
||||
"If the following code asks for additional authentication, simply paste the link in a browser and enter the authentication token."
|
||||
]
|
||||
"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",
|
||||
"```\n",
|
||||
"from azureml.core.authentication import InteractiveLoginAuthentication\n",
|
||||
"interactive_auth = InteractiveLoginAuthentication(tenant_id=\"your-tenant-id\")\n",
|
||||
"Additional details on authentication can be found here: https://aka.ms/aml-notebook-auth \n",
|
||||
"```\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
@@ -386,4 +391,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user