OneDrive Plugin : Could not obtain OAuth2 credential

Solved!
vkv
Level 2
OneDrive Plugin : Could not obtain OAuth2 credential

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:\/\/login.microsoftonline.com\/error?code=7000215"}

0 Kudos
1 Solution
vkv
Level 2
Author

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.

https://www.dataiku.com/product/plugins/onedrive/

View solution in original post

2 Replies
vkv
Level 2
Author

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.

https://www.dataiku.com/product/plugins/onedrive/

CoreyS
Dataiker Alumni

Thank you for sharing your solution with the community @vkv!

Looking for more resources to help you use Dataiku effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as โ€˜Accepted Solutionโ€™ to help others like you!
0 Kudos