https://pulumi.com logo
#general
Title
# general
a

adorable-analyst-27426

06/26/2023, 9:12 AM
getting error like so, anyone can help azure-nativenetworkRecordSet (app-cname-record): error: Preview failed: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/xxxxxxxx/resourceGroups/domain-names/providers/Microsoft.Network/dnszones/product.co.uk/CNAME/devapi.mi?api-version=2018-05-01: StatusCode=401 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"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 'xxxxxxxxxxxxxxxxxxx'.\r\nTrace ID: 5c2bcfa-620d-478f-ba6b-dee9c0b22e00\r\nCorrelation ID: f4b6ef99-82c7-4046-a2c2-0bab66801da2\r\nTimestamp: 2023-06-26 085009Z","error_codes":[7000215],"timestamp":"2023-06-26 085009Z", "trace_id":"05c2bcfa-620d-478f-ba6b-dee9c0b22e00","correlation_id":"f4b6ef99-82c7-4046-a2c2-0bab66801da2","error_uri":"https://login.microsoftonline.com/error?code=7000215"} Endpoint https://login.microsoftonline.com/xxxxxxxxxx/oauth2/token?api-version=1.0