Questions tagged [azure]

39526 questions
1

votes
3

answer
255

Views

Can I use Azure AD/Azure AD B2B/Azure AD B2C in this scenario?

We have several asp.net applications, each has its own users tables and databases. Each application does is own login/reset password etc. Our users are from different companies, so a user is an employee from that company. Now we want to use a central identity provider and let it do all the authenti...
martial
1

votes
1

answer
682

Views

How do I tell what version of IIS and Windows my Azure App Service is running on

I received an email from the Azure team that they were planning on upgrading the OS of Azure App Service to Windows 2016. The only advice they gave was to try running on windows ten or Windows Server 2016 in preparation. My application started crashing in a new and unexpected way that might be expl...
David W Gray
0

votes
0

answer
3

Views

Failed to create a service principal. You can use an existing service principal or try again later

I am trying to create AKS but I receive: Failed to create a service principal. You can use an existing service principal or try again later. The official Azure support forewords me here.
Georgi Yankov
1

votes
1

answer
531

Views

Azure File Storage: Error 400 (Condition headers are not supported.)

I'm not sure what is going wrong here. I am trying to display an image that is currently stored on Azure File Storage. If I go to the link directly in my browser then it seems to download just fine. But when I put the url in an img src then I am getting this error in the console. Here is how I am cu...
Quiver
1

votes
1

answer
733

Views

How can you delete files from an Azure WebApp using powershell?

Suppose I want to delete all files matching *.config.default from an Azure WebApp. How can I do this with PowerShell? If I had a directory on my local machine I can do this with: get-childitem -Path . -Filter *.config.default -Recurse | remove-item I can currently get the webApp using the followin...
WhiskerBiscuit
1

votes
1

answer
240

Views

Azure SQL: Update Compatibility Level of [master] database

We have a single production database [ProdDatabase] on an Azure SQL Server instance that was created back in 2013. At the time of creation the compatibility level of [ProdDatabase] and [master] was hence set to 100 (SQL Server 2008). Over the past few weeks we've successfully updated the compatibili...
sammy34
1

votes
1

answer
1.2k

Views

Exception: Partition key provided …, when using CreateDocumentUri with a partitioned document db

DeleteDocumentAsync and ReadDocumentAsync don't work for me when I have a partitioned collection. I used the RequestOptions: await client.DeleteDocumentAsync(document.SelfLink, new RequestOptions { PartitionKey = new PartitionKey('mykey') }).ConfigureAwait(false); // This works. var uri = UriFactor...
Jose
1

votes
1

answer
504

Views

How to know if a ID has a parent ID or not in WIQL TFS?

I have an id and I want to know if has a parentid or not by C# coding for TFS. In my TFS board there are many user stories that do not include a Feature ? My hierarchical structure in TFS is as follows: Feature --->User Stories(u1,u2,u3) --->Tasks (t1,t2,t3) Sometimes a user story does not contain...
Akhil Jain
1

votes
2

answer
1.9k

Views

Powershell for stopping and starting Azure VMs

I have created a 'Visual Studio Enterprise 2017 (latest release) on Windows Server (x64)' Virtual machine. I would like to start and stop this machine via Powershell. #Login Add-AzureAccount #Enterprize subscription. Id can be found by seraching for subsription in the portal Select-AzureSubscription...
Nigel Findlater
1

votes
1

answer
924

Views

Azure Cosmos Document DB - Read multiple documents by id

I'm using Azure Cosmos Document DB and want to fetch several documents in one call. I've understood that the best way of retrieving a document if you have its id is to use DocumentClient.ReadDocumentAsync(...) I wonder if there is a similar way to fetch multiple documents? Right now I'm doing a Docu...
OriginalUtter
1

votes
1

answer
1.5k

Views

How to access azure service bus message properties in Azure function 2

Using azure functions version 1 it was possible to accept a message as BrokeredMessage. public static void Run([ServiceBusTrigger('MySServiceBus', 'MySubscriptionName', AccessRights.Listen, Connection = 'MyConnectionString')]BrokeredMessage message, TraceWriter log) And then retrieve the properties...
Andy Rich
1

votes
1

answer
2.2k

Views

How to set any column as primary key in Azure SQL data warehouse

I am trying to set one column in DB as primary key but I always get this error: Enforced unique constraints are not supported in Azure SQL Data Warehouse. To create an unenforced unique constraint you must include the NOT ENFORCED syntax as part of your statement. While doing R & D,I found that ther...
shweta_kaushish
1

votes
1

answer
951

Views

How to create a Azure Function, Function Key when your functions are set to Readonly

Summary: I'm authoring a function directly in Visual Studio which by design results in readonly function management in the portal. My question is how does one easily create a function key for said webhook? Context: I'm trying to hook up a generic webhook to Event Grid. This process has led me down...
ThatCreole
1

votes
2

answer
281

Views

Does azure functions share context between the running instances?

I'm working on one project based on the Azure Functions, and I have one static helper class with buffer (private static ConcurrentDictionary) which holds some list of items to be processed at the end of execution, the question does this buffer will be shared between the multiple running instances?
1

votes
2

answer
928

Views

Changing B2C Reply URL from “signin-oidc” to something else does not work

I am trying to get a ASP.NET Core 2.1 web app running with Azure AD B2C. I have this running after much reseach (and more trial and error) as the instructions found in the docs are a little off. The sign-in/sign-up process works using the default scaffolding during the project setup wizard, plus the...
John
0

votes
1

answer
11

Views

Optimizing SSIS package for millions of rows with Order by / sort in SQL command and Merge Join for millions of rows

Hi i am currently trying to optimize an SSIS package when i do an Upsert/delete which handels about 93+ million rows from a table in a remote MariaDB source. The table also contains approximately 63 columns. Currently i'm using Sort and Merge Join in my package but as i've read some guides its recom...
John
1

votes
1

answer
601

Views

How to automate Build/Release definitions in TFS 2018?

I wish to automate management of my Build/Release definitions, for easy backup/restore operations. How can I do this in TFS 2018? I'm open to using either the REST API or the SDK, although I prefer the SDK whenever possible. --EDIT-- This is for TFS, not VSTS
InteXX
1

votes
2

answer
523

Views

Azure CloudBlobStream serialization (with Json.NET)

