I had the similar issue and in my case the problem was that I had overridden
spring.security.oauth2.client.provider.azure.authorization-uri
should not be overriden, so you can try to just remove it from yaml and Spring will build it from issuer-uri