Questions tagged [azure-rest-api]
320 questions
12
votes
1 answer
What is the difference between Default/Serverless/Classic settings in Azure SignalR?
I have set up the Azure SignalR Service for REST API. There are three modes under settings: Default, Serverless, Classic. I can't find any information about what each of these items sets. The only one thing I got so far, that if I use Azure SignalR…

Anna
- 2,988
- 3
- 15
- 29
8
votes
2 answers
Azure partner resource tagging via User-Agent header
I'm trying to implement partner tagging of Azure resources by adding a partner product GUID to the User-Agent header when creating resources via the Resource Manager API, but it doesn't have any visible effect. I checked the ARM template of a…

Ruslan Mukhamedov
- 448
- 3
- 10
6
votes
1 answer
Different results from Invoke-WebRequest and Invoke-RestMethod
I am trying to call Azure Rest API and get Schedules of DevTestLabs. I tried Invoke-RestMethod, but it doesn't give value on "dailyRecurrence" key. But Invoke-WebRequest does.
What would be the reason for that?
URL
$url =…

Smug
- 167
- 1
- 2
- 9
6
votes
1 answer
Difference between Azure Devops Builds - Queue vs run pipeline REST APIs
I do see two options to run a Azure devops pipeline
run pipeline - > https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run%20pipeline?view=azure-devops-rest-6.0
Build queue - >…

Rathna
- 73
- 1
- 5
5
votes
1 answer
Can we restore the deleted applications in Azure Active Directory from Graph API?
I'm finding a way to restore my deleted application in Azure Active Directory from Graph API.
In the Portal, I can see my deleted applications here:
Deleted Applications
Using Powershell, I found this command to get that…

user20207
- 77
- 4
5
votes
2 answers
Azure REST API for running builds or pipelines
I am trying to automate the creation of Azure Pipelines for a particular branch using their REST api.
However, I am struggling to use almost all their API's, as their documentation lacks examples.
Things like List and Get are simple enough.
However,…

Yahya Uddin
- 26,997
- 35
- 140
- 231
5
votes
6 answers
How do you check the status of a SQL Import Export Operation in Azure?
I am performing a SQL Database Import using a BacPac file to Azure using the REST management API. I need to be able to check the status of an import, as Azure does not allow for me to send events when the import succeeds.
Here is the documentation…

Colin
- 624
- 8
- 27
4
votes
1 answer
InvalidQueryParameterValue in Query Blob Contents using REST API
I'm trying to query Azure query blob content through REST API, following the documentation below
https://learn.microsoft.com/en-us/rest/api/storageservices/query-blob-contents
I made my blob contents public for testing and a GET request to blob URI…

ASHMIL
- 521
- 1
- 7
- 23
4
votes
1 answer
Any alternatives to the "connection" string when using azure storage python client library?
I am about to write my first python program to read/write remote azure storage blob (block blob).
I did some research. It is as if the storage "connection string" is absolutely mandatory. In another word, the Microsoft client-side python library…

MIkey
- 165
- 3
- 13
4
votes
3 answers
How to call Azure Rest API in C#
I'm new to C# world. I have a project where I need to collect Azure compute usage quotas across all regions from 700+ subscriptions. I have done it easily using PowerShell (Get-AzVMUsage).
I have to do it using C#. I guess I need to use Rest API…

Vinny
- 461
- 1
- 5
- 18
3
votes
3 answers
How I can I get the bearer token that i can pass to azure rest api
I want to use the azure-vm-rest-api to create the VM from c#. My problem is I don't have clientID and tenantID. I just have my Microsoft username and password. I am trying this rest API from POSTMAN and I am successfully doing it. Means I have taken…

Abhinav Sharma
- 299
- 1
- 8
- 20
3
votes
3 answers
How do I fix 'The access token is from wrong audience or resource.' when trying to access Azure's REST api using an MSAL token
I'm creating a node web app that needs to integrate with some azure services using Azure REST API. I'm using the node MSAL library for user login and retrieving an access token for making requests to the Azure REST api. I'm able to login a user…

Kyle Winckler
- 31
- 1
- 4
2
votes
0 answers
Azure DevOps REST API Error To Remove User From A Security Group / Team
I am using PowerShell to remove a user from a Team in a project .Below is the code.
$AzureDevOpsPAT = "XXXXXXXXXXXXXXXXX"
$groupid = "vssgp.UyXXXXXXXXXXXXXXUxMjkzxx"
$memberid = "tester.deer@dmain.com"
$AzureDevOpsAuthenicationHeader =…

Joe_12345
- 589
- 2
- 7
- 19
2
votes
3 answers
Azure DevOps: find out which pipelines are using specific yaml template
I am using Azure DevOps pipelines and I am looking for a quick way (e.g. REST API) to find out if certain yaml template is being used by any pipelines or not, and if it does, to get the name of the pipelines.
The only option I am aware of is to go…

D-Angelov
- 33
- 3
2
votes
1 answer
Azure rest api with Python
I am new to Azure. I need to set up an automation script to list all Ips in azure using Azure Rest APi in Python. However i couldnt been able to get any result from the API url I am passing to the request.
I am following this…

Umesh417
- 75
- 1
- 8