Questions tagged [azure]

Microsoft Azure is an innovative platform that combines the power of Platform as a Service (PaaS) and Infrastructure as a Service (IaaS) models to offer top-notch cloud computing solutions. This versatile cloud computing platform is perfect for tackling complex programming challenges in Azure. For more general server assistance, head over to Newtab Q&A or Newtab Q&A, where experts are readily available to provide support.

Using Angular in conjunction with Azure Durable Functions to implement a retry mechanism for HTTP responses

In my Angular 10 application, I am attempting to integrate Azure Functions. The key is to simplify the Azure function protocol by using a single Observable. Executing an Azure function requires the following steps: Initiate a POST request to the Azure fu ...

Struggling with Windows Azure Mobile Services and data serialization issues

I'm facing a challenge trying to integrate my model type with Windows Azure Mobile Services. It's functioning well, except for when I introduce the following member: [DataMemberJsonConverter(ConverterType = typeof(DictionaryJsonConverter))] public ...

What is the best way to access environment variables within a Script step in Azure DevOps?

Running the command 'npm run coverage' in an Azure DevOps Build pipeline requires 2 environment variables to be available for successful completion. Previously, the NPM Task was used for this purpose but it doesn't support passing environme ...

Troubleshooting Azure node deployment: Service Unavailable error and npm WARN lifecycle warning

I am currently utilizing git to deploy a node.js application to Azure App Service. However, upon accessing the app page, I am encountering an error message that reads: Service Unavailable Furthermore, in the console, I am seeing the following error: ...

Utilizing Font Awesome Pro within Azure DevOps

Is there a solution for integrating Fontawesome Pro with CI builds? I have successfully set up my build and Fontawesome Pro locally using these commands: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ && \ npm config set ...

Detecting Changes in the Backend with Angular

I'm curious about the best way to notify the frontend when there is a change in the backend. How can this situation be effectively handled? While developing an application on Azure, I have considered two possibilities, but none of them seem ideal. The fi ...

Corrupted Attachment in Azure Function Sendgrid Integration

Currently, my setup involves Azure Functions and node.js working with Sendgrid to send emails to users when specific PDF blobs are uploaded to our blob repository. While everything has been functioning properly so far, I am facing an issue when trying to a ...

Utilizing Azure SDK to send an email

