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
17
votes
4 answers

How to create ServiceClientCredential to be used with Microsoft.Azure.Management.Compute

I am trying to programmatically retrieve the HostedServices from Microsoft.Azure.Management.Compute using C#. This requires ServiceClientCredential and I do not know how to get it. How can I instantiate this class? I am able to get them using…
user5748653
  • 171
  • 1
  • 1
  • 5
16
votes
3 answers

Using authentication token in azure sdk fluent

To authenticate with Azure in azure sdk fluent nuget, there is a method that uses client id and secret as below var azureCredentials = new AzureCredentials(new ServicePrincipalLoginInformation { ClientId = "ClientId", …
Saravanan
  • 792
  • 8
  • 22
6
votes
1 answer

Azure function is not triggering on scheduled time

Note: Even though it may seem duplicate, My issue is different and I request you to read complete description before hastily marking the question down just by reading Question title. I opened "Azure function is not triggering on scheduled time "…
Karan Desai
  • 2,422
  • 3
  • 27
  • 56
5
votes
1 answer

Is there a limit on the amout of Azure Blob Storage SAS keys generated per hour?

According to this article detailing the limits of Azure Storage, there is a limit on the number of Azure Resource Manager requests that can be made. Additionally, this article details limits of the ARM API. A post here claims they ran into issues…
5
votes
3 answers

Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.Project'

I am in the process of creating Azure Resource Manager deployment templates for my project using the Azure Resource Group Project in Visual Studio 2015 project templates. I successfully managed to create the projects before. But today, I updated the…
4
votes
1 answer

How to find out if Azure Virtual machine is (un)managed?

How to tell if Virtual machine is (un)managed? Meaning whether VM has only (un)managed disks since those cannot be mixed (to my knowledge). I was originally using Azure Fluent SDK. But I am having some trouble with that and there are even some…
robot40q
  • 49
  • 1
4
votes
2 answers

Configuring CORS in a Terraform Azure App Service Resource

I have the following Terraform resource for configuring an Azure app service: resource "azurerm_app_service" "app_service" { name = "Test-App-Service-3479112" location =…
Preston Martin
  • 2,173
  • 2
  • 21
  • 36
4
votes
1 answer

Programmatically get the amount of instances running for a Function App

I'm running an Azure Function app on Consumption Plan and I want to monitor the amount of instances currently running. Using REST API endpoint of format https://management.azure.com/subscriptions/{subscr}/resourceGroups/{rg} …
Mikhail Shilkov
  • 30,280
  • 3
  • 56
  • 87
4
votes
1 answer

Obtaining Azure Access Token for German Cloud

I have a small program which fails while trying to obtain the Access Token for the Azure German Cloud public static String generateAccessToken(AzureAccount accountValue) throws MalformedURLException, InterruptedException, …
3
votes
1 answer

Is Pulumi that magical when compared to using Azure .NET SDK?

I'm with a dilema here about which SE site to ask this question so please help me out if it should be somewhere else. I've been looking into Infrastructure as Code solutions. Didn't like Terraform too much. The lack of intellisense makes…
Fabio Milheiro
  • 7,239
  • 13
  • 51
  • 87
3
votes
1 answer

Accessing Key Vault with @azure/identity and get error 'Request is missing a Bearer or PoP token Error 401'

I'm trying to retrieve some secrets from Azure's keyvault but I cannot seem to authenticate using @azure/identity module. Versions: "@azure/identity": "^1.0.0-preview.6", "@azure/keyvault-secrets": "^4.0.0-preview.9", I have an azure functions app…
3
votes
1 answer

NodeJS for Azure CLI command: az resource show $resourceID

I'm trying to figure out if resources exist in Azure by using their resource ID. The Azure CLI command would be az resource show $resourceID. My application is in NodeJS. Is there some equivalent in NodeJS I can use in my application? If not, is…
3
votes
5 answers

Using Azure Key Vault and Active Directory to Retrieve Secrets

For a Python code base I would like to have developers accessing application secrets using Azure Key Vault, with the idea that when we deploy, the application also should be able to connect. Hence, I'm thinking Active Directory. However, I can not…
3
votes
1 answer

Gathering information about vm's in a resource group

Would someone be able to share or point to some sample code which basically extracts the information in the following link (https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinesizes/list) from each vm in a resource group? Thanks!
3
votes
2 answers

Create LogicApp and API Connections ARM Template using DotNet SDK

I have created Azure Logic App using Dot.Net SDK. Logic App created successfully but for Trigger and Action i want to use existing Connector. I have manually created connector to Azur Portal. I am passing that Connector's APIConnection or Id to…
1
2 3
16 17