Need no authentication but only authorization from spring boot 3 to access roles for API exposed
We want to just authorization using spring boot 3 for the APIs exposed for the ROLE that is there in the token issued from another cli client by executing command = az account get-access-token. We need sample piece of code of spring 3 application that…
Problem with spring-cloud-azure-starter-active-directory-b2c -> Add sign-in with Azure Active Directory B2C to a Spring web app
'm facing issues using spring-cloud-azure-starter-active-directory-b2c in my Spring Boot project. The import statement import com.azure.spring.cloud.autoconfigure.aadb2c.AadB2cOidcLoginConfigurer cannot be resolved. I'm using version 5.17.1 of the…
Cross Subscription issue
Hi, We are trying to find out whether there is a cross subscription issue arises when we communicate from a resource with another resource which is under a different subscription. The ex scenario: A spring boot java application using Azure…
Firebase Storage Authorized Azure Spring App
I have successfully deployed my Azure Spring Boot application to Azure, but I'm using Firebase Storage to store images. Locally, to use the Firebase Storage API, I need to download the serviceAccountKey.json file and use the login command with the Google…
Problem launching an application using spring-cloud-azure-starter-active-directory 4.0.0
Hello everyone, We are currently working on a project using : Java 8 Spring Boot 2.2.4 Spring 4.3.17 Maven 3.9.6 As part of an initial migration from spring boot 2.2.4 to 2.5.0, we had to upgrade the azure-spring-boot-starter-active-directory…
How do I create a flexible sql Server in my bash terminal? (Terminal Freezes)
Hello there, I have an issue creating a flexible sql server in my bash Terminal in VS Code. I am doing the Java module "[Deploy a Spring Boot app to Azure App Service]", the first exercise in this module "Create Azure resources and a…
Azure Spring App Consumpion plan - managed identity
Is Managed Identity available for Azure Spring App running in the Standard Consumption plan? The managed identity assignment is well documented for the Basic/Standard/Enterprise plans but nothing for the Consumption one. Via az CLI I'm able to create a…
How to fix JMS Listener issue illegalstateexception: Pool not open in Spring boot with ASB
Issue: JMS Listener is not consuming the message throwing exception like illegalstateexception: Pool not open Dependencies: spring-cloud-azure-dependencies: 5.9.1 spring-cloud-azure-starter-servicebus-jms: 5.9.1 spring-boot-starter-parent: 3.0.13 …
Getting HTTP 502 error for our Azure Spring App Instance
We have an internal application hosted on Azure Spring Apps, but we are getting 502 Bad gateway error, whenever we try to access application rest endpoint. We have validated it with our network team and all the respective DNS configuration are rightly…
Does Spring Cloud for Azure support AKV (keys)
In this microsoft learn article, I can only see the support to 'certificate' and 'secret'. For example, we can easily auto configured the SecretClient with the properties defined in application.yaml but not the KeyClient where we use in Azure SDK for…
Troubleshooting 'Connection aborted.' exception when deploying Spring app
I am attempting to deploy a Spring project via cmd using the command "az spring app deploy --resource-group <resource-group-name> --service <service-name> --name <app-name> --verbose --artifact-path <path>". However, I…
Error when deploying Azure Spring Apps with "reading 'minReplicas"
I previously deployed my spring boot project on Azure successfully with the following application.properties, but now I am receiving an error message: Failed to deploy app diamondstore (1/3) Requesting file upload URL... Done (2/3) Uploading JAR…
How to fix server time out(500 error) , I have deployed web application in tomcat server which has been hosted on Azure PaaS app service plan p2v3.
I have a functionality in web application that runs more than 5 minutes, So need to set time out more than 10 mins. Application has been hosted on the Azure PaaS app service plan with P2V3. Please help me to change default time and set server time…
How to integrate spring security with Azure OAuth2.0 endpoint ?
We are trying to use spring-boot-oauth-resource-server approach to enable authentication and authorization against Azure OAuth. We have registered a client app and create the client secret, scope api endpoints etc. We are also able to generate a token…
Spring boot azure function : Http Trigger : This function was programmatically called via the host APIs return 500 error
I am trying to create a spring boot azure function using the following guide https://github.com/eggboy/springcloud-azurefunction/tree/springboot3 https://medium.com/microsoftazure/create-azure-function-with-spring-cloud-function-ab150216d2bd I was able…
The index path corresponding to the specified order-by item is excluded.
Hi 🙂 I run a Spring Boot app on Azure, it connects to CosmosDB through ReactiveMongoTemplate. I can save to the collection but my query fails with the following error message: Caused by: com.mongodb.MongoQueryException: Query failed with error…
"Sign in to your account" HTML response being returned from my Azure Integrated Rest API
Hello, I am getting a 200 response that includes HTML that says "Sign in to your account" when hitting my Spring boot protected api. I am first getting a bearer token with the following parameters. I am hitting the endpoint…
how to get the azure spring apps /actuator/integrationgraph metrics be the same on Azure and on local
Hello, We have a Spring Boot 3.2.5 microservice which uses Spring-Integration to consume messages from IBM MQ Server. To find how many messages processed/failed we are using actuator endpoint /integration.When we run this microservice on prem it shows…
How to return file name and last modified from fileshare on azure storage using java spring boot
How to return file name and last modified from files hare on azure storage using java spring boot // Retrieve the storage account from the connection string. CloudStorageAccount storageAccount = CloudStorageAccount.parse(connectString); // Create a…
Is it possible to use a contract-first approach with Spring Cloud Function for Azure Functions?
I am interested in designing a Spring Cloud Function using an OpenAPI contract-first approach. Can anyone confirm if this is possible? If so, how would I expose the endpoints? Please provide any insights and examples, including any sample…