mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-23 02:52:39 -05:00
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.
This commit is contained in:
@@ -57,8 +57,11 @@
|
||||
"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",
|
||||
"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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
@@ -386,4 +389,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user