Question: how to find azure service principal id?
Answer: Go to Azure Active Directory >> App Registrations >> Select All Apps from the dropdown menu >> find your app and click on it. The service principal will be the application Id and the secret will be the key under settings.