Questions tagged [azure-rest-api]
320 questions
1
vote
1 answer
How to get "Required reviewers" using RestAPI from specific branch on Azure DevOps Services?
Getting the branch policy from Azure DevOps Services return only the policy type but not the "Required reviewers" - looking for Reviewer Name or Team Name .
I could not find a call to extract the "Required reviewers" from the selected…

galsi
- 421
- 1
- 6
- 19
1
vote
2 answers
Power BI :: Create column in table that queries REST API based on elements
I'm using the Azure Cost Management connector in Power BI Desktop to query our Azure Portal and pull data from the Cost Management.
GOAL: I would like to create a column with the 3 year Reservation so we can forecast what we could spend. The data…

Francesco Mantovani
- 10,216
- 13
- 73
- 113
1
vote
1 answer
Create b2c tenant failed from both ARM API and Portal
From our previous ask, we got to know how to create b2c tenant using ARM API. This is the reference: https://learn.microsoft.com/en-us/rest/api/activedirectory/b2c-tenants/create?tabs=HTTP#scopes
PUT…

Suvmam950
- 25
- 5
1
vote
1 answer
Any graph api call to create Azure b2c tenant
We want to create Azure b2c tenant using Graph api.
We tried searching in Internet and got how to create b2c tenant from portal. This is the reference we found: https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-create-tenant
But…

Suvmam950
- 25
- 5
1
vote
1 answer
Is it possible to get a batch of text content through Azure DevOps REST API?
I need to get (not download) the content from 10.000~ manifest files within a project in Azure DevOps, but I don't manage to achieve this. I have found several ways to retrieve the content from one file at a time, but in this context, it is neither…

agoSwitch
- 21
- 2
1
vote
2 answers
Azure resource visualizer API to generate SVG or PNG?
Is there any Azure Rest API to get the Resource visualizer in the SVG or PNG format?

Dadwals
- 1,171
- 2
- 8
- 15
1
vote
1 answer
Azure DevOps pipeline authentic with service principle for API
I was trying to create an Azure DevOps pipeline with the help of REST API. But I know that the authentication can be established with the help of a token. But anybody knows how to authenticate Azure DevOps with the help of the service principle for…

Techiescorner
- 791
- 2
- 12
- 25
1
vote
1 answer
Malformed error while generating token for outlook and then exchanging with graphapi
When I try to generate access token for a user in Outlook and then Exchanging Access Token for graph Api it failed with malformed error.
To generate access token, I passed these values
Complete error is:
{
"error": "invalid_grant",
…

smithr
- 13
- 2
1
vote
1 answer
Filter with drivetype in Graph API giving invalid filter clause error
My requirement is to get only the document library list of SharePoint via Rest API.
I added Files.ReadWrite.All application permission and got token with scope: https://graph.microsoft.com/.default
To filter only document library of SharePoint, I'm…

Tanya agarwal
- 15
- 4
1
vote
1 answer
How can I view logs from Azure REST API requests?
Assume I send a request to the Azure REST API:
az rest
--method GET
--uri 'https://graph.microsoft.com/v1.0/applications/000000-00000-00000-00000'
| ConvertFrom-Json
If a request fail I get an error message:
{
"error":
{
…

Kristoffer Jälén
- 4,112
- 3
- 30
- 54
1
vote
1 answer
How can I grant consent to my own app in azure, in case I am not global admin in tenant?
Given I have created an app using this repository in Azure.
And this app is deployed using a Service Principal which was created by below command:
az ad sp create-for-rbac --name "fxpricepredictor" --role contributor --scopes…

Sal-laS
- 11,016
- 25
- 99
- 169
1
vote
1 answer
auto-ml-forecasting-many-models retrieve training results
I'm following the Python SDK tutorial for training many models: Here a link to the notebook
So everything is working fine, but now I'm interested in the training results. When I check the Azure ML Studio I can see the pipeline steps as followed:…

Robin Reiners
- 36
- 3
1
vote
1 answer
Issues using rest api body in powershell with Azure cli
I'm trying to az rest put command to enable one extension on my vm but have some issues with my body and don't know what should I try next or change. My syntax is probably wrong
These are my lines
az rest --method put --uri…

Bombbe
- 153
- 1
- 11
1
vote
1 answer
How to get all key secrets after rest api collect all secrets in Azure Key Vault
Have a nice day everyone!
I have a VMware Windows Which has permission in key vault and I want to collect all key secrets but the code below when it finished just has ID + Attributes not consist value of Key secrets. Anyone can help me finish the…

ATY
- 41
- 5
1
vote
1 answer
How to extract data from avro/binary response using nodejs(prebuilt libraries)
I'm using nodejs to send rest api call to azure Query Blob Contents to read csv file. I managed to get the response back, but the issue is response is in avro/binary format like below.
Here i need to extract hostname & serial. How to handle this…

Vinoth
- 37
- 1
- 5