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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform (and AzureAD Provider) Version
Terraform v0.12.16
+ provider.azuread v0.5.1
Affected Resource(s)
All (provider auth issue)
Terraform Configuration Files
N/A
Debug Output
N/A
Panic Output
N/A
Expected Behavior
The Azure AD provider refreshes the token on behalf of the user, as recently fixed in hashicorp/terraform-provider-azurerm#4775.
Could the github.com/hashicorp/go-azure-helpers dependency please be updated to v0.10.0 to incorporate the fixes relating to Azure token refresh?
Actual Behavior
The user receives an error relating to the current operation once the token has expired:
azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://graph.windows.net/<tenant_id>/<resource>: StatusCode=0 -- Original Error: Manually created ServicePrincipalToken does not contain secret material to retrieve a new access token
Apologies folks, I didn't realise this had been shipped as part of 0.7.0, since it wasn't mentioned in the CHANGELOG or in the notes on the release. On further investigation of the PR (#169), I can see I need to upgrade my provider version.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Dec 28, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
All (provider auth issue)
Terraform Configuration Files
N/A
Debug Output
N/A
Panic Output
N/A
Expected Behavior
The Azure AD provider refreshes the token on behalf of the user, as recently fixed in hashicorp/terraform-provider-azurerm#4775.
Could the
github.com/hashicorp/go-azure-helpers
dependency please be updated to v0.10.0 to incorporate the fixes relating to Azure token refresh?Actual Behavior
The user receives an error relating to the current operation once the token has expired:
Steps to Reproduce
N/A
Important Factoids
N/A
References
Azure/azure-sdk-for-go
andhashicorp/go-azure-helpers
terraform-provider-azurerm#4775The text was updated successfully, but these errors were encountered: