You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UsersClient.BaseClient.Get(): unexpected status 401 with OData error: InvalidAuthenticationToken: Exception of type 'Microsoft.Graph.AGS.Contracts.ClaimsChallengeRequiredException' was thrown
I attempted to run az logout and az login from the CLI. Those operations were successful but I still received the error.
Steps to Reproduce
terraform apply
Important Factoids
I'm using the latest az CLI, 2.61.0
This code has not changed and previously worked.
The error message in the debug log back from the request is Continuous access evaluation resulted in challenge with result: InteractionRequired and code: TokenIssuedBeforeRevocationTimestamp -- I'll do some research on that.
Hi @SeanKilleen, thanks for reporting. This appears to be either an API issue/outage, or an Azure CLI bug, so I don't believe there would be anything for us to do here.
Community Note
Terraform (and AzureAD Provider) Version
Terraform v1.8.5
on windows_amd64
Affected Resource(s)
azuread_user
-- used as a data sourceTerraform Configuration Files
A minimal reproduction looks to include --
providers.tf
:getting the users in
main.tf
To be clear, this has worked for some time and has not been recently changed.
Debug Output
Relevant portion of the Request/response from the debug log is here: https://gist.github.com/SeanKilleen/7d8022776fbb360c9feac86cb2fbb791
Panic Output
Expected Behavior
Pull the users like normal using the data source
Actual Behavior
For each user in that data source, I see:
I attempted to run
az logout
andaz login
from the CLI. Those operations were successful but I still received the error.Steps to Reproduce
terraform apply
Important Factoids
2.61.0
Continuous access evaluation resulted in challenge with result: InteractionRequired and code: TokenIssuedBeforeRevocationTimestamp
-- I'll do some research on that.References
az logout
andaz login
fixed it; in my case it does not appear to do so.The text was updated successfully, but these errors were encountered: