Questions tagged [azure-rest-api]

185 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
  • 1,764
  • 2
  • 11
  • 24
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…
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
  • 18,489
  • 26
  • 104
  • 189
4
votes
5 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…
2
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://docs.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run%20pipeline?view=azure-devops-rest-6.0 Build queue - >…
Rathna
  • 33
  • 4
2
votes
1 answer

Python3 requests module PUT empty file

Using the Python3 requests module and the PUT Blob Azure Rest API to upload a file into Azure storage: file_name = "testfile.txt" url = f"https://.blob.core.windows.net/test/{file_name}?sv=" with open(file_name, 'rb') as…
2
votes
1 answer

Azure API - how to find out if a VM is running or deallocated

I am trying to generate a report of usage on a calendar and the missing metric is running/stop VS deallocated time. Looking at the API documentation there does not seems to be a straight forward way to get this information from neither the vm api or…
2
votes
0 answers

How to set current user in Azure Blockchain workbench through REST API?

I am new to Azure blockchain workbench. I have created an application. Now I am trying to preform operations through REST API. I can create users using POST /api/v1/users. I get the userID in response. I am also able to verify this using GET…
2
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…
1
vote
1 answer

ServiceNow KB in Azure cognitive services

Is there a way to integrate the ServiceNow KB in azure cognitive services? We want to use the ServiceNow KB as a knowledge base for Azure Cognitive.
1
vote
0 answers

Is there a preset query for Azure Service Connections to retrieve certificate info with the azure-devops-api?

I am working on a front end application feature to get the details from all the key vault certificates and when they expire. The app uses the service connection to authenticate and the azure-devops-sdk and azure-devops-api to pull back data for api…
1
vote
1 answer

How to get Users with Role permissions

I am using this [subscription api][https://management.azure.com/subscriptions?api-version=2020-01-01] to get the azure subscription details. but in the response we are getting authorization source has role based. How can we fetch the users present…
1
vote
1 answer

How to fetch User role in specific Subscription based on the user mail id

How to check the users role(owner, reader) in that specific azure subscription by using user mail id has parameter in azure rest apis? is there any api to get the data has mentioned above? (or) is there any api to fetch total users list with user…
1
vote
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://docs.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 HUSSAIN K
  • 135
  • 1
  • 12
1
vote
1 answer

Azure REST Call to get enterprise application single sign-on information

Trying to use the Microsoft graph API to get information about my Enterprise Applications, can get a lot of it via the applications and serviceProviders calls but I don't see a way to the information for what is available on the Single sign-on tab…
Marc Olin
  • 23
  • 6
1
2 3
12 13