OneDrive Plugin : Could not obtain OAuth2 credential

vkv Dataiku DSS Core Designer, Registered Posts: 12 ✭✭✭✭

Could not obtain OAuth2 credential: Failed to acquire a successful OAuth2 token response: {"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 'a98f7197-0f17-4c4f-a662-227777c95ee5'.\r\nTrace ID: 290b5ee6-5e00-4181-9680-3908ad444a00\r\nCorrelation ID: 08f2cb06-6b19-413e-b652-9dc80ce72d71\r\nTimestamp: 2022-02-16 16:49:46Z","error":"invalid_client","error_uri":"https:\/\/\/error?code=7000215"}

Best Answer

  • vkv
    vkv Dataiku DSS Core Designer, Registered Posts: 12 ✭✭✭✭
    Answer ✓

    Few of our users were facing this issue so thought of posting here to help other who might run into same issue. The answer is in the error message, the Client Secret Value from Azure App Registration needs to be used in DSS OneDrive Credentials Client Secret. The Step 4 on this link should be updated to say Client Secret Value instead of Client Secret. This seems to make users think its Client Secret ID instead of Value.


Setup Info
      Help me…