Questions tagged [azure-sdk]

Use this tag for questions that has to do with the several SDKs and command-line tools, provided by Microsoft Azure.

Azure SDK is an additional set of templates and tools that help you access even more cloud resources and services to improve your Azure development experience. Use these tools to deploy infinitely-scalable applications and APIs, configure diagnostics, create and manage app service resources, and more.


Source: Microsoft Azure

255 questions
2
votes
0 answers

Azure ad sdk doesnot fetch Intunes company portal login for SSO

I have integrated Azure ad in my iOS app. I need to perform SSO when I have already logged into my Comp Portal app(Microsoft Intunes). Note: I am able to perform auto sign-in when I have Authenticator app installed, however this doesn't work if I…
2
votes
1 answer

Azure Fluent API - AppServicePlanOperations.ListMetricsWithHttpMessagesAsync Returns InternalServerError

The documentation for this method can be found here Here is my code: var appServiceManager = AppServiceManager.Authenticate(credentials, subscriptionId); var filter = "(name.value eq 'CpuPercentage') and startTime eq…
2
votes
1 answer

Throttling issue while listing Azure Storage Accounts

I am using Azure JAVA SDK and am trying to list the Storage Accounts for the subscription. But I am intermittently getting this exception response. com.microsoft.azure.CloudException: Status code 429, …
user1142317
  • 395
  • 3
  • 18
2
votes
2 answers

How Storage API can be used to get Azure Classic VM metrics?

Can we collect metrics for Azure Classic VM using Storage API or is there any other way to get the metrics for Azure Classic VM please suggest.
2
votes
1 answer

Azure KeyVault iterate over all secrets in a vault

For the sake of simplicity let assume I want to build a dictionary from all the secrets in specific vault with the Secret Name and the Secret Value, using Azure REST API. The problem I'm facing is that the Get Secrets API call returns…
Shai Asher
  • 70
  • 6
2
votes
1 answer

Trying to publish an Azure API. VS2017 doesn't seem to have the latest Azure SDK

I'm using Visual Studio 2017. I've developed a web API and I'm publishing it to Azure. The API isn't showing up in the Azure Portal, but it is in the Azure Resource Explorer. I did some research, and I found this article that says the the API is…
2
votes
1 answer

Azure CDN - Custom Domain SSL via Resource Management API

Using the latest Azure Powershell SDK, but still can't seem to create Custom SSL Domains for CDNs in Azure via API Management. We have 100s of subdomains to create and need to be able to script the creation of this task for future extensibility.…
SliverNinja - MSFT
  • 29,007
  • 10
  • 98
  • 161
2
votes
1 answer

Visual Studio "Add REST API Client" not working

I am unable to use the Add... REST API Client... option in Visual Studio 2015 with all the latest updates and Azure Tools v2.9 installed. When I select the option I am presented with the proper dialog to provide either a url or the file path for the…
1
vote
1 answer

ITrustFrameworkPolicyCollectionPage "Can not be resolved to a type"

I am trying to use Graph APIs to get list of "Azure B2C AD TrustFrameworkPolicy" in Java These are my dependencies in the POM com.microsoft.graph
1
vote
1 answer

How to generate Security PIN from Recovery Services vault using .Net SDK?

Currently I am trying with below code but getting System.NullReferenceException: 'Object reference not set to an instance of an object.'. using Microsoft.Azure.Management.RecoveryServices.Backup; public static ISecurityPINsOperations SecurityPINs {…
1
vote
2 answers

Create and Delete Availability Test using Azure SDK C#

Cannot find a way how to create or delete Availability Test with C# Azure SDK. I don't see anything in the fluent SDK and traditional either. I've managed to create Availability Test programmatically by using ARM template and running it with C#…
elklusek
  • 49
  • 7
1
vote
1 answer

How do I successfully enable the diagnostic settings of windows virtual machine using Rest API?

Enable diagnostic by Azure REST API: I'm using the Azure REST API to enable diagnostic. Below is the request that I send to Azure. Method: PUT HEADERS: Authorization:Bearer {Access_token} Content-Type:application/json Request…
1
vote
1 answer

Which Azure ServiceBus SDK should be used?

At the time of this post there are two Azure Service bus SDKs sitting within sdk/servicebus: Microsoft.Azure.ServiceBus Azure.Messaging.ServiceBus They have both been updated very recently (past week). This ms doc (written two weeks ago)…
Mark Cooper
  • 6,214
  • 5
  • 51
  • 85
1
vote
1 answer

Python class self value error, Expected type 'str' got Tuple[str] instead, azure ClientSecretCredential

I've created a class and trying to assign one of its values to something that expects a string, however it is saying it is getting a Tuple[str] instead, and I don't see how? from azure.identity import ClientSecretCredential class…
Ari
  • 2,499
  • 2
  • 24
  • 54
1
vote
0 answers

Azure Function App Cannot Read Base64 Encoded Message with Queue Trigger

I have two applications. The first one is a service written in C++ that produces messages to an Azure queue and a function app written in C# that consumes those messages. I write to the queue with Azure SDK void send_to_queue (const string &…
1 2
3
16 17