Merge pull request #1010 from GinSiuCheng/patch-1

Include additional details on user authentication
This commit is contained in:
Sheri Gilley
2020-08-25 11:45:58 -05:00
committed by GitHub

View File

@@ -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
}
}