Questions tagged [azure-rest-api]

320 questions
1
vote
1 answer

How to extract azure resource template format either via REST API, Powershell or Azure CLI

Is there a way to extract azure resource template formats programmatically (REST API, Powershell, Azure CLI)? The end result should be something along the lines of the JSON presented here, that includes datatypes…
TechnoCowboy
  • 344
  • 2
  • 15
1
vote
1 answer

List Blobs in Container having 1000+ (large number of files). [AZURE-STORAGE][REST]

I am trying to make a get List of Blobs in a Container REST call to my Azure storage account. Currently, I have a limited number of files and the response that I get is in the following format as specified in official doc.: But if there are 1000s…
1
vote
0 answers

Access Azure cost management API data from Azure Data Factory using managed identity

I have a data factory v2 with managed identity automatically assigned to it (object id + tenant id). I also have a resource accessible through Azure's Cost Management REST API What I'd like to do is try to create REST linked service and authenticate…
user2128702
  • 2,059
  • 2
  • 29
  • 74
1
vote
1 answer

Renaming a file using Azure DevOps Rest API

I'm creating an Azure function for a renaming a file in an Azure DevOps Repository but need the 'oldObjectId' which is the last 'commitId' from the Get Commits API call i.e. GET…
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
1 answer

Azure get access token via javascript

I'm trying to get an access token from Azure. I was following this tutorial, but the thing is that the guy's using postman. It works for me in postman as well, but it fails in javascript and I don't understand why. function getAccessToken() { …
Vivere
  • 1,919
  • 4
  • 16
  • 35
1
vote
2 answers

Upload/Encode files via REST API

I can't seem to find any documentation for uploading and encoding on the microsoft docs for AMS. All I see is live stuff. I do see this on the dotnet SDK, but not for node.js, so I'm trying to find something using the REST API. Does anyone have any…
user14853506
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

how to construct header for (REST API) azure storage SAS (shared accesss signature)

I am debugging a client application calling REST API embedded with AZURE storage SAS-shared access signature to access azure storage resource. However, it is not getting through. The azure threw out an error stating that the mandatory header is…
MIkey
  • 165
  • 3
  • 13
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
  • 59
  • 7
1
vote
1 answer

how to use nextmarker parameter for Azure list blobs rest api using PowerShell

using the below script I am able to get the blobs but since I have more than 5000 items so need to use next marker to get all the result so needed a help forming $stringtosign for marker and $URL for next marker. Need help with code inside If…
1
vote
1 answer

Azure Dev Ops REST API - Is there a way to get the final cumulative changes in a pull request

I want to get all the file contents that are included in a pull request. I tried the rest API endpoint https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull%20request%20commits/get%20pull%20request%20commits?view=azure-devops-rest-6.0 and…
Tom
  • 129
  • 3
  • 11
1
vote
1 answer

Creating resource groups in Azure with c#

https://learn.microsoft.com/en-us/rest/api/resources/resourcegroups/createorupdate Authentication for this call is Azure Active Directory OAuth2 Flow, however I am unable to use impersonation and it will be running as a function. To call the graph…
john
  • 177
  • 1
  • 11