azure-rest-api

Calling Azure SQL Database REST API gives the error: The authentication scheme of Basic is not supported

北慕城南 提交于 2021-01-29 07:36:45
问题 In the following code of my WPF Core client app , I am trying to use this Azure SQL Database REST API to delete a database in my Azure subscription. But I am getting the error shown below: Question : What I may be missing, and how can we resolve the issue? Remark : I found a similar example here, and I'm not sure why my code is not working. The same user name (with SQL Admin access) and password works fine when I connect to the same Azure SQL Db from SSMS - 2019 on my laptop. Code : const

not able to delete test cases in azure devops through powershell scripts

夙愿已清 提交于 2021-01-28 13:36:45
问题 I have checked How to delete multiple test cases in Azure DevOps It not works for me. Using PowerShell scripts alone, I want to delete multiple test cases in one go in Azure DevOps. Currently, portal only allows to delete one at a time. I have tried like below way, and throws exceptions. $url = "https://dev.azure.com/testarulmouzhie/testDemo_Project/_apis/test/testcases/21?api-version=5.0-preview.1" Invoke-RestMethod -Uri $url -Method Delete -ContentType application/json it throws error like

Find Attachments in Azure DevOps REST Create

主宰稳场 提交于 2020-12-15 05:58:19
问题 When I submit an Attachment to the Azure DevOps REST service (create), is there a place I can go to visualise all of the attachments in there? Or is my best course of action to just send a GET which will give me the list? My problem then becomes...that there is no way for me to delete unwanted attachments. 回答1: Is there a place I can go to visualise all of the attachments in there? Or is my best course of action to just send a GET which will give me the list? I'm afraid, yes, the best course

How to add team members in Azure Devops via API? Also Groups API does not work

巧了我就是萌 提交于 2020-06-27 06:05:15
问题 I am new to Azure Devops and currently migrating to it. I want to add team members for my azure project via REST API. I referred the following documentation, but there is no mention of it. 'Teams' API has no functionality to add Members to it, rather only to create a Team with the Team Name of your choice. https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.1 I encountered another problem in the Group Entitlements API: https://docs.microsoft.com/en-us/rest/api

failed with error Code: 2200 when retriving the data from rest api in azure data factory

本小妞迷上赌 提交于 2019-12-11 15:38:19
问题 failed with error Code: 2200 when retriving the data from rest api source to sql db in azure data factory. I have a rest api end point and i am connecting through azure data factory. Rest api returns the response in Json format and in different pages. each page contains 5000 records. i have achieved to retrieve the the pages by using foreach as shown in image. Rest api design in one date range i have 624 pages and the activity is sucessfull till 426 pages and upon started failing with below