Questions tagged [azure]

Microsoft Azure is a Platform as a Service and Infrastructure as a Service cloud computing platform. Use this tag for programming questions concerning Azure. General server help can be obtained at Super User or Server Fault.

azure
Filter by
Sorted by
Tagged with
305 votes
11 answers
145k views

Cannot determine the organization name for this 'dev.azure.com' remote URL

So I just updated to a new Visual Studio version and I am no longer able to push/pull from/to my Azure Repo (cloning works fine). The exact error I get is Cannot determine the organization name for ...
Menyus's user avatar
  • 6,823
294 votes
23 answers
292k views

Could not load file or assembly "System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

I've copied my project to a clean Windows 10 machine with only Visual Studio 2015 Community and SQL Server 2016 Express installed. There are no other framework versions installed apart from those ...
Ivan-Mark Debono's user avatar
246 votes
10 answers
56k views

What is the difference between an Azure Web Site and an Azure Web Role

What are the material differences between the new Azure Web Sites and the traditional Azure Web Roles for an ASP.NET MVC application? What reason would I choose a "web site" over a "web role" or vice ...
Erv Walter's user avatar
  • 13.8k
242 votes
9 answers
94k views

Azure Webjobs vs Azure Functions : How to choose

I've created some Azure Webjobs that use triggers and I've just learnt about Azure Functions. From what I understand Azure Functions seem to overlap with Azure Webjobs features and I have some ...
Thomas's user avatar
  • 27k
234 votes
24 answers
148k views

How do I copy SQL Azure database to my local development server?

Does anyone know how I can copy a SQL Azure database to my development machine? I'd like to stop paying to have a development database in the cloud, but it's the best way to get production data. I ...
BZink's user avatar
  • 7,817
222 votes
28 answers
292k views

How to get the azure account tenant Id?

My question is: Is it possible to get the azure active directory tenant id without using powershell command? I found this two blogs and with this help, I'm already able to get the tenant ID and ...
Annie Vincent's user avatar
206 votes
16 answers
130k views

Publish error: Found multiple publish output files with the same relative path

When I publish my ABP project I get the following error: C:\Program Files\dotnet\sdk\6.0.100-rc.1.21458.32\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): error ...
Nader Gharibian Fard's user avatar
173 votes
14 answers
118k views

Azure: Is there a way to view deployed files in Azure?

Is there a file "view" available in Azure? When I log in to Azure to look at a website I've deployed there is no obvious see exactly what files Azure is hosting. I can see there's the ...
John Reilly's user avatar
  • 6,001
168 votes
3 answers
59k views

Why does Azure deployment take so long?

I'm trying to understand why it can take from 20-60min to deploy a small application to Azure (using the configuration/package upload method, not from within VS). I've read through this situation and ...
emptyset's user avatar
  • 3,214
167 votes
8 answers
260k views

Azure Cli how to change subscription default

I have 3 subscription in my Azure Account, I need to change the default subscription. When i Run the command: azure account list I have this output: I have tried to change the default or current ...
chemitaxis's user avatar
  • 14.4k
162 votes
14 answers
228k views

Microsoft Azure: How to create sub directory in a blob container

How to create a sub directory in a blob container for example, in my blob container http://veda.blob.core.windows.net/document/ If I store some files it will be http://veda.blob.core.windows.net/...
veda's user avatar
  • 6,486
160 votes
7 answers
104k views

Difference between "enterprise application" and "app registration" in Azure

Could someone please tell me what the difference is between "enterprise application" and "app registration" in Azure. Appreciate if you could give me an example & why some application cannot be ...
POSH Guy's user avatar
  • 1,888
159 votes
11 answers
51k views

How do I delete an Azure storage account containing a leased blob?

I was playing with Windows Azure durable virtual machines. In the end, I deleted the virtual machine (successfully) and tried to delete the associated storage account. The request to delete the ...
Fernando Correia's user avatar
159 votes
13 answers
118k views

Checking if a blob exists in Azure Storage

I've got a very simple question (I hope!) - I just want to find out if a blob (with a name I've defined) exists in a particular container. I'll be downloading it if it does exist, and if it doesn't ...
John's user avatar
  • 5,482
158 votes
3 answers
74k views

Azure Blob Storage vs. File Service [closed]

