-
Notifications
You must be signed in to change notification settings - Fork 66
Missing Client ID for msi api call blocking terraform pipeline #346
Description
This needs a fix in the token creation for MSI to support for client ids.
client_id (Optional): A query string parameter, indicating the client_id of the managed identity you would like the token for. Required, if your VM has multiple user-assigned managed identities.
Error: cannot create workspace conf: failed visitor: cannot refresh AAD token: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"Multiple user assigned identities exist, please specify the clientId / resourceId of the identity in the token request"} Endpoint http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fmanagement.core.windows.net%2F