Skip to main content

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.

Filter by
Sorted by
Tagged with
307 votes
11 answers
150k 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 ...
Menyus777's user avatar
  • 6,883
299 votes
23 answers
304k 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
98k 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
  • 27.9k
237 votes
25 answers
151k 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,847
225 votes
28 answers
299k 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
214 votes
17 answers
142k 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
178 votes
8 answers
286k 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.5k
175 votes
14 answers
124k 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,081
171 votes
7 answers
114k 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,998
168 votes
3 answers
62k 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
163 votes
14 answers
235k 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,514
162 votes
13 answers
121k 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,522
159 votes
11 answers
52k 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
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
14 answers
113k 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,273
147 votes
16 answers
188k 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.6k
141 votes
22 answers
87k 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
137 votes
8 answers
173k 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,371
134 votes
9 answers
84k 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
  • 2,002
134 votes
6 answers
58k 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
130 votes
5 answers
76k 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
123 votes
4 answers
148k 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,813
120 votes
11 answers
90k 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
119 votes
16 answers
212k 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,401
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
114 votes
7 answers
68k 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
15 answers
255k 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,131
112 votes
13 answers
76k 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
112 votes
8 answers
111k 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,139
111 votes
14 answers
149k 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,111
108 votes
11 answers
110k 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,439
107 votes
9 answers
100k 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,715
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,555
103 votes
25 answers
150k 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,505
102 votes
5 answers
129k 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.6k
102 votes
7 answers
79k 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,844
102 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,624
101 votes
8 answers
114k 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,309
101 votes
2 answers
68k 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
98 votes
9 answers
163k 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,217
96 votes
9 answers
166k 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
32k 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
11 answers
36k 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,741
95 votes
5 answers
136k 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.6k
94 votes
8 answers
150k 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
94 votes
6 answers
91k 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,334
94 votes
7 answers
87k 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,149
92 votes
16 answers
106k views

Azure Functions Database Connection String

How do I add or access an app.config file in Azure functions to add a database connection string? If you're not supposed to add an app.config and there is a better way to access an external database ...
Lereveme's user avatar
  • 1,664

1
2 3 4 5
2835