Please correct my wrongs. From my reading on the topic so far, it appears to me that both, Azure Blob Storage and File Service offer the ability to store file(s) and folder(s) (I understand that blobs ...
Water Cooler v2's user avatar
154 votes
7 answers
129k views

How to re-create database for Entity Framework?

I have got into a bad state with my ASP.Net MVC 5 project, using Code-First Entity Framework. I don't care about losing data, I just want to be able to start fresh, recreate the database and start ...
Toby Sharp's user avatar
  • 2,049
149 votes
13 answers
110k views

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" ...
Matt's user avatar
  • 3,223
147 votes
16 answers
187k views

Could not load file or assembly System.Web.Http.WebHost after published to Azure web site

I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue? Could not load file or assembly 'System....
ca9163d9's user avatar
  • 28.3k
141 votes
22 answers
86k views

Azure table storage returns 400 Bad Request

I ran this in debug mode, and I attach an image with the details of the exception. How can I know what went wrong? I was trying to inset data in a table. Can't azure give me more details? Obs: The ...
Ryan's user avatar
  • 5,506
134 votes
6 answers
57k views

Azure SQL Database Bacpac Local Restore

I've created a BACPAC backup of my Azure SQL Database using the "Export" option within the Azure Management Console. Having downloaded this to my machine I'm a little stuck on how I can restore this ...
Ben Foster's user avatar
  • 34.6k
134 votes
8 answers
159k views

What is the difference between an Azure tenant and Azure subscription?

I am struggling to distinguish how an Azure Subscription and an Azure tenant are different? I have tried figuring it out using examples but each time I come to the conclusion that they are the same ...
DMQ95's user avatar
  • 1,341
133 votes
9 answers
76k views

What is the simplest way to run a timer-triggered Azure Function locally once?

I have a few C# Azure Functions that run on a schedule using timer triggers. I've set them up like so, where %TimerSchedule% refers to a cron expression in the app settings: public static void Run([...
Reilly Wood's user avatar
  • 1,973
130 votes
5 answers
75k views

How can I use NuGet packages in my Azure Functions?

Using Azure Functions, can I reference and use NuGet packages in my C# function?
Fabio Cavalcante's user avatar
119 votes
4 answers
142k views

Where can I find my Azure account name and account key?

I am starting with Windows Azure. I have an Azure account with Microsoft and would like to use it from my Visual Studio project In the Azure management portal, I can see the primary access key and ...
user380719's user avatar
  • 9,753
118 votes
4 answers
97k views

In Windows Azure: What are web role, worker role and VM role?

The application I work on contains a web role: it's a simple web application. I needed to host the application in Windows Azure, so I created a web role. I actually want to know what these roles are ...
Kuntady Nithesh's user avatar
117 votes
11 answers
86k views

How to run Azure Function app on a different port in Visual Studio

I am setting local host port in local.setting.json. Referring Microsoft doc https://learn.microsoft.com/en-us/azure/azure-functions/functions-run-local The file looks like below { "IsEncrypted": ...
Ramkumar Singh's user avatar
114 votes
7 answers
67k views

What is the difference between an API App and a Web App?

I've been reading a few tutorials now on deploying Web Apps and API Apps to Azure. However, I am still a little unsure as to why you would use one over another. I can create a new .NET solution with ...
envio's user avatar
  • 1,335
113 votes
16 answers
198k views

The configuration file 'appsettings.json' was not found and is not optional

The Azure error is: .Net Core: Application startup exception: System.IO.FileNotFoundException: The configuration file 'appsettings.json' was not found and is not optional. So this is a bit ...
Frank's user avatar
  • 1,341
112 votes
13 answers
75k views

'Microsoft.SqlServer.Types' version 10 or higher could not be found on Azure

I'm trying to make a webapi in ASP.NET MVC 4. The webapi used Entity Framework 5 Spatial types and i have wrote a very simple code. public List<Area> GetAllAreas() { List<Area&...
Thomas Bolander's user avatar
109 votes
8 answers
105k views

AADSTS70005: response_type 'id_token' is not enabled for the application

AADSTS70005: response_type 'id_token' is not enabled for the application I am getting above error even after setting "oauth2AllowImplicitFlow": true, in manifest.
Jajula Siva's user avatar
  • 1,109
108 votes
11 answers
107k views

Set Content-type of media files stored on Blob

We have a website hosted on Azure. It is media based, and we are using JWPlayer to playback media with HTTP pseudostreaming. The media files are stored on blob in 3 formats - mp4, ogg, webm. The ...
Rahul Patwa's user avatar
  • 2,419
108 votes
15 answers
240k views

Error when connect database continuously

When I am querying from database in continuous looping, after some time I get an error : An exception has been raised that is likely due to a transient failure. If you are connecting to a SQL ...
user3928324's user avatar
  • 1,081
107 votes
12 answers
141k views

'Unable to Authenticate' when trying to connect to Azure DevOps Artifacts feed through npm; I get an E401 error

I'm trying to connect to a Azure DevOps Artifacts feed, but I keep getting an E401 error. I've tried on a different computer and it connected just fine. I've uninstalled, and reinstalled my Node.js, ...
CourtneyH's user avatar
  • 1,071
107 votes
9 answers
99k views

Password reset for Azure database

I have a new Azure account. I am able to log into the 'manage' page as admin, but I forgot the password to one of my databases. I would like to reset the password on that one DB. How do I do that? ...
Yosem's user avatar
  • 4,705
103 votes
21 answers
75k views

BuildTasks.Csc task could not be loaded from the assembly?

I feel guilty asking a question like this around here, but I'm at a loss and would appreciate some help. A proof-of-concept like web application was built on one PC and put up on a repo to download ...
Softerware's user avatar
  • 2,545
101 votes
25 answers
141k views

Missing value for AzureWebJobsStorage in local.settings.json local development in Visual Studio 2017

I'm developing an Azure Function locally, with the Storage Emulator and de Storage Explorer opened. File tree local.settings.json { "IsEncrypted": false, "Values": { "...
rubens.lopes's user avatar
  • 2,475
101 votes
5 answers
126k views

Connecting to an Azure website via FTP using Azure login credentials

What login credentials do I use to connect to the FTP site that is listed on the dashboard of my Azure? I tried using the same credentials I use to log into Azure, but this failed.
Klaus Nji's user avatar
  • 18.4k
101 votes
5 answers
23k views

Is it better to have many small Azure storage blob containers (each with some blobs) or one really large container with tons of blobs?

So the scenario is the following: I have a multiple instances of a web service that writes a blob of data to Azure Storage. I need to be able to group blobs into a container (or a virtual directory) ...
encee's user avatar
  • 4,614
101 votes
2 answers
67k views

How do I change the name of an Azure Resource Group?

After the new model was implemented, all of my websites now belong to individual Resource Groups called "Default-Web-East" and all of my SQL databases belong to individual Resource Groups called "...
Jay Mathis's user avatar
  • 1,155
99 votes
6 answers
73k views

How to switch accounts via VS Code Azure Account Extension

I've signed into one of my Azure accounts with Azure Account Extension via VS Code. I didn't find any button to sign out or switch accounts. How do I sign out or switch accounts?
Andy Lai's user avatar
  • 1,794
96 votes
9 answers
160k views

How do I create a new user in a SQL Azure database?

I am trying to use the following template: -- ================================================= -- Create User as DBO template for SQL Azure Database -- ===============================================...
user avatar
96 votes
5 answers
31k views

Difference between new and classic storage accounts in Azure

Azure has Storage accounts and Storage accounts (classic) in the Azure Portal. What are the differences between them? Is there any reason to migrate from a classic storage account to a new storage ...
James Newton-King's user avatar
95 votes
5 answers
134k views

Azure SQL Database "DTU percentage" metric

With the new Azure SQL Database tier structure, it seems important to monitor your database "DTU" usage to know whether to upgrade or downgrade to another tier. When reading Azure SQL Database ...
Dave New's user avatar
  • 39.3k
93 votes
11 answers
34k views

What is going wrong with web deployment from Visual Studio and App service?

Suddenly Web Deployment started failing. Could not find file 'D:\home\site\wwwroot\App_Offline.htm'. I stopped the service, but deployment still fails. When I tried to delete any file from wwwroot ...
Rambalac's user avatar
  • 2,672
93 votes
9 answers
144k views

Azure Blob Storage "Authorization Permission Mismatch" error for get request with AD token

I am building an Angular 6 application that will be able to make CRUD operation on Azure Blob Storage. I'm however using postman to test requests before implementing them inside the app and copy-...
SebastianG's user avatar
  • 9,027
93 votes
6 answers
89k views

Differences between Azure Block Blob and Page Blob?

As I recently started mingling around with Windows Azure, I've came up to a situation where, which one to go for between the Block Blob & Page Blob. I'm currently in progress of uploading some ...
Kulasangar's user avatar
  • 9,264
93 votes
8 answers
108k views

Azure Cosmos DB - Understanding Partition Key

I'm setting up our first Azure Cosmos DB - I will be importing into the first collection, the data from a table in one of our SQL Server databases. In setting up the collection, I'm having trouble ...
Stpete111's user avatar
  • 3,179
92 votes
7 answers
142k views

How and where to define an environment variable on Azure

I have an ASP.NET MVC web application deployed to Azure. I'm reading my setting using the GetEnvironmentVariable(...) method. The problem is that I can't find a way to define this environment ...
Jaroslaw Stadnicki's user avatar
91 votes
7 answers
78k views

Difference between Service Principal and Managed Identities in Azure

I would like to know if it is always recommended to use Managed Identities in Azure , mostly system assigned or a Service Principal? When should Service Principals be used in Azure compared to a ...
Pallab's user avatar
  • 2,099
91 votes
7 answers
12k views

When should one use the following: Amazon EC2, Google App Engine, Microsoft Azure and Salesforce.com? [closed]

I am asking this in very general sense. Both from cloud provider and cloud consumer's perspective. Also the question is not for any specific kind of application (in fact the intention is to know which ...
user32262's user avatar
  • 8,740

1
2 3 4 5
2788