Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous access evaluation resulted in challenge with result: InteractionRequired and code: TokenIssuedBeforeRevocationTimestamp #26504

Closed
sofialouisyax opened this issue May 22, 2023 · 6 comments
Assignees
Labels
Account az login/account Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. Graph az ad question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@sofialouisyax
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

When calling any 'az ad' request, I receive "Continuous access evaluation resulted in challenge with result: InteractionRequired and code: TokenIssuedBeforeRevocationTimestamp".

It it not obvious to me what I can do to fix this... Recently, I have updated my company's AD password, which lauched a new login in the azure portal. I completed it with MFA successfully, and I can access all information in the portal, but when I use az cli, I get this error. I have already done az login to make sure I had an updated token.

What am I supposed to do to fix this?

Command Name
az ad signed-in-user show

Errors:
"Continuous access evaluation resulted in challenge with result: InteractionRequired and code: TokenIssuedBeforeRevocationTimestamp"

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az ad signed-in-user show

Expected Behavior

successful request

Environment Summary

Linux-5.15.0-71-generic-x86_64-with-glibc2.31, Ubuntu 20.04.5 LTS
Python 3.10.10
Installer: DEB

azure-cli 2.48.1

Additional Context

@ghost ghost added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Account az login/account labels May 22, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented May 22, 2023

Thank you for opening this issue, we will look into it.

@ghost ghost assigned jiasli May 22, 2023
@ghost ghost added this to the Backlog milestone May 22, 2023
@ghost ghost added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Graph az ad labels May 22, 2023
@jiasli
Copy link
Member

jiasli commented May 23, 2023

Have you tried to re-login by running az logout and az login?

@sofialouisyax
Copy link
Author

Hi! I have tried az login, which prompts login, but I have not tried with az logout in between. I will try that

@sofialouisyax
Copy link
Author

This problem has disappeared. Maybe it was a synchronization that had not completed. I cannot replicate it

@unique-dominik
Copy link

unique-dominik commented Jul 26, 2023

Yeah, just happened here and

az logout
az login

seems to have fixed it or it was a hickup.

@YazanGhafir
Copy link

Confirming, the problem persists with doing only az login and disappered after doing both az logout and az login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Account az login/account Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. Graph az ad question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

5 participants