Replace object value with other object's value of the same key with JavaScript

I've got two objects, item and results. They've both got the same keys but possibly different values, for example: item.id = '50' item.area = 'Mexico' item.gender = null item.birthdate =...

Open a new tab in Safari programmatically using JS

I am developing on an Ember.js platform with an Microsoft Azure database for uploaded files. Since the content of these files are sensitive, we're relying on Azure's secure access api to allow our...

Unable to determine function entry point

Been using MS botframework for a couple months. Developing with the emulator in node and using continuous integration to push to Azure. Pushed last Wednesday and tested with no problems. Made...

Including a file when I publish my Azure function in Visual Studio

I know this seems like a simple thing but I can't find any help online. I want to include a file (.html) along with my Azure function when I publish it using Visual Studio. Then I want to be able...

Azure Durable function - InvalidOperationException when CallActivityAsync

I'm playing around with the Azure Durable functions. Currently I'm getting InvalidOperationException within Orchestration function after I call an activity. It complains that Multithreaded...

Consume AWS SQS and publish to Azure Service Bus

I need a piece of "cloud glue" to read messages from an AWS SQS queue and push the results into an Azure Service Bus. I like Azure Logic Apps but they do not have an SQS connector. I could hand...

How to set more than one cookie with Azure Functions?

When setting headers with Azure Functions, you pass an Object with the headerName as the key and the value as the header value. However, when creating cookies each cookie needs its own...

Azure function: Value cannot be null. Parameter name: source

Lately, when I call my Azure function, I see this exception come up whenever I try to make a HTTP request to the AddGroup function. It used to work until I updated some NuGet packages...

Azure Function with AD auth results in 401 Unauthorized when using Bearer tokens

I have a very simple Azure function in C# for which I've setup Azure AD Auth. I've just used the Express settings to create an App registration in the Function configuration. public static class...

Error setting up Azure Function within Azure Resource under Log Analytics Workspace

I have error setting up Azure Function within Azure Resource under Log Analytics Workspace. When only AllMetrics is checked, it works. But whenever FunctionExecutionLogs is checked, error occurs...

Getting "Metadata generation failed" when building C# function app in Visual Studio 2019

Starting with a C# function app created as a new project in VS2019 (16.4.1) and latest Azure libraries (Azure Functions and Web Jobs Tools 16.4.457.38025) from VS Installer, it fails to build...

Azure Functions Environment.GetEnvironmentVariable returns null

I have an Azure Functions app that I'm testing locally but it doesn't appear to be picking up my local.settings.json configuration. I had to manually create the file since I've cloned this...

Azure Function local debugging - how to restrict it to single thread or message?

I have an Azure Service Bus triggered Azure Function. When I run the Azure Function locally, it starts 16 threads and picks up 16 messages in each thread. How can I configure it so that it only...

What is the proper way to write a custom AccumulatorParam for this task?

Context: Working in Azure Databricks, Python programming language, Spark environment. I have a rdd, and have created a map operation. rdd = sc.parallelize(my_collection) mapper = rdd.map(lambda...

passport-azure-ad always redirect to failureRedirect but no error shown (nodejs)

following this tutorial I have build my azure ad login to use the graph api https://docs.microsoft.com/en-us/graph/tutorials/node?tutorial-step=3 The response from azure looks got to me and I...

How much disk space does a GCP Function have?

I am looking into different FaaS providers and am interested how much disk space I have per function. A function in AWS Lambda has 512 MB of disk space available (see here) and Azure functions...

Same-origin request causes “Access-Control-Allow-Origin doesn’t match” error, though origin of course matches. Note: has CSP policy w/ "sandbox"

When the exact same URL is being used in both by CORS and its web pages' URL, I still get the same error messages in my Firefox development console. Browser console messages were: Cross-Origin...

FastAPI @repeat_every how to prevent parallel def scheduled_task() instances

We are using fastapi-utils to have a scheduled task in the background. We check all 5 seconds if new data is available in the DB, if yes we process it (takes up to 5 minutes) During this time, the...

Azure Logic App: Checking whether property exists in a json object

I have a JSON coming from an 'SQLServer GetRecords (V2)' action like the following. Unfortunately, the response will not contain fields with null values. In my example, the 'Name' field is null...

Azure functions publish does not copy all files

When I publish my azure functions to azure not all of my referenced packages are being copied. I thus get an error stating that a specific file (Microsoft.CodeAnalysis.dll) cannot be found. I...

Connect-AzAccount : The term 'Connect-AzAccount' is not recognized as the name of a cmdlet, function, script file, or operable program

I am trying to execute the following PowerShell script in Azure DevOps pipeline by using PowerShell task with inline mode. $clientId= "xxxxxxxxx" $clientSecret= "xxxxxxx" $subscriptionId=...

How to access a DurableEntityClient in an injected class with Azure Durable Functions

I have an Azure Functions project that leverages Dependency Injection (Startup.cs injects services based on the different interfaces). Those services that implement the interfaces are using...

Recursive AWS Lambda function calls - Best Practice

I've been tasked to look at a service built on AWS Lambda that performs a long-running task of turning VMs on and off. Mind you, I come from the Azure team so I am not familair with the styling or...

Allow the Functions access only via APIM

Our partner used to access our functions directly, recently we created an APIM and connected our Azure functions with it, and we use some method like JWT to secure it. But we found the partners...

Connect Function App to CosmosDB with Managed Identity

I'm trying to write a function in a Function App that manipulates data in a CosmosDB. I get it working if I drop the read-write key in the environment variables. To make it more robust I wanted it...

Azure AD Connect "Unable to validate credentials"

I am working on a already functioning Azure Ad Connect VM, it syncs and the proxy connection responds with the code 200. BUT whenever i want to sign in, in the AAD connect in my VM, with my admin...

I'm getting the error message "Cannot convert input parameter" when trying to use my service bus triggered function, why?

Is there a way to create azure function that will expect object of ServiceBusReceivedMessage as parameter? like this: [Function("Function1")] public static void Run( [ServiceBusTrigger("...",...

Azure static app with REST API hosted on Azure App Service

I am looking to leverage Azure Static app to host a angular based SPA application and for this application I have an REST API which is hosted on Azure App Service. Based on my analysis all the...

502 Error: Bad Gateway on Azure App Service with IronPDF

I am attempting to get IronPDF working on my deployment of an ASP.NET Core 3.1 App Service. I am not using Azure Functions for any of this, just a regular endpoints on an Azure App Service -which,...

What is used as signing key when creating JWT (HS256) from client certificate?

Note: Encryption is very new to me. I'm trying to create a JWT for use in OAuth2 Protocol with client credentials flow and certificate as per these specifications....