0 votes
1 view
in Azure by (5.8k points)

I am trying to automate the process to create a model with azure machine learning services and I get some problems with the authentication. When I run my code on my remote machine everything is fine but when I run the code on remote I get this authentication sentence:

Make sure your code doesn't require 'az login' to have happened before using azureml-SDK, except the case when you are specifying AzureCliAuthentication in azureml-SDK.

Performing interactive authentication. Please follow the instructions on the terminal.

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CZMKCYS8B to authenticate"

Make sure your code doesn't require 'az login' to have happened before using azure ml-SDK, except the case when you are specifying AzureCliAuthentication in azure ml-SDK.

Performing interactive authentication. Please follow the instructions on the terminal.

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CZMKCYS8B to authenticate"

1 Answer

0 votes
by (9.5k points)
edited by

This article will help.

In default mode, that is Interactive authentication, do the following:

While you connect your your workspace with workspace.from_config, here is what you will get:

ws = Workspace.from_config()

You can explicitly specify the subscription ID. 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...