How to implement Spring security with Azure AD for Webapplication

I have a confusion between two types of properties in my project. App secured with Springboot security with Azure AD.
Dependencies are added spring-cloud-azure-starter-active-directory and spring-boot-starter-oauth2-client other than Springboot and spring security.
Question on what is the difference between,
azure.activedirectory.tenant-id
spring.cloud.azure.active-directory.profile.tenant-id

What is the difference between these implementations?

Read more here: Source link