Tag Archives: azure

PHP request blob file from Azure Container

Questions: I’m creating a website that needs to be able to retrieve files from an Azure Storage Container that I have and I’m having difficulty actually retrieving any files. So the container’s Access Policy is set to the Private (no anonymous access) value since I don’t want just anyone to be able to access it.… Read More »

Writes to Azure's Log Analytics Data Collector API return with 403. Worked fine yesterday

Questions: The following code uses com.google.code.gson.gson:2.8.5 and org.asynchttpclient.async-http-client:2.5.2 to send JSONs to Azure’s Log Analytics. It worked fine until yesterday midnight, but then suddenly started returning HTTP 403 responses. What went wrong? public class LogAnalyticsSender { private static final Charset UTF8 = Charset.forName(“UTF-8”); private static final String HMAC_SHA256_ALG = “HmacSHA256”; static String createAuthorization(String workspaceId, String… Read More »

Javascript Azure function with beta runtime does not return response body for error HTTP responses

Questions: With Javascript Azure functions on beta runtime, I have come across an issue where if the function returns success response (200, 201), the response body returned from context.res is correctly returned. But if the HTTP status is set to 400 or 404, the client gets standard response like “Bad Request” in response body regardless… Read More »

How to access and query an Azure SQL DB from javascript

Questions: I’m doing a project work for my IT course and i need to connect to an Azure SQL DB for querying some information from a javascript application. I’ve tryed to follow this guide: https://docs.microsoft.com/it-it/azure/sql-database/sql-database-connect-query-nodejs but without success, every command i tried didn’t works on my project… Someone could help me? Answers: