Questions tagged [azure-rest-api]
320 questions
1
vote
1 answer
Azure Forecast Rest Api Returning Error code 404: “Cost management data is not supported for subscription”
I'm trying to use the azure forecast rest API of version "2019-10-01".And the Version which I'm using is the latest version.
GET…

Ravi
- 13
- 3
1
vote
1 answer
Rest API to get the list of files inside the container/directory/ in AZURE storage
I have a container called 'services'.Inside the Container , i have a directory called 'Test'.how we can get the list of blobs inside the directory test.I have few kept few CSVs inside the test. Need the rest api to get the list of the files.
However…

gunjan gupta
- 51
- 1
- 12
1
vote
1 answer
Is there any REST API to programmatically link IoT hub when creating Azure DPS?
Looking for a REST Api that Creates DPS as well as link to an existing IoT hub. I see that we can do via Azure CLI but looking for REST Api calls as my web app(Azure App service) needs to first create Iot hub and then use this as a link while…

mv_05
- 109
- 12
1
vote
1 answer
Azure REST API 'listsecrets' returns the incorrect trigger URL for functions with custom routes
When using the Azure REST API to retrieve the trigger URL for a specific function within a Function App, the listsecrets endpoint returns the incorrect trigger URL in cases where a custom function route has been defined.
For example, take a basic…

David Gard
- 11,225
- 36
- 115
- 227
1
vote
2 answers
How to fetch the Project Administrators of ADO project using Azure REST API
I need to fetch the project administrators of each ADO project in my organization and prepare a report. I tried searching in MSDN documentation for Azure Rest API methods but unfortunately couldn't find any. Please advise.

Dileep Palli
- 45
- 6
1
vote
2 answers
How to download the latest build artifacts from Azure DevOps via REST API without mentioning buildId?
URl mention in documentation:
GET https://dev.azure.com/{organization}/{project}/_apis/build/builds/{buildId}/artifacts?artifactName={artifactName}&api-version=4.1
How to get the buildid via REST API or can we download the artifact without buildId

Ashutosh gupta
- 447
- 4
- 16
1
vote
2 answers
Resource createdTime property missing in Azure Resource Graph Explorer
I am trying to get the createdTime field for Azure resources through the Azure Resource Graph Explorer and it seems the Azure Resource Graph Explorer does not support this value. I cannot find it anywhere.
The odd thing is that the resources…

Jelle den Burger
- 1,428
- 17
- 31
1
vote
2 answers
not able to delete test cases in azure devops through powershell scripts
I have checked How to delete multiple test cases in Azure DevOps
It not works for me.
Using PowerShell scripts alone, I want to delete multiple test cases in one go in Azure DevOps. Currently, portal only allows to delete one at a time.
I have tried…

Arulmouzhi
- 1,878
- 17
- 20
1
vote
2 answers
Getting file version from TFS rest API Get Item
I am pulling a file from on premise TFS source control using the Rest API. I can't find on premise specific documentation, but it seems to be very close to version 4.1 of the Azure Get Item call. According to this documentaiton, it should return a…

Don Chambers
- 3,798
- 9
- 33
- 74
1
vote
2 answers
Make an Azure Function POST request in python
I'm learning around Azure Functions currently & have some test scripts in Python.
Within that function I want to be able to do a post request to grab some data from elsewhere, however I can't import the requests library as I usually would in…

stephen.webb
- 175
- 2
- 13
1
vote
1 answer
How to get Azure PID (Object ID) which is related to given Application ID
When I try to retrieve pole assignments it gives values which is related to a Principle ID. But currently I have only the tenant id, client id and the client secret. So is there any way to retrieve Principle IDs ?

Tech222
- 45
- 2
1
vote
1 answer
Upload Attachment - Azure DevOps (Boards) - REST API
I am trying to upload a file to Azure Devops as an attachment via a static web-site. I can create new work-items without any issues, however can't seem to get the attachment upload to work.
var fileInput = document.getElementById('upload');
var file…

Colin Dawson
- 133
- 3
- 16
1
vote
2 answers
azure speech to text rest api python Connection aborted. OSError 10054, WSAECONNRESET
I am trying to test azure speech to text the rest API. First of all I used POSTMAN client and it worked fine.
Now I am trying the same thing using python but getting an error.
I am following instructions given as per the…

Prateek Saurabh
- 53
- 7
1
vote
1 answer
How to use API request Result-Get in Azure automated pipeline?
I'm trying to send a detailed email-notification on test failure in azure pipeline build. I'm following the suggestion in this thread : How to send a detailed email to specific developer from Azure DevOps on failure of unit tests from a Build…

Sruthi CP
- 341
- 3
- 13
1
vote
2 answers
Azure devops Server 2019 - Error while creating Workitem states
I am trying to create a state for existing work item.
For Get, the url will show the list of States under Bug.
But am facing an issue when I do Post with…

Uday
- 151
- 1
- 3
- 15