-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Labels
Milestone
Description
auth login returns an error:
debug logs
PS C:\Users\vivazqu> azd auth login --scope https://graph.microsoft.com/.default --debug
2023/05/19 13:41:19 main.go:53: azd version: 0.9.0-beta.3 (commit e564b122af7c1cb92bc54755f32930d661dddda2)
2023/05/19 13:41:20 main.go:203: using cached latest version: 0.9.0-beta.3 (expires on: 2023-05-20T20:38:30Z)
2023/05/19 13:41:20 cobra_builder.go:136: Resolved action 'azd-auth-login-action'
2023/05/19 13:41:20 middleware.go:124: running middleware 'debug'
RESPONSE 400: 400 Bad Request
--------------------------------------------------------------------------------
{
"error": "invalid_grant",
"error_description": "AADSTS50158: External security challenge not satisfied. User will be redirected to another page or authentication provider to satisfy additional authentication challenges.\r\nTrace ID: 52f56d8e-6b25-4eab-b90c-c6e4bcacc100\r\nCorrelation ID: a292e891-5d20-49bb-b454-d7cf53013ea0\r\nTimestamp: 2023-05-19 20:41:26Z",
"error_codes": [
50158
],
"timestamp": "2023-05-19 20:41:26Z",
"trace_id": "52f56d8e-6b25-4eab-b90c-c6e4bcacc100",
"correlation_id": "a292e891-5d20-49bb-b454-d7cf53013ea0",
"error_uri": "https://login.microsoftonline.com/error?code=50158",
"suberror": "basic_action"
}
--------------------------------------------------------------------------------
ERROR: reauthentication required, run `azd auth login --scope https://graph.microsoft.com/.default` to log in
gunsto