401 questions
0
votes
1
answer
31
views
Issue with runOnlyStage-based stage triggering using Azure DevOps YAML template expressions using API Call
We are dynamically trying to trigger specific stages in our Azure DevOps pipeline using the runOnlyStage parameter (passed via API call). The goal is to only run the stages specified, avoiding quota ...
0
votes
1
answer
203
views
Error at accessing Azure Maps Geographic API Endpoints from Web query in PowerBI
I try to use the azure maps endpoint, but i am unable to access any of the endpoints from PowerBI with the Azure Maps "primary key" from my Azure Maps account instance.
https://eu.atlas....
0
votes
1
answer
274
views
How to export Artifacts ARM Template for a Azure Synapse Workspace?
Is there a possible way to export an "Artifacts ARM Template" from a specific resource?
I have been trying to implement an Azure devops CI/CD Pipeline that migrates artifacts (Pipeline, ...
0
votes
2
answers
141
views
Azure Table Storage REST API not returning data
I have an IoT device that logs data every 3 minutes and uploads that data to Azure Table Storage every 10 minutes. This means the table entities have the built in Timestamp property and a date ...
0
votes
2
answers
60
views
Azure GraphAPI ISODate Input
I am trying to setup date on Application's password/secrets in Azure using API as per documentation Here and Here
As per document default StartDateTime = current time and EndDateTime = startDateTime +...
0
votes
0
answers
73
views
Microsoft Sentinel API - "triggerRuleRun" ExecutionTimeUtc Always Invalid
Issue Summary
I'm are trying to manually trigger a Microsoft Sentinel Scheduled Analytics Rule using the triggerRuleRun API, but it always fails with the following error:
{ "errors": { &...
0
votes
1
answer
447
views
Azure REST API can't find workflow triggers for Standard Logic App
I'm trying to work through an error with getting the callback URL for a trigger in a Standard Azure Logic App. I'm using the az rest command to reproduce the problem that I see when I try to running a ...
2
votes
0
answers
69
views
Azure Purview Metadata Restoration API Returning Empty guidAssignments
I am using the Azure Purview metadata restoration API to bulk restore metadata. While the API call returns a 200 status code and a success message, the response body contains an empty guidAssignments ...
-1
votes
1
answer
102
views
How to upload an HTML file to DevOps work item using bearer token in Python?
I’m trying to upload an HTML file as an attachment to a work item in Azure DevOps using Azure DevOps REST API. I’m using Microsoft Entra ID (Azure AD) for authentication, and I’ve managed to get the ...
1
vote
1
answer
1k
views
How to use a bearer token generated with client credentials flow in PowerShell to invoke DevOps REST API?
I'm working on a DevOps automation project and need to authenticate against a REST API using OAuth 2.0 client credentials flow. Specifically, I want to:
Obtain a bearer token using client credentials ...
1
vote
1
answer
172
views
Azure CDN Rest API Returns an empty array of Profiles and Endpoints
I'm currently working on an Azure Front Door Application that contains cache. The idea is that we have a webhook that would call our API to fetch the endpoint and purge the cache.
I've already added ...
-1
votes
1
answer
75
views
Azure Rest api to get the information of release pipeline when CI and CD are not in single pipeline
Do we have any azure rest api which can provide the data related to Associated pipelines. I have CI and CD pipeline .First I do CI pipeline and then use CD pipeline to use the latest or any other ...
0
votes
1
answer
601
views
How to retrieve sensitivity labels associated with user using API or .NET?
I’m trying to pull a list of sensitivity labels associated with a specific user using the Microsoft Graph API, but I’m hitting a wall. Here’s the API call I tried:
GET https://graph.microsoft.com/v1.0/...
0
votes
1
answer
371
views
Invalid argument error when adding Required Reviewer via Azure DevOps API
I can add myself as a Required Reviewer on a Pull Request in Azure DevOps without any issues. However, when I attempt to do this using the API, I encounter the following error:
{"$id":"...
0
votes
1
answer
223
views
Why is Azure REST API create/update index unsucessful when using vectorSearch on a field
I have a deployment script run in Azure as part of a BICEP file. The deployement script sends a API request to create the AISearchService index which is sucessful.
The problems is that none of the ...
0
votes
1
answer
663
views
How to list and purge deleted Azure Cognitive Services resources in the current subscription with Azure CLI
When redeploying Azure Cognitive Services resources I get this error message
{"code": "FlagMustBeSetForRestore", "message": "An existing resource with ID '/...
0
votes
1
answer
262
views
How to set Azure Synapse Pipeline Dataflow Rest Source Relative URL dynamic variable?
How do I set this locationid value dynamically in the relative URL of my DF Rest Source:
My design pattern is:
I need to pass the locationid from a query lookup to the ForEach. This should loop ...
0
votes
1
answer
146
views
How to format date in a chart in azure workbooks?
I'm trying to plot the response of cost management API of azure as a line chart in my azure workbook with a query of Azure Resource Manager data source. My x-axis is UsageDate and y-axis is PreTaxCost....
1
vote
1
answer
247
views
How to get the condition value for creating an eligible role assignment with excluding roles?
I’m automating Azure eligible role assignments using REST API calls and currently have a setup where Owner eligible role assignment restricts users to assign roles like Reader and Storage Blob Data ...
0
votes
1
answer
461
views
REST API for Eligible role assignment with conditions for Azure resources
I'm working on automating eligible role assignments with conditions for Azure resources via REST calls. Specifically to add condition when assigning Owner role to allow users for assigning only roles ...
0
votes
1
answer
83
views
How to get Project Name, Release Name, Release Date, Release Changes (Commit Message) From Azure Release APIs
I'm currently working on task the which is the goal from it is to give a table with the below data from all Pipeline releases on our Azure Dashboard from date 01/01/2024 to 01/06/2024.
Project Name.
...
0
votes
1
answer
864
views
Bind managed certificate to Custom Domain for Azure Container App with az CLI fails
I am trying to create a shell script to automate the creation of a managed certificate for a Custom Domain for a Azure Container App using az CLI.
The problem I am experiencing is related to an error ...
0
votes
1
answer
140
views
Trying to get all PRs from "branch/*" using Rest API
I need to get all the pull requests from /hotfix branches to /main (e.g. refs/heads/hotfix/branch1, refs/heads/hotfix/branch2, etc. to /main).
https://dev.azure.com/{ORG}/{PROJECT}/_apis/git/...
0
votes
2
answers
208
views
Obtaining the Runtime version of a function app via Azure Rest API
I need to pull the Runtime version of a Function app using APIs.
Calling https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites?...
1
vote
1
answer
2k
views
Creating Azure DevOps Workload Identity Federation with Az CLI/Az PS
does anyone know how to create an Azure DevOps "Azure Resource Manager/Workload Identity federation with OpenID Connect" Service Endpoint automated using Az CLI or Az PS terminals? Failing ...
0
votes
1
answer
182
views
What is the Azure MSAL Scope for Authenticating Service Principal to Run a Data Factory pipeline?
I'm just trying to wrap some python around the REST API call to run a data factory pipeline using the REST API pipeline create-run
I'm using the MSAL python library to authenticate the service ...
0
votes
0
answers
400
views
Mixing Azure Key Vault sign/verify and OpenSSL
Tearing my hair out trying to get Azure Key Vault's digest sign/verify operations to work with OpenSSL.
Basically, I want to be able to sign a hash with a Key Vault certificate, and then allow end ...
0
votes
2
answers
720
views
Are there any REST APIs available to retrieve the properties of a deployed Azure OpenAI model?
Are there any REST APIs available that can be used to retrieve the properties of a deployed model or obtain a list of model deployments?
I have searched through the documentation but couldn't find any ...
0
votes
1
answer
112
views
Is there any azure api which returns the compatibility of VM Size to disk supported
I am writing a code to create dynamic VM's on azure based on certain values of CPU/Memory selection, so I have written code to hit
"https://management.azure.com/subscriptions/{SUB_ID}/providers/...
0
votes
1
answer
282
views
Need to know how to add a already created test case to a test suite in Azure Test Plans using c# in Visual Studio
I am using REST API in C# in Visual Studio to create a test case in Azure Test Plans and after I would like to add that test case in a test suite still using C#.
Does anybody have any idea how?
...
0
votes
1
answer
67
views
How to add test case with test steps to azure test suite from Visual studio in c#
I need a way to add test cases with test steps from Visual Studio in C# in Azure test suite. I already tried with REST API, but I am getting an http 400 bad request error.
I tried to add a test case ...
0
votes
1
answer
73
views
Can't hide the field Deployment in a workItem
I use this rest api to hide a field from the layout, however it alway fail with the field "deployment" :
Sample url and json:
https://dev.azure.com/myNewDevOpsOrg/_apis/work/processes/...
0
votes
1
answer
489
views
Why can't i delete iteration from the board?
I use a powershell script to call the azure rest api and add new iterations and delete the three basic iteration.
For the api it work, if i get the list of iterations Iteration 1 to 3 are deleted, ...
0
votes
1
answer
205
views
Unable to find REST API documentation for Azure Bot Service [List by subscription]
I'm currently in search of the Azure REST API documentation, specifically for Azure Bot Services. I'm interested in finding the endpoint for List resources by subscription, within the [Microsoft....
1
vote
1
answer
160
views
Unable to upload file to ADLS Gen2 with Microsoft Entra ID(Service Principal) Authorization
I'm trying to upload a file to ADLS Gen2 storage with Microsoft Entra ID(Service Principal) Authorization.
Getting below error message while uploading a file to ADLS gen2 using DataLakeServiceClient
...
1
vote
1
answer
242
views
Replicate Azure Virtual Machine Managed Identity configuration REST API with PowerShell Invoke-RestMethod
I recently received helpful guidance on enabling both system-assigned
and user-assigned managed identities for an Azure Virtual Machine (VM)
through REST API calls. Now, I'm seeking assistance to ...
0
votes
1
answer
537
views
Why am I getting error 404 when I try to call an api using query ID?
I am using this api call to retrieve a list of flat workitems:
POST https://dev.azure.com/{organization}/{project}/{team}/_apis/wit/wiql?api-version=7.1-preview.2
I was able to get the list, so now I ...
-1
votes
1
answer
476
views
Microsoft API Application Permissions - List all Tenants / Future Deprecated APIs Unclear
At the moment I want to use the Graph API for an application that will list all the tenants, get all users per tenant and then list all their licenses. Due to circumstances I can only use the web ...
0
votes
1
answer
1k
views
Enable both system-assigned and user assigned identities to Azure Virtual Machine simultaneously in single REST API call
I'm attempting to configure an Azure Virtual Machine (VM) to have both a system assigned managed identity (MSI) and a user assigned managed identity using REST API calls. While I've been able to ...
1
vote
2
answers
98
views
How to make inherited process work Item editable?
In a nutshell, I created an inherited process from the REST API, when I try to add a state or a field, I get an error because it uses the reference name from the original work item, not it's own.
For ...
1
vote
1
answer
612
views
Standard ways of generating the bearer token for authorization. - When sending the get request to azure blob storage list api in postman
Continuing from this Answer, how to generate the bearer token for passing to the REST API.
Normally, for a temporary testing I have clicked on Inspect element on the browser and browsed to Azure ...
0
votes
1
answer
608
views
ResourceNotFound || The specified resource does not exist. - When sending the GET Request to "List Containers" Rest API in Postman
Following this MS Doc, but didn't get the expected result i.e., list of the containers in the storage accounts:
GET API: https://strprojuatuks001.blob.core.windows.net/?comp=list
Error is:
<?xml ...
0
votes
2
answers
166
views
How to add a field to a custom made page?
Using this api, I try to create a page with a custom field with this API: https://learn.microsoft.com/en-us/rest/api/azure/devops/processes/pages/add?view=azure-devops-rest-7.1&tabs=HTTP
It ...
0
votes
1
answer
116
views
List Blobs using Azure API Rest returns Forbidden
I'm trying to get the list of blobs inside a folder using the Azure Rest API and I'm getting 403 Forbidden for a problem building the authorization signature for the Shared Key.
Here is my source code:...
0
votes
1
answer
138
views
Method Not Allowed when using the REST API to update the json view on connections for Logic App
I want using the REST API to update the json view, just like I asked in this post:
Since the content in the json view is a lot and dynamic, I want use Get to get the content before modifying it, and ...
0
votes
1
answer
741
views
Get the permissions of users with respect to the repositories via the API of ADO
How to get the permissions of users for the repositories via the API of Azure DevOps?
0
votes
1
answer
836
views
Get application permissions from graph rest api
I have a application registered to allow (or not) do CRUD actions in Users. I would like to know if the aplication has those permissions in azure.
I have tried using several endpoints (application, ...
0
votes
2
answers
185
views
How am i supposed to add a field to the layout of a work item?
I try do add a field to a work item using this api : https://learn.microsoft.com/en-us/rest/api/azure/devops/processes/fields/add?view=azure-devops-rest-7.1&tabs=HTTP
It work (at least it did ...
0
votes
2
answers
195
views
How to send a message to a device with self signed certification as authentication in Azure IoT Hub through the REST API
I'm using Golang to send messages to Azure IoT Hub and as we may or may not know, Azure does not have an SDK for Golang.
I've found answers on how to do it throughout the REST API using the SAS token
...
0
votes
1
answer
225
views
How to create an Azure DevOps Pipeline via RestAPI and enable
My project's code is on Github, and the CI/CD pipelines are defined in Azure DevOps.
The idea is that when a new PR happens, it triggers the CI pipeline in Azure.
I've automated the creations of ...