Questions tagged [azure]

24820 questions
4

votes
3

answer
92

Views

php artisan migrate on Azure (in BitBucket pipeline)

I have setup a pipeline in BitBucket to automatically deploy my master branch of my project to an Azure Web App instance. The app deploys the files and runs composer update as expected (although it does warn that it's running as root), but php artisan migrate --force returns: Illuminate\Database\Que...
Richard Hedges
0

votes
0

answer
3

Views

azure kubernetes copy file from cron job's pod to local file?

I have created one cron job which runs every 60 min and in job's container i have mounted emptyDir volume as detailed-logs. In my container i am writing a csv file at path 'detailed-logs\logs.csv'. I am trying to copy this file from pod to local machine using 'kubectl cp podname:detailed-logs\logs.c...
Tarun
0

votes
0

answer
3

Views

Unix to BLOB Storage File Format Issue

I have installed Azure CLI in my UNIX environment so that I can move my files from UNIX to BLOB storage. I have a comma delimited file which contains millions of records. The file exists in BLOB storage and I am using Bulk Insert in Azure SQL Server to load the data from BLOB storage but I am gettin...
Josh......
1

votes
1

answer
1.3k

Views

How do I start running a Windows Azure Service's Worker Role?

If I have a Windows Azure Service consisting of only Worker Roles, do the worker roles start automatically or I need to start it manually? I have some debugging print statements like Trace.WriteLine(...) in the Run and OnStart methods, but it seems those statements are not logged. What could be the...
shengmin
1

votes
1

answer
14.8k

Views

How to send multiple parameters using Html.BeginForm() in asp.net mvc?

Actually I want to send the image and the text in the textbox to the controller... @using (Html.BeginForm("Upload", "Home", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.Label("UserName:") @Html.Label("Upload:") Preview } and I am trying to retrieve them in the controller i...
Bharat Bhushan
2

votes
1

answer
108

Views

Deploy a web app to Azure App Services - Using a Resource Manager connection

I have an Azure pipeline which builds an asp-net core project and build from it a docker image and push it to Azure Container Registry. This pipeline is made from an azure-pipelines.acr.yml file. Each git push operation that I perform to my Deployments branch is turned it in a new build into my pipe...
bgarcial
0

votes
0

answer
4

Views

Azure AD B2C Set Authentication Contact Info Email Address

I am trying to programmatically update the Authentication Contact Info email address for a contact created using Azure AD B2C. I have attempted to do this via the Microsoft Graph and Azure AD Graph API, but failed in both cases each time. For example; PATCH /{tenantId}/users/{userId}?api-version=1....
James Wood
1

votes
0

answer
4

Views

Azure AD Password Reset

I am trying to understand how Azure AD B2C password reset is meant to be used. It appears there are a number of ways password reset can be handled. What is the difference between these? Is there is a price difference between these? Are some of these features of Azure AD, whilst some are features of...
James Wood
1

votes
0

answer
17

Views

Usage of Power BI Interactive visualisations with Parent-Child dataset relations

I have been meddling with Power BI for almost a week now. It seems like a powerful tool, when you get to know your way around it at least.. I would like to be able to see the sum of Therapists, Admins and Citizens, based on all subgroups for the currently selected group. Here is my example: When i s...
Kalrin
1

votes
2

answer
1.9k

Views

Tools to manage Windows Azure Active Directory users [closed]

Other than the Azure Portal, are there any tools to manage users in a Windows Azure Active Directory?
Sean Kearon
1

votes
1

answer
258

Views

“Visual Studio Online” for 2010 version?

I am talking about the Visual Studio Online Source Control service by Microsoft. They now support Git as well. I know they work fine on VS 2013, but is there a way to get it to work on 2010? It worries me on using their service because what if a new vs studio release, such as vs 2014, and then I wo...
JohnC1
0

votes
1

answer
61

Views

view code coverage report on azure devops portal

I am running the NUnit tests (project in .Net Framework 4.5), as part of azure devops build pipeline. - task: [email protected] inputs: testAssemblyVer2: 'tests/**/*.Tests.dll' pathtoCustomTestAdapters: '$(Build.SourcesDirectory)/packages' codeCoverageEnabled: true displayName: 'NUnit Testing' - task: Publis...
harishr
1

votes
0

answer
8

Views

Alert on Azure gateway for application hosted on Azure VM

I have to create a alert on a application which is hosted on Azure VM configured which is accessed via Azure gateway. Whenever application goes down ( any response code other than 200) have to send email to specific group of emails. I tried it with "backend health" active log in Configure signal log...
GauravRatnawat
1

votes
2

answer
1.7k

Views

“DataReader.GetFieldType(…) returned null” on Azure Website

I have a website running on Azure. I am pulling back data from a SQL Server database table that has a column of type "Geography". This causes an error of "DataReader.GetFieldType(...) returned null Sources on the web say that I have to include Microsoft.SqlServer.Types.dll which I have added to we...
Jason Geiger
1

votes
1

answer
804

Views

Azure Table Storage returns Next Partition Key and Next Row Key for top < 1000

I am querying Azure Table Storage with $top=100. Here, I am able to retrieve all 100 rows in first call itself then also Azure Storage Explorer is generating continuation token. I am not sure why this type to behavior is happening?
Varun Gupta
1

votes
3

answer
5.7k

Views

What is a good way to send large data sets to a client through API requests?

A client's system will connect to our system via an API for a data pull. For now this data will be stored in a data mart, and say 50,000 records per request. I would like to know the most efficient way of delivering the payload which originates in a SQL Azure database. The API request will be a RES...
ElHaix
0

votes
0

answer
3

Views

Azure web app publish with Visual Studio - not including all files

I have an MVC project being published to Azure from Visual Studio as a web app. In the solution I have a project set up as a "plugin" which is used by the web application and installed using Unity DI. Locally this works but when I publish to azure the plugin files aren't being deployed. This is h...
Heinrich
0

votes
1

answer
15

Views

Terraform on Azure cloud - VM name and Data disk name are not aligned

I have created VM and added Data Disk to be, however there is one issue.The VM name and data disk name DO NOT align. Please refer to the screenshot below. The terraform code is below: resource "azurerm_managed_disk" "tf-mdsk-cluster" { count = 5 name = "${var.ax_base_h...
learner
0

votes
0

answer
4

Views

Protect API can be accessed by Ajex without Login to Active Directory

I followed this example (https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad) and selected "OAuth 2.0" under "Setting > User authorization" for the Echo API. Then, I created an html file with and trigger an ajax call to the Echo API "https://{myapi}.az...
Benny Chan
1

votes
1

answer
250

Views

How to create a new Azure Website with integration to private Github repo using the Azure REST API?

There are many trivial examples that show how this is done without the Github integration. The Azure Powershell commandlet New-AzureWebsite supports only public repos (can be confirmed from source code [1]). Has anyone tried to create it with a connection to a private repo? It doesn't seem to be doc...
Kyberias
1

votes
1

answer
2k

Views

Embedding Images which are Stored in Azure BLOB Storage in Website

I'm trying to link to or embed images which are stored in an azure BLOB storage container. I don't have any server side programming available, i.e. no C# or PHP, only HTML + JavaScript. Is this possible, and what technologies would you recommend? I should also mention that my website does not run on...
Max
1

votes
1

answer
1.2k

Views

does adal.js support Authorization Code Grant Flow?

For a while now I had a .Net WPF application that uses Adal.Net to perform (what i believe is) an Authorization code grant flow against azure active directory to access a web API (which is looking for a bearer token in the request). For this purpose I'm using 2 AAD applications: MyServer (which rep...
rony l
1

votes
4

answer
2.8k

Views

Which status codes should I expect when using Azure Table Storage

I want to do something when/if an insert operation on Azure Table Storage fails. Assume that I want to return false from the below code when I receive an error. _table is of type CloudTable and the code below works. public bool InsertEntity(TableEntity entity) { var insertOperation = TableOperation....
Emre Kenci
0

votes
0

answer
2

Views

Is there a way to create functions in a functionapp in the Azure CLI?

I'm trying to automate the creation of a serverless application using a cosmos db, static webpage, and functionapp (with at least one function) using a script which invokes a local installation of the Azure CLI. I've managed to create the db, the static page, and the functionapp using the CLI, but I...
Ben D
1

votes
0

answer
4

Views

Migrating EPiserver media blobs to Azure Storage Account

I am currently researching into migrating the EPiServer 11.10.1 media blobs from a Windows DFS Share to an Azure Storage Account. The configuration tried is as follows: web.config (Note: only relevant sections are shown) connectionStrings.config (Note: only relevant sections are shown) When starting...
George
0

votes
0

answer
3

Views

How can a ServiceBus guarantee the FIFO order if the receiving Azure Function stopped?

I have a client that pushes messages into a Service Bus. I have an Azure Function on the other side that is bound to the Service Bus so that it is automatically called when a message is posted in the Service Bus. (Client) ---Message---> (Service Bus) ---Message---> (Azure Function) The Service Bus...
Kzrystof
1

votes
0

answer
8

Views

Azure AD and Identity Framework in a single MVC APP

I have a MVC5 application which has authentication and authorization using ASP.net Identity. So all my roles, user profiles are stored in the application database. The application is managed by me. My company now wants to use Azure AD for authentication in the application. So the user will be able...
mev9669
1

votes
1

answer
1.9k

Views

In Azure Logic App, how do I pass parameters in a http request?

I am trying to download a file from a website that requires me to pass parameters while making the HTTP request. The request is as follows https:/wwww.xxx.com/download/exportdata.go?pid=3276439&startdate=2015-01-01&enddate=2015-01-02 Though when I hard code the request it works perfectly, but now th...
Sam
1

votes
3

answer
845

Views

Trace messages from Website not appearing in Azure Diagnostics

I have an API deployed as an Azure Website (not a worker role). The code for the site has Trace statements dotted through it that I would like to capture in an Azure Table via the Azure Diagnostics. I'm using Trace.TraceError, Trace.TraceInformation, etc. I've followed the instructions here, which...
Alasdair Ross
1

votes
1

answer
1.3k

Views

Custom domain in Visual Studio Online

Is there any way to have my custom domain eg: code.mycompany.com point to my Visual Studio Online account mycompany.visualstudio.com? I tried using a CNAME record but it's not working, (think it's maybe because of authentication against the domain)
Fanie Reynders
0

votes
0

answer
26

Views

Tasks not using up all available CPUs

I created some code that is highly parallel. I create a number of separate tasks using a loop and tell all of the tasks to Start(); which creates about 100 tasks and then waits for them to finish: foreach (...) { Task computeTask = new Task(() => { // Do work here }); computeTask.Start(); computeTa...
A br
10

votes
2

answer
157

Views

Why does my login to MS SQL with AzureML dataprep using Windows authentication fail?

I tried connecting to a MS SQL database using azureml.dataprep in an Azure Notebook, as outlined in https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-load-data#load-sql-data, using MSSqlDataSource, using code of the form import azureml.dataprep as dprep secret = dprep.register_...
Davide Fiocco
0

votes
0

answer
6

Views

Why do my sudo commands work with ansible but not with ansible-playbook?

I'm experimenting with running Ansible scripts to set up Microsoft Azure VMs and for some reason I can run sudo commands through 'ansible', but can't run them through 'ansible-playbook'. As an example, I expect that the following command should fail without specifying the --become and --ask-become-p...
BackroomGibbon
1

votes
1

answer
358

Views

Azure Deployment Source, choose Startup Project to Build

The company I currently work for has a solution with 3 projects. _Common... which was originally a Web project, but then changed to a Class Library. Website1... Which is a website Website2... Completely different website. In Azure, we have a Deployment configuration so whenever our BitBucket Repo ge...
Suamere
1

votes
4

answer
1.4k

Views

A generic error occurred in GDI+. on Azure Webapp

I am using spire lib to create pdf files for the user. string userId = User.Identity.GetUserId(); User trainee = _userDAL.GetUserByIdentityId(userId); // Get the Employee scores string fileNameTemplate = Server.MapPath(Url.Content("~/assets/cert1-{0}-{1}.docx")); string nnn = string.Format("cert1-{0...
wandos
0

votes
0

answer
3

Views

Is there a maximum number of documents that can be retrieved in a stored procedure?

I am using a stored procedure in Cosmos DB with continuation. When I call it with a filter included to return ~
Alan Kell
0

votes
0

answer
2

Views

Azure Search on text files

Trying to setup Azure Search on blob container that has text files. I have created a storage account and I'm using the Azure Data Lake gen2 stored in the blob container. I have one file as I'm testing the azure search. I have created the index, datasource and when I try to create the indexer I get...
user2836030
0

votes
0

answer
3

Views

Updating Grafana configuration file to configure custom SMTP settings

I used HELM to install the Prometheus operator and kube-prometheus into my kubernetes cluster using the following commands: helm install coreos/prometheus-operator --name prometheus-operator --namespace monitoring --set rbacEnable=false helm install coreos/kube-prometheus --name kube-prometheus --se...
Josh L
1

votes
1

answer
798

Views

What is the difference between team foundation server's “Client” and “WebApi” libraries?

I'm writing C# to interface with TFS to manipulate Work Items in TFS. The existing code I'm working with is exclusively using Microsoft.TeamFoundation.WorkItemTracking.WebApi but from what I see in examples online, the library everyone is using is Microsoft.TeamFoundation.Client and Microsoft.TeamFo...
Jmoney38
1

votes
2

answer
3.3k

Views

java.lang.IllegalStateException: No instances available for ip

Below is my bom microservice: @RestController @Configuration @ComponentScan @SpringBootApplication @EnableEurekaClient @EnableDiscoveryClient @EnableAutoConfiguration public class PLMBommsApplication { private static final Logger LOG = LoggerFactory.getLogger(PLMBommsApplication.class); @Bean @LoadB...
Santosh

View additional questions