我在我们的天蓝色环境中创建了一个工作区并尝试运行此代码:
library(azuremlsdk)
ws <- get_workspace(
name = "someworkspace",
subscription_id = "si1",
resource_group ="rg1"
)
一些交互式身份验证器在我的浏览器中打开,我认为这是预期的行为,因为我没有租户。但是,我明白了:
Performing interactive authentication. Please follow the instructions on the terminal.
Note, we have launched a browser for you to login. For old experience with device code, use "az login --use-device-code"
You have logged in. Now let us find all the subscriptions to which you have access...
Interactive authentication successfully completed.
Performing interactive authentication. Please follow the instructions on the terminal.
Note, we have launched a browser for you to login. For old experience with device code, use "az login --use-device-code"
You have logged in. Now let us find all the subscriptions to which you have access...
Interactive authentication successfully completed.
AuthenticationException: AuthenticationException:
Message: Could not retrieve user token. Please run 'az login'
InnerException It is required that you pass in a value for the "algorithms" argument when calling decode().
ErrorResponse
{
"error": {
"code": "UserError",
"inner_error": {
"code": "Authentication"
},
"message": "Could not retrieve user token. Please run 'az login'"
}
}
我也试过:
az login
这工作正常。所以对我来说,这一切都非常令人困惑!