Forum Discussion
sujeesh
3 years agoHelper I
Unable to authenticate the Azure DevOps rest API
Hi, While using the below code to to get the api content iteratively, i am getting the authentication error. Can some one help me to resolve this issue let // Define the base URL of the Work It...
ferryv
3 years agoResolver II
I'd suggest trying: Json.Document(VSTS.Contents(baseUrl, requestOptions)) instead of Json.Document(Web.Contents(baseUrl, requestOptions)) for API calls (your response step). I typically have more success with that when using the API instead of oData.
You might have to rewrite some of the subsequent steps accordingly also.
I wrote this article https://www.linkedin.com/pulse/retrieve-long-text-fields-from-azure-devops-powerbi-van-der-vorst/?trackingId=pXUX5lPbSpucooxyz2aTtw%3D%3D previously on LinkedIn, where I used an API. It might get you on your way also.