Failed to obtain Azure Active Directory token
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- azure, r
- Ambito
- authentication, cloud
Direzione di ricerca
Inizia esaminando le chiamate get_business_onedrive() e list_shared_items(), quindi riproduci l’esecuzione Docker pianificata descritta nell’issue. Confrontala con le esecuzioni locali, di produzione e dell’account utente funzionanti, concentrandoti sul contesto del refresh del token. Il lavoro è completato quando viene identificata la causa del refresh non riuscito e viene documentata una modifica correttiva verificata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello,
I have weird problem with my token authentication in One Drive. I created R script which connects with list of xlsx in one shared folder in One Drive. This script is used in R shiny app and as CRON to daily updating data from xlsx to SQL database. I am using token authentication:
one_drive_connection <- get_business_onedrive()
folder <- one_drive_connection$list_shared_items() %>%
filter(name == '{FOLDER_NAME}') %>%
pull(remoteItem) %>%
.[[1]]
Script and token authorization is now working when:
- I activate script locally;
- I activate script in application on production server;
- cron for this script is working on my user account.
It also worked to August 5th as cron in Dockerfile on another user account. But suddenly it stopped working and I am not sure why. The error is:
Loading Microsoft Graph login for default tenant
Access token has expired or is no longer valid; refreshing
Error in process_aad_response(res) :
Bad Request (HTTP 400). Failed to obtain Azure Active Directory token. Message:
AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2023-05-08T12:00:02.9934064Z and was inactive for 90.00:00:00.
Trace ID: d3e47bfc-9a5c-4754-8e99-c6e4bc033a00
Correlation ID: 7b2c4130-f9af-4056-b3ae-4ed3b330feb5
Timestamp: 2023-08-10 01:15:06Z.
Error: Unable to refresh token
Execution halted
I know that in the message there is something about 'token expired' and 'inactivity', but the same token is working in another case (everywhere I used my token, the same). So I think that it's not due to token. Maybe is it due to using this cron in dockerfile? But I created new dockerfile and there is the same problem. Dockerfile was working from the beginning of June 2023.
Is there anybody who can help?
- Lingua principale
- R
- Stelle
- 48
- Fork
- 23
- Merge medio
- 4h 2m
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/AzureAuth
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Error in process_response Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
Tutte le issue di Azure/AzureAuth
Issue simili
-
documentation pkg infrastructure
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
epiverse-trace/epiparameter#511 ·
-
Stray pipe in eventRemarks Apertafunction:write_dwc
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
jbkunst/highcharter#849 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
r-lib/pkgdepends#485 · 3 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100