Comments (3)
I seem to be having the same issue. I was previously able to build with the IAC, but today, I am unable to get past this error. The IAC seems to build about 3/4 of the objects, and then fails. If it really was a problem with my SP, I would expect nothing to build.
data.external.iac_tooling_version: Refreshing state... [id=-]
data.external.git_hash: Refreshing state... [id=-]
Error: Error building account: Error getting authenticated object ID: Error listing Service Principals: autorest.DetailedError{Original:adal.tokenRefreshError{message:"adal: Refresh request failed. Status Code = '401'. Response body: {\"error\":\"invalid_client\",\"error_description\":\"AADSTS7000215: Invalid client secret is provided.\\r\\nTrace ID: 8{}100\\r\\nCorrelation ID: db480{}f4881\\r\\nTimestamp: 2021-04-05 17:45:43Z\",\"error_codes\":[7000215],\"timestamp\":\"2021-04-05 17:45:43Z\",\"trace_id\":\"8e5024{}a100\",\"correlation_id\":\"db48{}4881\",\"error_uri\":\"https://login.microsoftonline.com/error?code=7000215\"} Endpoint https://login.microsoftonline.com/b1c1{}a0c2f/oauth2/token?api-version=1.0", resp:(*http.Response)(0xc000cce240)}, PackageType:"azure.BearerAuthorizer", Method:"WithAuthorization", StatusCode:401, Message:"Failed to refresh the Token for request to https://graph.windows.net/b1c14d5c-3625-45b3-a430-9552373a0c2f/servicePrincipals?%24filter=appId+eq+%27806{}2%27&api-version=1.6", ServiceError:[]uint8(nil), Response:(*http.Response)(0xc000cce240)}
on main.tf line 1, in provider "azurerm":
1: provider "azurerm" {
from viya4-iac-azure.
Thanks @thpang for pointing me to the credential reset command on this page which fixed my issue: https://github.com/sassoftware/viya4-iac-azure/blob/main/docs/user/AzureHelpTopics.md#how-to-create-service-principal-using-azurecli
from viya4-iac-azure.
This was addressed with #137
from viya4-iac-azure.
Related Issues (20)
- VIya sas install HOT 1
- postgress internal/external HOT 6
- kubectl v1.19.9 not supported in ANY Azure Location HOT 6
- BYO storage
- Internal Load Balancer HOT 1
- Multi-AZ nodepools HOT 3
- Option to control AKS default nodepool sku_tier HOT 1
- How to provision GPU-enabled node pools for CAS? HOT 2
- Doc Issue: Incorrect instructions for Creating a SP
- Error in permissions when setting up the service principle and running the docker container HOT 3
- Updated default Kubernetes version from 1.19 -> 1.21 HOT 1
- (IAC-660) error while upgrading k8s from 1.21.7 to 1.22.4 HOT 4
- (IAC-421) Fix: tflint issue with default_nodepool_vm_type value HOT 10
- Integration with Python HOT 2
- Connection refused when attempting to upgrade IAC HOT 1
- Postgres 12 not supported HOT 1
- NFS mount fails when setting netapp_protocol to NFSv4.1 HOT 1
- feat: (IAC-1322) Private Endpoint for Azure ACR when the Cluster has cluster_api_mode = "private" HOT 3
- main.tf for PostgreSQL points to https://registry.terraform.io/modules/Azure/postgresql/azurerm/2.1.0 which is outdated. HOT 1
- POD CIDR Range HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viya4-iac-azure.