Android Application implementing Azure Active Directory Authentication to call protected Azure Function
In this post, I am writing about how to setup Azure Active Directory Android application login to access Azure functions protected with Azure Active Directory authentication.
Create an Android Application Open Android Studio and create new Project with Empty Activity.
Configure project with below settings
Get SHA1 & package name Open powershell and cd to C:\Users<username>.android Execute below command, if prompted for password enter android or leave blank
keytool -list -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android
Copy SHA1 -> Navigate to https://base64.guru/converter/encode/hex and convert SHA1 to Base64
Copy package name from AndroidManifest.xml
Now you have packagename & Base64 SHA1 hash