Closed SeanKilleen closed 3 weeks ago
This must have been a transient issue -- after multiple rounds of az logout
and az login
, it resolved itself.
The exact steps I took before it was fixed (though I don't believe they influenced the outcome):
az logout
az login
az ad user list
to verify I could see things via that command (possibly this resolved it by syncing things up?)terraform apply
statement.I'm going to close this but wanted to put the information here in case others can benefit.
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.