I am using below dependency to fetch token using RSOP msal4j 1.9.0
Using Class PublicClientApplication with UserNamePasswordParameters **Microsoft reference:**https