Questions tagged [azure-spring-boot]
31 questions
0
votes
1 answer
Auto assigned nodeId for azure spring app or how to get app instance name
In azure spring boot app while having multiple instances I need to get somehow its app instance name, or would be perfect to configure nodeId generation ( int/long type , but if now I can live with name ).
Anyone knows how to access this data from…

FrancMo
- 2,459
- 2
- 19
- 39
0
votes
1 answer
112404: Exit code 1 error while deploying Spring App to Azure
I have a simple Spring App. Nothing complicated about it.
It is trying to connect to a database that I have created previously on Azure.
This is my application.properties which points to the database (everything with the connection strings,…

Oliver Watkins
- 12,575
- 33
- 119
- 225
0
votes
1 answer
How do I view my app logs in Azure spring boot apps?
I am using Azure Spring Apps, and I am deploying a very simple Spring App
I have deployed my spring app to azure like so :
az spring app deploy --resource-group myResourceGroup --service myService --name myName --artifact-path…

Oliver Watkins
- 12,575
- 33
- 119
- 225
0
votes
1 answer
Send from Spring App to Azure Service Bus: 'Send' claim(s) are required...'
I'm trying to send a message from my Azure Spring App into my Azure Service Bus Queue. The Spring App has a system-assigned managed identity with the Azure Service Bus Data Sender RBAC assigned to it. However, the error still complains that Send…

Boommeister
- 1,591
- 2
- 15
- 54
0
votes
1 answer
Adding a custom OidcUserService to work with Spring Azure AAD OidcUserService
We have the following Spring Security Configuration class that extends Spring Azure configuration adapter and want to add a custom OidcUserService to the userInfo callback. We have 2 separate projects, a prototype one and our real project. We used…

bytor99999
- 726
- 7
- 26
0
votes
1 answer
SAS token using Azure AD Service Principle for ADLS Gen2 at directory level in java
I have been trying to get a SAS token for ADLS Gen2 using java but haven't got any good example or document, Can anyone please provide an example or document to follow. (I am able to generate for blob storage at container level but not for ADLS Gen2…
0
votes
1 answer
Jpa Specification equivalent for cosmosDb
I'm trying to migrate spring boot application from mssql to CosmosDb.
We have the below repository implementation using org.springframework.data.jpa.domain.Specification; which can fetch data based on any (one or more) columns requested by the…

user3407500
- 35
- 1
- 6
0
votes
0 answers
Azure - EventHub Consumer Binding With AMQP Web Sockets
I'm trying to set up a very basic proof of concept to link a Spring application to an Azure Event Hub. I keep getting this log in my startup:
[2021-11-17 16:49:18.343 ERROR 25816 --- [ main] o.s.cloud.stream.binding.BindingService : Failed…

MogDog
- 35
- 7
0
votes
2 answers
azure-spring-boot-starter-keyvault-secrets not resolving vcap service variables during application startup in PCF
I am upgrading my application from older version of azure-key-vault to latest version of azure bom.
Below are the changes in pom.xml and the app fails to start in PCF
Before making changes in pom.xml:
…

Venu
- 1,513
- 3
- 19
- 37
0
votes
1 answer
How do I configure a single page Google and Azure OAuth2 login in Spring Boot and Spring Security?
I am trying to build a login page using spring security with both Google and Azure.
My pom.xml file includes these dependencies:
org.springframework.boot
…

Josh Dev
- 1
0
votes
1 answer
Spring Security for Spring cloud stream with RabbitMQ as binder
I have a Spring boot application with Spring cloud stream enabled. This project contains both API endpoints and producer/consumer streams in it. In our case RabbitMQ is the binder. We have enabled Spring security but it works for API endpoints.
I…

Vignesh
- 101
- 1
- 7
0
votes
1 answer
How should I go about extending com.microsoft.azure.spring.autoconfigure.aad.UserPrincipal?
I'm using MSAL on the front end (PKCE) and azure-active-directory-spring-boot-starter on the server to provide an entity which represents the logged in user and their claims.
I've built a class which wraps Microsoft's UserPrincipal to provide easy…

Josh
- 4,009
- 2
- 31
- 46
0
votes
1 answer
Unable to write to Azure Service Bus Topic from Spring Boot Application using azure-servicebus-jms-spring-boot-starter
I am trying to push a message onto an azure service bus topic using JMS in Spring Boot.
As you can see below I have pulled in the dependancy for azure-servicebus-jms-spring-boot-starter
I have configured @EnableJms in my Application and I also have…

Russell Brady
- 188
- 1
- 13
0
votes
1 answer
Unable to deploy my first Azure Spring Cloud application
I'm trying the QuickStart to running A Spring Boot in Azure Spring Cloud https://learn.microsoft.com/en-us/azure/spring-cloud/spring-cloud-quickstart?tabs=IntelliJ&pivots=programming-language-java
I download the spring starter with associated jars,…

user2395365
- 1,991
- 4
- 18
- 34
0
votes
1 answer
Unable to fetch key vault values through azure app config in spring boot app
Issue Description
We need to fetch key vault secret values provided as a key reference in Azure app config. We are able to fetch values present in app config but not the key references to key vault secrets.
Platform
Spring Boot
OS: Windows (running…

pvjhs
- 549
- 1
- 9
- 24