I'm trying to connect to Azure DevOps with a REST API request in Azure Data Factory V2. From Azure DevOps I want to collect information about the Work Items and store this in a data lake.
I use a REST linked service in ADF with AAD Service Principal Authentication. For this, I set up an App registration and granted the delegated permission to access Azure DevOps’ REST API. Both my App registration and ADF were assigned the Contributor role on the level of the subscription. API Permissions
The App registration’s client id, client secret and tenant id were filled in in the REST linked service and the connection is successful: REST linked service
However, the data I receive from the API is in HTML format, while the data I expect to receive should be in JSON format. Therefore, I assume that the authentication is still not correctly configured.
Is there maybe a permission that is not granted, or have I forgotten a step? Or is there another authentication method that would be a better fit for this case?
Thanks for your help and ideas on this matter!