skip to Main Content

Error while retrieving OAuth 2.0 Access Token in Azure AD integrated Spring Boot App

I have configured Azure AD credentials in my Spring Boot project's application.propertiesfile using the dependency spring-cloud-azure-starter-active-directory. Here is the configuration: spring.cloud.azure.active-directory.enabled=true spring.cloud.azure.active-directory.profile.tenant-id=${TENANT_ID_ENV_VAR} spring.cloud.azure.active-directory.credential.client-id=${CLIENT_ID_ENV_VAR} spring.cloud.azure.active-directory.credential.client-secret=${CLIENT_SECRET_ENV_VAR} Application Code: @RestController public class HelloController { @GetMapping("/user") public String getUserInfo( @AuthenticationPrincipal OAuth2User principal) { //…

VIEW QUESTION

New-AzApiManagementSubscription in Powershell to create a Subscription in Azure APIM

I try to create a subscription in Azure APIM with: New-AzApiManagementSubscription -Context $Context -Name "test-01" -Scope "/products/test-ericf" -Verbose but always receive error message: New-AzApiManagementSubscription: Error Code: ValidationError Error Message: One or more fields contain incorrect values: Request Id: 7fc113c3-83af-4c6d-9e50-6825aefb3817 Error…

VIEW QUESTION
Back To Top
Search