Questions tagged [azure-management]

70 questions
145
votes
12 answers

Stopping SQL Azure DB when not in use

Is there any way to stop a SQL Azure DB so that it doesn't charge anything towards our account? I don't want to delete it, just while in testing and it's not being used than we set it to "stopped" like we can do with websites, cloud services, and…
Matt
  • 3,305
  • 11
  • 54
  • 98
12
votes
4 answers

Azure Resource Manager - How can I change the Resource Group of a Resource?

I've been combing through the Powershell commands trying to figure out how to take my currently deployed Website/SQL Database/Storage account and move them into their own Resource Group. Is it possible to move Azure "Resources" between Resource…
ericb
  • 3,400
  • 1
  • 21
  • 21
9
votes
1 answer

SQL Azure EF Database First Connection String in Azure Management Portal

I have a site running n Azure, which uses EF Database First model. If I embed the connection string in the web.config and deploy all is rosy.
8
votes
2 answers

Azure.Authenticate with interactive user login (Microsoft.Azure.Management.Fluent)

I used to manage Azure resources an old preview version. The authentication worked something like this: // Authorize this.AuthenticationResult = this.Authorize(); this.Credentials = new TokenCloudCredentials(config.SubscriptionId,…
6
votes
1 answer

Subscription could not be found in Azure Management API

I'm trying to create a Kubernetes cluster using Azure Management API. var credentials = SdkContext.AzureCredentialsFactory .FromFile(Environment.GetEnvironmentVariable("AZURE_AUTH_LOCATION")); var azure = Azure .Configure() …
6
votes
1 answer

Right way to create staging and Prod environment in Azure

We want to create two environments on Azure. These two environments will be used as Staging and Production, but we want to be able swap between them very easily, so staging can act like prod and vice versa. These two environments will contain Azure…
5
votes
1 answer

Cannot update Azure Deployment when it is using Reserved IPs

I’m trying to install a diagnostic extension via API into an existing Azure cloud service. Cloud Service has a reserved IP assigned. I’m getting “A reserved IP cannot be added, removed or changed during deployment update or upgrade.” when doing so…
Igorek
  • 15,716
  • 3
  • 54
  • 92
4
votes
1 answer

How do you get a token for an azure managed identity via REST interface?

This question refers to the article: https://learn.microsoft.com/en-us/azure/app-service/app-service-managed-service-identity I'm trying to figure out how I can simulate using the service principal that is generate for my azure application to work…
darewreck
  • 2,576
  • 5
  • 42
  • 67
4
votes
1 answer

Add SSL Bindings to Azure Website through C# Azure Managmenet libraries

I'm using Microsoft.WindowsAzure.Management.WebSites 4.4.2-prerelease library to create/modify Azure WebApps. I can create the app, can change settings, can add a custom domain. Next step is to add SSL certificate. Here is how I do it: public async…
trailmax
  • 34,305
  • 22
  • 140
  • 234
3
votes
1 answer

Unable to create Azure WebSpace

I'm trying to create a new Website using the nuget package Microsoft.WindowsAzure.Management.WebSites (Version 3.0.0) This tutorial has been helpful (even though its…
Sam7
  • 3,382
  • 2
  • 34
  • 57
3
votes
1 answer

The certificate could not be deleted from cloud service XXX

I'm trying to remove a certificate (via the Management Portal) that is due to expire on 16/07/2014 days and I'm getting this error: The certificate I'm trying to delete was automatically generated 'CN=Windows Azure Tools' and was used for Remote…
2
votes
1 answer

Azure Dashboard Widget for Monetary Credit

How can I add such a pie chart widget for monetary credit to my Azure Dashboard?
Konrad
  • 4,329
  • 10
  • 54
  • 88
2
votes
3 answers

How to find the Azure Subscription creation date using Azure CLI?

Is there a way to find the Creation Date of my Azure Subscription using Azure CLI?
GilliVilla
  • 4,998
  • 11
  • 55
  • 96
2
votes
1 answer

How to connect to an azure subscription using a connection token?

I am trying to connect to my azure subscription , I have a code which allow me to get the Token var authContext = new AuthenticationContext(string.Format ("https://login.windows.net/{0}", tenantId)); var…
Maroine Abdellah
  • 576
  • 1
  • 5
  • 21
2
votes
1 answer

How to power on a VM in azure?

The title says it all. I've tried lots of things but I don't think any of them are worth mentioning. I have finally figured out to avoid Microsoft.WindowsAzure and have installed the Microsoft.Azure.Management.Compute and Microsoft.Azure.Common…
sirdank
  • 3,351
  • 3
  • 25
  • 58
1
2 3 4 5