Created
October 11, 2018 04:02
-
-
Save jeffwmiles/ac59597be7ac9d61184b713e2c1ad3b0 to your computer and use it in GitHub Desktop.
Terraform azurerm provider error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS /home/azureuser/clouddrive/PGH> terraform plan | |
Acquiring state lock. This may take a few moments... | |
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
Error: Error refreshing state: 1 error(s) occurred: | |
* provider.azurerm: Unable to list provider registration status, it is possible that this is due to invalid credentials or the service principal does not have permission to use the Resource Manager API, Azure error: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/bc5242b8-a7be-4e2e-ae7e-57927f3b63ba/providers?api-version=2017-05-10: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":{"code":"AudienceNotSupported","message":"Audience https://management.azure.com/ is not a supported MSI token audience. Supported audiences: https://management.core.windows.net/,https://graph.windows.net/,https://vault.azure.net,https://datalake.azure.net/,https://outlook.office365.com/,https://graph.microsoft.com/,https://batch.core.windows.net/,https://analysis.windows.net/powerbi/api,https://storage.azure.com/"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment