Coder Social home page Coder Social logo

Comments (3)

andybouts avatar andybouts commented on June 1, 2024

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.

andybouts avatar andybouts commented on June 1, 2024

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.

thpang avatar thpang commented on June 1, 2024

This was addressed with #137

from viya4-iac-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.