I have a web application in C# through which I'm trying to get access token for Microsoft Graph API. I'm able to get tokens through using Client secret, but don’t want to get the token by using the client secret but get the token by other means, want to get tokens without client secrets.
I'm successfully getting the tokens using secrets and have stored them in KeyVault but getting an alert for "***Explicit Credentials are being used for your application/service principals***", so require some alternative to get tokens.
Is there any way to get tokens without secrets. Any help would be great.