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

353 questions
2
votes
1 answer

Retrieving list of secrets from azure keyvault in python

I'm trying to retrieve and print a list of secrets from an azure keyvault use the python sdk. The following returns an paged.SecretItemPaged object: from azure.keyvault import KeyVaultClient, KeyVaultAuthentication from azure.common.credentials…
Setanta
  • 941
  • 1
  • 12
  • 24
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
2 answers

How to run azure function deployed on portal manually via Kudu Api dynamically?

I have a time trigger azure function deployed on portal. It runs daily at 10:00 am. However, there is now a requirement that function should also be invoked and run on some other time dynamically as well. I know how to set the trigger in…
Karan Desai
  • 3,012
  • 5
  • 32
  • 66
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
  • 533
  • 1
  • 8
  • 20
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

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
  • 31,051
  • 11
  • 110
  • 173
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…
2
votes
2 answers

Azure python SDK - AzureHttpError: The condition specified using HTTP conditional header(s) is not met

I'm trying to download a large VHD file (30GB) from Azure Blob Storage using the following code: blob_service.get_blob_to_path('vhds', '20161206092429.vhd', '20161206092429.vhd') where the first parameter is the container name, the second the blob…
Vini.g.fer
  • 11,639
  • 16
  • 61
  • 90
1
vote
1 answer

Azure golang SDK - Assign AcrPull role to AKS cluster

Having created an AKS cluster and ACR -- I am now trying to programatically grant the AKS cluster the AcrPull role. Currently I am attempting to do this using the RoleAssignmentsClient.Create() function from the golang SDK. Here is what I have tried…
1
vote
2 answers

Azure Cognitive Search - Keyword search in long text - Not returning expected results

Searching for entries in a keyword-field stored in an Azure Cognitive Search index not returning expected results when searching for them in a long text. Multi word tokens as 'microsoft azure' are not returned as a match when looking in the text…
1
vote
1 answer

Get Access token from AZURE AD SDK Java and use the same token for subsequent calls to get users and groups

I am supposed to get Access token from Azure AD using SDK java ( i have the clientid, clientSecret and tenantId), and send the Access token to the UI. Next this token is sent in the request headers of an api call and i need to use this access token…
Avinash Reddy
  • 2,204
  • 3
  • 25
  • 44
1
vote
1 answer

How to know or validate azure ad token is expired and re-create it through SDK java (TokenCredentialAuthProvider)

I am using the following code to get the token, based on the below code how do we know the token is expired and get a new token try { final ClientSecretCredential clientSecretCredential = new ClientSecretCredentialBuilder() …
Avinash Reddy
  • 2,204
  • 3
  • 25
  • 44
1
vote
2 answers

Azure Resource Manager DNS: Sample code to create a DNS record

I'm currently trying to move out from using old Microsoft.Azure.Management.Dns package to the new Azure.ResourceManager.Dns. However I've been having issues in our code that creates Dns records such as an Arecord. I've tried to go through the…