I have a little problem. My environment is a console app in .NET Core 2.1. Look at the this code: private static void Main(string[] args) { try { Console.WriteLine($'Test starts: {DateTime.Now.ToString('o')}'); string connectionString = '[My connection string]'; string containerName = 'mycontainer';...
Attilio Gelosa
1

votes
1

answer
128

Views

VSTS How to manage workitems and backlog with single team project

Our small team works on a dozen or more apps and databases. Im going through the docs and have already setup a single team project after reading several sources that mention this being the preferred way rather than multiple team projects. Each application has its own Git repo. Now Im wondering how...
bitshift
1

votes
1

answer
969

Views

Azure Data Factory check rowcount of copied records

I am designing a ADF pipeline that copies rows from a SQL table to a folder in Azure Data Lake. After that the rows in SQL should be deleted. But for this delete action takes place I want to know if the number rows that are copied are the same as the number of rows that were I selected in the beginn...
jbazelmans
1

votes
2

answer
126

Views

Is it possible that Azure Service Bus created a duplicate of the message?

We have experienced some strange behavior with Azure Service Bus that we could not figure out how to explain other than some bug in Azure. This is what happened: We have sent a message to the Azure Service Bus one time The call to send message took a bit longer than one minute to execute but succeed...
Ilya Chernomordik
1

votes
2

answer
915

Views

VSTS - how to get Code Coverage results

I'm new to DevOps work and I've been tasked to setup a build for one of our .net Standard Library projects. I used the build template for this, which works great! But I want to add a code coverage into build output (there's a test project in the solution). In the 'VsTest - testAssemblies' task, I'...
Rob McCabe
1

votes
2

answer
807

Views

Microsoft Bot Framework - Adaptive card version not supported in Teams and Skype for Business

I have created a bot and deployed it to Azure. In the Azure portal, I have configured Skype for business and Microsoft Teams as channels for my bot. The bot is using Adaptive Cards to show details of entities, the user has entered (to create a meeting). I have tested the bot with Bot Framework Emula...
Franz Kiermaier
1

votes
1

answer
229

Views

Creating and using a custom Anaconda environment on Azure DSVM

I want to use a specific Python environment with specific libraries (Keras, TensorFlow) on an Azure Linux data science virtual machine (DSVM) to move some of my local work to the cloud. I created the environment in the terminal using Keras v2.1.6. Also, I can see the environment in the Jupyter envir...
Matt
1

votes
1

answer
342

Views

Azure DevOps default permissions

In Azure DevOps, branch security for git repos defaults the 'Force push' property to 'Not set' for all Azure DevOps Groups. This effectively denies this permission. We're following gitflow where I work and would generally deny this permission explicitly for persistent branches, Master and Develop; h...
Ryan.Bartsch
1

votes
1

answer
528

Views

ASP.NET Core: IConfigurationBuilder Does Not Contain Definition For AddAzureKeyVault

I am upgrading my ASP.NET Core web app to .NET Core 2.1, but am getting the following error: IConfigurationBuilder Does Not Contain Definition For AddAzureKeyVault This code works in .NET Core 2.0. It looks like a library is missing in .NET Core 2.1. using System; using Microsoft.AspNetCore; using M...
Brandon Minnick
1

votes
1

answer
205

Views

How to configure a microservices project in azure devops?

I am in a microservices project where we are creating around 120 microservices. How do I configure azure devops for this project? Do I have to create a new project for each microservice? I would like to keep the dash for project monitoring
user2796768
1

votes
1

answer
636

Views

how to import swagger in Azure API Management

I see a couple of articles and videos where they import Swagger. But with the new UI changes I am not able to find where to import Swagger. In the video reference it was showing in WADL or Swagger option now I do not see Swagger option. Has this option been removed?
kumar
1

votes
2

answer
183

Views

Azure Functions v2 & Google Auth

I've set up my Azure Functions 2 in the manner described in this post https://blogs.msdn.microsoft.com/stuartleeks/2018/02/19/azure-functions-and-app-service-authentication/ I can call the /.auth/login/google endpoint with the Google token and get back the easy auth token. And I can call the /.auth/...
Bon
1

votes
2

answer
109

Views

Azure Stream Analytics query to detect missing alive event for a specific deviceId

I do not see a way to analyse a stream for the absence of a specific event with azure stream analytics query language. The stream may contain DeviceAlive and BeaconDetected events containing a DeviceId and in case of BeaconDetected also a BeaconId. Now I want to generate an error event if the Device...
Micha
1

votes
2

answer
249

Views

Azure SQL Database DTU metrics

I'm using Azure's metrics chart to see if it's feasible to merge two databases into one Pool. The two databases are currently in tier S3. The first chart is the result with 'DTU Used' metric using MAX() aggregation function in the last 30 days. It can be observed that during several intervals the 'D...
DuroForce
1

votes
2

answer
98

Views

Inconsistent querying on a partitioned CosmosDB collection

I have a partitioned cosmos DB collection which is defined as unlimited with a throughput of 1000. It has the following document structure: 'Id': 'b42129d2-5467-450c-9f7e-744f78dfe1e7', // Primary key 'ArrayOfObjects': [ { // other properties omitted for brevity 'SubId': 'ed2a49fb-51d4-45b4-9690-df0...
Sylvoo
1

votes
1

answer
140

Views

Use Azure Function Binding to return list of Blobs in a Container

Perhaps I'm misunderstanding the purpose of Azure Function Input Bindings. But I want to be able to return the list of blobs in a container on a HttpTrigger using a blob input binding. Is this possible or do I need to access the Blob Storage API directly from the Function?
BenBtg
1

votes
1

answer
311

Views

How do I authenticate a user against an Azure storage blob in python?

I'm looking for a way to authenticate a user against an Azure blob container. The sample code (yep, newbie alert) works just fine, using an access key for the storage account, but that feels uncomfortably like giving away full control of the entire storage account to anyone who steals the credential...
zaump
1

votes
1

answer
170

Views

After publishing, my Azure App Service is showing “Your App Service app is up and running” on loading, how to remove? [closed]

In the past when I have published my website to the relevant Azure App Service it has just loaded. I have just created a new Deployment Slot, and when I publish to this, it now shows 'Your App Service app is up and running' as the opening page. How do I get rid of this. I feel that this is something...
SamJolly
1

votes
1

answer
177

Views

How to delete all files from folder with Databricks dbutils

Can someone let me know how to use the databricks dbutils to delete all files from a folder. I have tried the following but unfortunately, Databricks doesn't support wildcards. dbutils.fs.rm('adl://azurelake.azuredatalakestore.net/landing/stageone/*') Thanks
Carltonp
0

votes
1

answer
26

Views

Change “Allow access to Azure services” settings of Azure SQL Server using powershell

I want to modify (enable/disable) 'Allow access to Azure services' settings of Azure SQL Server using powershell, based on a value from my JSON configuration I do have referred couple of StackOverflow, all the answers are to create a firewall rule '0.0.0.0' to enable and '255.255.255.255' to disable...
Manjunath Rao
1

votes
1

answer
74

Views

Template deployment to Azure API management with swagger fails with 'path' must not be empty

I am trying to create an API and operations in azure API management using the swagger import feature, using a template derived from the doumentation at https://docs.microsoft.com/en-us/azure/templates/microsoft.apimanagement/2018-01-01/service/apis Every time I deploy my API using my Azure Resource...
alastairtree
1

votes
2

answer
330

Views

Adding Images in Azure DevOps Wiki

I'm trying to add few images to the wiki in 1 of my Azure DevOps projects. When I use the absolute path as mentioned here https://docs.microsoft.com/en-us/azure/devops/project/wiki/markdown-guidance?view=azure-devops#images in the article, the images are not showing up. Any help?
Srivatsa Marichi
1

votes
1

answer
628

Views

Passing parameter to Azure Function (HttpTrigger) in URL as querystring

Created a new Azure Function in Visual Studio 2017 (HTTPTrigger based) and having difficulty passing parameters with custom route. Below is the code excerpt: [FunctionName('RunTest')] public static async Task Run( [HttpTrigger(AuthorizationLevel.Function, 'get', 'post', Route = 'orchestrators/contos...
Karthik

View additional questions