Description Usage Arguments Value Examples See Also
Interactive login authentication is suitable for local experimentation on your own computer, and is the default authentication model when using Azure Machine Learning SDK. The constructor of the class will prompt you to login. The constructor then will save the credentials for any subsequent attempts. If you are already logged in with the Azure CLI or have logged-in before, the constructor will load the existing credentials without prompt.
1 2 3 4 5 | interactive_login_authentication(
force = FALSE,
tenant_id = NULL,
cloud = "AzureCloud"
)
|
force |
Indicates whether "az login" will be run even if the old "az login" is still valid. |
tenant_id |
The string id of the active directory tenant that the service identity belongs to. This is can be used to specify a specific tenant when you have access to multiple tenants. If unspecified, the default tenant will be used. |
cloud |
The name of the target cloud. Can be one of "AzureCloud", "AzureChinaCloud", or "AzureUSGovernment". If no cloud is specified, "AzureCloud" is used. |
InteractiveLoginAuthentication
object
1 2 3 4 5 6 | interactive_auth <- interactive_login_authentication(tenant_id="your-tenant-id")
ws <- get_workspace("<your workspace name>",
"<your subscription ID>",
"<your resource group>",
auth = interactive_auth)
|
get_workspace()
service_principal_authentication()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.