In my Node.js project, I am currently utilizing azure-graph: const MsRest = require('ms-rest-azure'); const credentials = await MsRest.loginWithServicePrincipalSecret(keys.appId, keys.pass, keys.tenantId, { tokenAudience: 'graph' } ...

Struggling to deploy a Reactjs application on Azure, encountering deployment failure

My attempt to launch my reactjs application on Azure cloud platform has hit a roadblock. I have designated the git repository as the deployment source, but my deployment is failing due to numerous npm errors. The azure error log shows the following: C ...

Is there a way to effectively deploy a node.js application on Azure using git when the application is located within a subfolder?

I have an existing git repository for a solution consisting of multiple projects, both .Net and Node.js. My goal is to use git to deploy certain projects to Azure Web sites. Deploying an ASP.Net project located in a subfolder was a breeze thanks to Scott ...

Tips for effectively managing the timeout of server-side AJAX calls1. Maxim

I'm currently developing server code in ASP.NET with the MVC framework. The client-side code is written in javascript. When sending an AJAX request from the browser to the server, whether using JQuery or not, timeouts can be set. Additionally, the browser ...

Ways to obtain a SHA1 hash for a blob block in Azure storage using Node.js without the need to download the file

Can someone assist me with code sample for file validation using sha-1 hash in Node.js? I am looking to obtain the sha-1 hash value without downloading the block from azure storageblob. // Example of uploading BlockBlob using @azure/storage-blob npm bloc ...

Issue: Unable to locate the 'express' module while executing on Azure

I am encountering an issue with my node.js app while deploying it on Azure. It runs perfectly fine locally using express, but on Azure, I am getting the following error: Application has thrown an uncaught exception and is terminated: Error: Cannot find mo ...

Unable to define replication cycle within JSON structure

Hey there, I'm currently working on implementing a copyIndex in a script to handle an array of virtual machines. You can find the full script here: https://pastebin.com/embed_iframe/vQyyKrYn The error message I am encountering states: is not valid: The ...

Leverage the power of Azure Redis Cache to efficiently store Node JS express

I recently attempted to create an Express 4 Web App using Azure. I came across multiple articles that suggested using Azure Redis Cache for storing sessions. However, I am unsure about the proper way to connect my web app to the redis cache. var session = ...

Generate a vector tile in Azure Maps containing a massive one million data points

Is it possible to use Azure maps to display a large amount of data points, such as one million? I am interested in creating an Azure map with optimized performance and loading it into my Angular application using a map URL. Can you provide guidance on how ...

"Maximizing efficiency with Azure Functions, Azure SQL, Node.js, and optimized connection pooling for seamless

I'm curious - is it possible to implement an Azure SQL connection pool for Azure Functions (Node.js) requests? The time it takes to create a connection is a significant portion of the overall execution time of my requests, and I'm interested in finding wa ...

(updated solution) The Express web app service is encountering an error message stating "SyntaxError: Unexpected token >"

I recently deployed my web app to two Azure app services and encountered different results - one is working fine, while the other is throwing an error. My web app is built on Express and I am unsure how to resolve this issue as the error does not seem to ...

Leveraging the power of Next.js and a tailored deployment strategy using Express and Node

Recently, I encountered an issue while trying to deploy my app that utilizes Next.js on the frontend (including some getStaticProps function) and a custom express/node.js backend on Azure. The backend is connected to MySQL, although I don't believe this is ...

Running the 'npm test' command within Azure pipelines does not provide any output

In my Azure Pipeline, I have set up the following task: - script: npm run test --watch=false --loglevel verbose --single displayName: npm run tests When running this task on an Ubuntu agent with Puppeteer, the tests complete successfully: Chrome H ...

Tips for running a post-installation script when deploying an Angular 4 application to an Azure website using KuduScript

I recently faced an issue with my angular4 app deployed on azure web app (website) using Deployment Options through the Portal. To customize the deployment script, I utilized kuduscript [kuduscript -y –node] and modified deploy.cmd to specify how Azure s ...

The package.json file has a specified Node version, yet Azure is indicating that none is defined

Having trouble creating a custom deploy script for my Azure website. The errors I'm encountering seem to be related to Azure using an outdated version of Node. After researching online, the common solution is to specify the Node version in the packag ...

Azure deployment of React web app is restricted due to permission denial

I'm facing an issue while trying to deploy my React web app on Azure through a GitHub workflow. After committing changes, I encountered an error during the build process which is shown in this screenshot: https://i.stack.imgur.com/UkEOE.png I experienced ...

iisnode ran into a problem while handling the request. Error code: 0x6d HTTP status code: 500 HTTP subStatus code: 1013

Currently, I am working on a web application using ReactJS for the frontend and Express for the backend. My deployment platform is Azure. In order to verify that my requests are being processed correctly, I decided to conduct two API tests. The first tes ...

Error in decoding JSON while creating an index in Azure Search

I'm currently utilizing the django framework and attempting to set up an index in the Azure portal through their REST API guide. However, upon sending my post request, I encountered the following error: JSONDecodeError at /createIndex Here is the m ...

No data found in php://input when accessing Azure

Having an issue with posting a complex JSON object to my Azure IIS server running PHP 5.4 using AngularJS: var request = $http({ method: "post", url: "/php/mail.php", data: $scope.contactForm, headers: { 'Content-Type': & ...

What is the process for uploading an image to Azure Blob Storage using the NextJS API?

I have a React component that is responsible for sending the user's profile image to a proxy Next.js API. The reason for using a proxy API is to prevent Azure secrets from being exposed in the browser's network tab. Below is the front-end React ...

Using Azure application insights with your nextjs application is a powerful way to monitor and analyze

Having trouble setting up Azure app insight with nextjs, is there anyone who can provide assistance? ...

Guide for choosing the appropriate VM T-shirt size within the Azure ARM Template

I am utilizing a VM deployment template where I specify the VM size using T-Shirt Sizes, for example, small = Standard_DS2_v2, medium = Standard_E4s_v3 and large = Standard_E32s_v3. These sizes are defined in an array within the variables section as shown ...

Having issues with launching a node.js project on Azure - blame it on Bcrypt!

I've been working on a node.js project hosted on Azure and recently implemented password encryption with bcrypt. While everything was running smoothly on my test computer, the deployment to Azure failed with the following error message: node-gyp rebuild C ...

Retrieve Hidden Information from Azure Key Vault using Node.js

I'm looking to retrieve the list of users from the Azure active directory. The client has set up a Graph API application but is hesitant to share the client secret, opting instead to use Key Vault for security. How can I access the key required to fetch th ...

Encountering an issue when attempting to add a CustomResourceDefinition in AKS, specifically when trying to execute it using

I am facing an issue with adding customresourcedeployment in aks. Previously, we were using the V1beta1 version which appears to be deprecated now. I have attempted to transition to the v1 version, but encountered a schema validation error. The original V1 ...

Simultaneously, the installation and build process of a JS application pipeline (utilizing Express for the server and Create-React-App for the client

Issue: My project consists of a server (Express Server for file uploading and deleting) and client (Front End Create-React-App). The structure of the project is as follows: Root Folder With Server Client Folder Each folder has its own package.json. Serv ...

Updating a table by incorporating data from the insert script of another table in Azure backend

I currently have a Xamarin.Forms mobile application utilizing Azure Easy Tables successfully for all CRUD operations. Now, I am in need of some node.js server-side functionality that will allow me to update and increment a column's count in tableB bas ...

What could be causing the Kudu node version to not update even after the setting has been applied?

Struggling to deploy an Angular Application on Azure App Service, encountering a failed deployment with the following log: Command: "D:homesitedeployments oolsdeploy.cmd" Handling ASP.NET Core Web Application deployment. Restore completed in 862 ms ...

Utilizing Windows Azure and restify for node.js Development

I have an azure website with a URL like: . In my server.js file, I have the following code: var restify = require('restify'); function respond(req, res, next) { res.send('hello ' + req.params.name); next(); } var server = restify.createServer(); ser ...

Is it possible to identify which modules in the package.json file need to be compiled?

When deploying to Azure sites, issues may arise if one of your npm modules requires compilation. Is there a simple method to review the packages.json file in order to alert users not on Windows when they might encounter problems? ...

Uh-oh! We encountered a little hiccup while running NodeJS on Azure with Sequelize for SQL

So I have been working on developing a NodeJs application on my Windows machine. Recently, I decided to deploy it on Azure cloud and set up a SQL Server instance. During the testing phase, where the node app was running locally and the SQL Server was conn ...

Navigating directly to URLs in Angular Universal with iisnode

My issue involves an Angular Universal application. While everything runs smoothly locally with express, and inside of node, deploying the production build to IIS with iisnode results in a 500 Internal Server Error when navigating directly via URL. Unfor ...

Transfer the folder from the DBFS location to the user's workspace directory within Azure Databricks

I am in need of transferring a group of files (Python or Scala) from a DBFS location to my user workspace directory for testing purposes. Uploading each file individually to the user workspace directory is quite cumbersome. Is there a way to easily move f ...

There was an error encountered in the Recovery service Vault when attempting to add Policies for SQL Backup

I encountered an issue while setting up backup policies using Azure ARM Template for weekly SQL Backup. Any assistance would be greatly appreciated. It seems that the backupmanagementype for VM is AzureIaasVM, so for SQL it should be "backupManagementType ...

How can you verify your identity with a private npm registry in Azure using a Dockerfile?

Below is my Dockerfile setup: FROM node:alpine WORKDIR ./usr/local/lib/node_modules/npm/ COPY .npmrc ./ COPY package.json ./ COPY package-lock.json ./ RUN npm ci COPY . . EXPOSE 3000 CMD ["npm", "run", "start-prod"] Th ...

Executing GnuPG commands with Azure Functions in Python

During my local development work with an Azure Function in Python, I am experimenting with the python-gnupg wrapper to call a GnuPG binary. Within the Azure Function triggered by HTTP, this is the code snippet that I am testing. import gnupg import tempfi ...

I am eager to launch my Node.js Server on Azure App Services

While attempting to deploy my node.js server on Azure using app service, I consistently encounter various errors. The issues range from the build command being unavailable in the configuration to difficulties fetching content. It has become quite frustrati ...

Implementing date values in Rest API parameter with Azure Data factory

One of the parameters in my API Url is TIMESTAMP, with a specific value like: Actual Url: The timestamp value could expire, so I've created a parameter TS with the value utcNow() to prevent that. Now, my URL looks like: I'm using this updated ...

Efficiently transferring JSON files to Azure Cosmos DB using Java Code in bulk

I need help with creating a JSON file using JAVA. The file will have multiple JSONs in it. My goal is to automatically import this file into Azure Cosmos DB once it's been generated. Is there a Java-based solution for achieving this task? Thank you in ad ...

Convert XML to JSON with Azure

Seeking assistance with transforming XML to JSON using Azure liquid mapping in order to extract the session ID. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3. ...

What steps should I take to resolve the "You do not have authorization to access this directory or page" error in Azure App Services?

Currently, I am attempting to deploy my Next.js 13 application to AppServices using Github Actions. The compilation process on Github was successful, however, I am encountering an issue where my application does not seem to be deploying or starting up prop ...

Exploring Azure: Obtain a comprehensive list of application settings from a deployed Node.js web application

After successfully deploying a NodeJs app to a Linux Azure AppService, I am now aiming to retrieve the server settings of this particular app-service. By enabling managed Identity for the AppService under the 'Identity' tab, I attempted to achieve this in ...

Attempting to upload xgboost to Azure Machine Learning has encountered an issue: %1 is recognized as an invalid Win32 application. The process has concluded with an exit code of 1

I attempted to upload the xgboost python library to Azure ML, but encountered an error stating that my library is not a Win32 application. I made sure to install the 32 bit version of the package and I am running conda 32 bit as well. The library was downl ...

Azure deployment for Angular app was unsuccessful due to npm startup failure

I've been trying to deploy my Angular application on Azure. While I can successfully publish it using Azure, I keep encountering an error message when trying to access the published site: AggregateException: One or more errors occurred. (One or more ...

What techniques can I utilize to ensure Azure function generates JSON specifically for web browsers?

I have a functioning Azure function with the following code: module.exports = function(context, req) { // this is the complete source code, believe it or not context.done(null, {favoriteNumber: 3}); }; When I utilize a tool like Postman to access ...

Encountering issues with retrieving application setting variables from Azure App Service in a ReactJS TypeScript application resulting in '

My dilemma lies in my app setup which involves a Node.js runtime stack serving a ReactJs Typescript application. I have set some API URLs in the application settings, and attempted to access them in ReactJs components using process.env.REACT_APP_URL, only ...

Encountering a problem when trying to execute a function in Datab

I encountered an issue when calling a currency conversion function I created in Databricks. The error message is as follows: I attempted to resolve the problem with the following code snippet from pyspark.sql.functions import lit from pyspark.sql.function ...

Switching positions in Azure DevOps (Angular + API): How can the Angular configuration be modified for the designated slot?

Setting up the Angular app can be quite tricky. In our Azure Yaml pipeline publishing job, we tackle the challenge by executing a "token" replacement to tailor the configuration for the specific target environment within a tokenized artifact. Subsequently ...

Encountered an "next: not found" error when attempting to launch nextjs standalone within Azure Web App

I am having issues deploying my application built with Next.js on an Azure Web App. Despite following the guidelines provided by Microsoft, I encountered a problem while trying to deploy. After compiling the application with the "standalone" flag as instru ...

The image file that was uploaded from a React Native iOS application to Azure Blob Storage appears to be corrupted or incomplete as it is not

Struggling to develop a feature in a React Native mobile app where users can upload and crop their profile picture, then store it in Azure blob storage. I encountered difficulty with implementing react-native-fs as many resources recommended it, but I kep ...

Challenges of uploading files to Azure Blob Storage using Node.js

I recently started working with Node.js/Express and I'm trying to upload a file to Azure blob storage. For the front end form, I'm using AngularJS. However, when I try to upload a file, I encounter the following error: TypeError: Cannot read p ...

Troubleshooting: Next.js application deployment on Azure Web App encountering file discrepancies

I'm currently facing an issue while attempting to deploy a next.js (with typescript) application on Azure using Bitbucket pipelines. As part of my pipeline process, I build the next.js app with the following build configuration: // next.config.js /** ...

Issue encountered while attempting to connect to an Azure API, despite having the correct origin permissions set

Hey there! I currently have two web applications deployed on Azure - one serving as the frontend and the other as an API. The communication between the frontend and API is established using the following code: @Injectable({ providedIn: 'root' } ...

When attempting to refresh, the global.Exp.Data.getLocalDataSet() function returns empty

In the first method, data is retrieved from the database and populated into the grid. The second method is used for viewing user details. When the user clicks on this method, it displays the user details. However, if the page is refreshed at that time, v ...

Azure webhosting blocks the use of AJAX calls

There is a PHP script hosted on my Azure server that returns JSON when accessed through the browser. However, I am having trouble making an AJAX call to this script as none of my requests seem to go through. The issue remains unclear. You can see a failed ...

Is it possible to execute npm commands on the Azure App console?

I'm encountering an error message whenever I attempt to execute any npm command (such as npm i) on a Windows Azure app console. The environment consists of Node v10.19.0 and Npm v6.13.4. https://i.stack.imgur.com/QyKZC.png Here is the formatted code ...

The Kudu console is freezing up during the npm install process

I have been experimenting with Azure Functions and wanted to incorporate some dependencies into my code. I followed the instructions provided HERE. However, after running 'npm install' and waiting for an extended period of time, the Kudu console ...

Utilizing Node.js to Retrieve Azure EventHub Data

As a newcomer to Microsoft Event Hub, I've managed to send data to the eventHub using Node.js according to this reference. Now, I'm looking for guidance on how to receive and display the data from the event hub. Any suggestions? ...

Parsing a multi-dimensional JSON object in Bash (az cli, azure) can be achieved by separating the object IDs using colons and converting them into an array

Exploring with jq and jmespath: I am intrigued by the objectId located in the middle of this string... I've attempted to use sed, regex, but there has to be a more clever solution... Command 1: az dls fs access show --account "$account" --path "$rootpath ...

Encountering an 'Authentication Failed' message while attempting to access the Azure DevOps Artifacts feed via npm, resulting in an E401 error

I am facing a challenge while trying to establish a connection to an Azure DevOps Artifacts feed as I keep encountering an E401 error. Interestingly, when I attempted the same on a different device, the connection was successful. Additionally, I have gone ...

Logging into Azure AD from an Angular 9 Application

Struggling to authenticate with Azure AD from my Angular app. Finding it difficult to understand the process due to outdated examples on the internet. I've been following the latest documentation on GitHub but keep encountering this error when trying to ac ...

Encountering an error while attempting to conduct a load test in Azure using the Selenium Chrome driver

While conducting a Load test locally, everything runs smoothly. Chrome opens and performs the necessary actions without any issues. However, when attempting to run the test online in Azure, an error is encountered: The Initialization method SeleniumWebLoa ...

Establishing a connection with Azure Database for MySQL through npm/mysql

Encountering an issue when trying to connect to Azure Database for MySQL using the mysql npm module (version 2.13.0): Error: /Users/sascha/Desktop/azure-mysql/index.js:19 if (error) throw error; ^ Error: ER_HANDSHAKE_ERROR: Bad handshake ...

Can I create a unique initial command for my Azure Node.js web app using ES2015 and Babel?

I need to transfer an ES2015 node.js application from Heroku to Azure hosting. Currently, the start-up command on Heroku is "start": "./node_modules/babel-cli/bin/babel-node.js index.js" However, I encountered this issue while trying to replicate it on ...

Navigating Large Datasets in Windows Azure: A Comprehensive Solution

Looking for an efficient solution to handle millions of entities stored in Windows Azure Table Storage, I am seeking a method that satisfies the following criteria: 1) When searching for an entity, retrieve that entity along with a specified number of ent ...

Python integration with Azure Durable Functions may encounter issues causing interruptions or delays in processing tasks, resulting in instances getting stuck in an

When implementing an Azure Durable Function in Python on the consumption plan, I encountered an issue where the function would fail to execute successfully after running it around 2000 times a day for a couple of weeks. The process involves fetching data f ...

Azure-hosted website experiencing an unexpected error message upon loading

I have set up a simple express website on an Azure shared resource in the Australia Southeast region. The website runs locally on port 3000, but when deployed to Azure, it does not render at all. Instead, I receive the following error message: node server ...

Issue with Azure App Service on Windows: The file is not being unzipped in the wwwroot folder by Azure DevOps Release

I have successfully developed an application using NextJS My goal is to deploy this app on an Azure App service The deployment was a success on the Vercel server without any need for customization Currently, I am utilizing DevOps tools such as Pipelines ...