I am trying to login using correct credentials and I am getting following error. I have created Azure AD B2C application following spring starters described on Azure website. User created in Azure Active Directory is member of two groups test2 and test3. I have another spring application, authentication and a…
Tag: azure
Migrate Java based windows service to Azure
I have a java based windows service, which listens on a tcp port for messages and responds. I would like to migrate it to Azure. I have the option of using a VM and installing it here, however I would prefer a serverless approach. Note: I do not have the source code, just jar files installed using batch comma…
Disable Azure service bus printing logs in cloud watch
I was getting following error message in aws lambda logs : so i added maven depdenecies as : But on adding slfj4j dependencies unwated logs from azure service bus are also getting printed now eg. my log4j.xml looks like this : How can i disable these logs getting printed ? Answer I think the problem is relate…
How to get translation groups from Microsoft Translator?
If you go to https://www.bing.com/translator, (which uses the MS/Azure Translator api) and type in the word mean from English to Swedish, in addition to the “main” translation you get on the right, you also have a section that has “Other ways to say”, which are grouped by Verb, Noun, a…
Is there a way to get the headers data of events (EventHub) using @EventHubTrigger of Azure Functions in Java?
I have an Azure Function implemented with azure-functions-java-library that receives events from one EventHub and I’m using @EventHubTrigger, the problem is that I need the header data from an event but I don’t see any way to get this, I have already read the docs and nothing. The reason I need th…
Connect to an azure iot hub from inside a kubernetes cluster via amqp over websockets
we are trying to communicate to an azure iothub via amqp over websocket from a java docker container inside an azure kubernetes cluster. Sadly it seems, that the container cant establish a connection while locally or even on another virtual machine (where only docker is installed) the container run successful…
Azure Function timeout when accessing Blob
I have encountered a strange problem when accessing an Azure Storage Blob from an Azure Function. I have a Function written in Java which is supposed to download some data from a Blob and then execute a PowerShell command. The PowerShell command can launch another Java application, which accesses the same Blo…
Microsoft Azure Speech to Text Java issue: ConnectionFailure when using proxy
I am trying to get the Microsoft Azure Speech To Text Java quickstart available at: Java Quickstart to work as stated. I haven’t yet been able to do so. On running the code, the following error is displayed on the Eclipse console: I have tried regenerating the speechSubscriptionKey in the Azure console …
Azure Storage Blob: Uploaded CSV file shows zero bytes
This problem I am facing in title is very similar to this question previously raised here (Azure storage: Uploaded files with size zero bytes), but it was for .NET and the context for my Java scenario is that I am uploading small-size CSV files on a daily basis (about less than 5 Kb per file). In addition the…
How to send custom payload while provisioning device in Azure IoT?
I am trying to provision my device into Azure IoT using Azure IoT Device Provisioning Service in which I am using the custom allocation policy, under manage enrollment group. When the device registers to DPS (device provisioning service), it triggers an Azure Function in which I will decide which IoT Hub the …