The ‘code’ query parameter provided in the HTTP request did not match the expected value

Occasionally I have an issue when I call an azure function from a logic app. This is the error: { “statusCode”: 400, “headers”: { “Pragma”: “no-cache”, “Cache-Control”: “no-cache”, “Date”: “Thu, 24 Nov 2016 00:32:40 GMT”, “Server”: “Microsoft-IIS/8.0”, “X-AspNet-Version”: “4.0.30319”, “X-Powered-By”: “ASP.NET”, “Content-Length”: “103”, “Content-Type”: “application/json; charset=utf-8”, “Expires”: “-1” }, “body”: { “Message”: “The ‘code’ query…

API Connection SharePoint

If you have the requirement to store SharePoint documents using a specific account, you must make sure this account has access to the Azure Portal and the specific Azure subscription. In this example, I had a logic app UploadToSharePoint. Each logic app has a property API Connections. If you edit the API Connection for SharePoint,…

Logic App error using workflow parameters

I received the following error when deploying a Logic App via Powershell/ARM: InvalidTemplate. Unable to process template language expressions in action ‘HTTP’ inputs at line ‘1’ and column ‘1420’: ‘The workflow parameter ‘ahakStorageConnectorName’ is not found.’. At the top of the Logic App Json file, I defined the parameters. The parameter values were contained in…

Deploy Logic App using Powershell and ARM

To deploy a logic app via Powershell, I used the following approach; Create a directory structure with two folders, i.e.: C:\Sources\PBaars\Deployment\Release1.5\AAA-DeployResources C:\Sources\PBaars\Deployment\Release1.5\ProcessPlanning Folder AAA-DeployResources contains reusable artefacts like a parameter file and a Powershell module with reusable code. In this case the reusable code uploads files for a Web App or API App to a…

Uploading Large Files to Azure Web Apps

Link: Microsoft Azure Open Source Development Support Team Blog Attempting to upload a file larger than 28.6MB to Azure Web Apps can result in a HTTP 404.13 error. This can be due to the default Request Limits value for the maxAllowedContentLength on IIS which is 30000000 (roughly 28.6MB). To modify this value, add the following to…

Azure Storage table query

In an Azure Storage table you have a partition key and a row key. Azure Storage tables are indexed by these two columns which is important for query performance. In the code snippet below, you can see two things. First of all, it’s possible to query Azure Storage tables by other columns than partition key…