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