This message was deleted.
# general
s
This message was deleted.
p
the full error:
Copy code
error: Preview failed: autorest/Client#Do: Preparing request failed: StatusCode=0 -- Original Error: clientCredentialsToken: received HTTP status 401 with response: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app '...'. Trace ID: ... Correlation ID: ... Timestamp: 2023-11-15 16:14:21Z","error_codes":[7000215],"timestamp":"2023-11-15 16:14:21Z","trace_id":"...","correlation_id":"...","error_uri":"<https://login.microsoftonline.com/error?code=7000215>"}
The secret that's stored in the environment variable is 100% correct, but no matter what we put there, the stack somehow doesn't seem to update the credentials
One thing that also works is to manually update the provider resource
Copy code
pulumi up --target <provider urn>