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
139,397
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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/...
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 ...
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 ...
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 ...
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 ...
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 ...
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" ...
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....
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 ...
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 ...
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 ...
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([...
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?
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 ...
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 ...
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": ...
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 ...
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 ...
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&...
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.
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 ...
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 ...
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, ...
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? ...
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 ...
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": {
"...
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.
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) ...
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 "...
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?
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
-- ===============================================...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ...
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 ...
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 ...