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:
Gin
2020-06-13 21:24:56 -04:00
committed by GitHub
parent fb900916e3
commit 745b4f0624

View File

@@ -57,8 +57,11 @@
"source": [ "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", "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", "\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", "cell_type": "code",
@@ -386,4 +389,4 @@
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 2 "nbformat_minor": 2
} }