microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
325 stars 95 forks source link

error_description":"AADSTS50076: Due to a configuration change #2451

Closed bulentkarakus closed 1 month ago

bulentkarakus commented 1 month ago

Does this occur consistently? Repro steps:

1. 2.

Action: azureml.internal.azureAccount.login Error type: 120 Error Message: {"error":"invalid_grant","error_description":"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access 'redacted:id'. Trace ID: redacted:id Correlation ID: redacted:id Timestamp: redacted:id redacted:id40Z","error_codes":[redacted:id],"timestamp":"redacted:id redacted:id40Z","trace_id":"redacted:id","correlation_id":"redacted:id","error_uri":"redacted:url

Version: 1.0.0 OS: win32 OS Release: 10.0.19045 Product: Visual Studio Code Product Version: 1.93.1 Language: en

Call Stack ``` extension.js:2:2185616extension.js:2:2185616 ```
shsuman commented 1 month ago

@bulentkarakus Is your workspace inside a tenant which is different than your default tenant ?

bulentkarakus commented 1 month ago

My regular account @.) and the account that I am trying to use (cloud account @.) are in the same tenant.


From: Shantnu Suman @.> Sent: Wednesday, September 18, 2024 2:09:15 AM To: microsoft/vscode-tools-for-ai @.> Cc: Bulent Karakus @.>; Mention @.> Subject: Re: [microsoft/vscode-tools-for-ai] error_description":"AADSTS50076: Due to a configuration change (Issue #2451)

@bulentkarakushttps://github.com/bulentkarakus Is your workspace inside a tenant which is different than your default tenant ?

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-tools-for-ai/issues/2451#issuecomment-2357584831, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI26K2TZVVIOACK3J7Z2FZLZXEKIRAVCNFSM6AAAAABOMJAIK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJXGU4DIOBTGE. You are receiving this because you were mentioned.Message ID: @.***>

shsuman commented 1 month ago

@bulentkarakus Can you please try to run the command Azure ML: Sign in to Directory and then sign in as prompted ?

You can run a command in VS Code using Ctrl/Cmd + Shift + P

shsuman commented 1 month ago

cc\ @eriolchan, @Yukun-dong, @JerryYangKai, @Siglud

shsuman commented 1 month ago

Closing because of inactivity. Please reopen if need be :)