admin管理员组

文章数量:1312895

Is it possible to successfully use Elasticsearch OneDrive connector with a personal Azure Account?

I created my self-managed setup according to .md and .html. I was able to create and configure the connector correctly. However, when I tried to sync (both using Kibana UI and API call), I got 400 error in my logs. Upon digging deeper, I found the actual error message. So the connector code is effectively sending this request:

curl -X GET ".0/drives" -H "Authorization: Bearer \<token\>"

Message from error response:
"message": "Tenant does not have a SPO license."

After going through and it seems "You can only use Oauth2 Code Flow or Oauth2 Token Flow. Both are interactive approaches". So the conclusion I have drawn is that it is not possible to use a personal Azure account to sync a OneDrive connector in elasticsearch. Can someone please confirm this? If yes, then it should be highlighted in the documentation.

本文标签: Elasticsearch OneDrive connector does not work with personal Azure AccountStack Overflow