title: Get SharePoint App details using Graph REST API
body: <p>I have an Provider Hosted SharePoint app registered using appreg.aspx. I want to get details of that app like app name, client secret start and end date using Azure Function, so that I can send alert before the app client secret expires. I have already increased the date to 3 years using the PowerShell script.</p>
  
  <p>I went through the question, <a href="https://stackoverflow.com/questions/44075464/alert-on-client-secret-key-expiry">Alert on Client Secret Key Expiry</a>. But it seems the solution is older. I have used PowerShell script to get app details but I want to use Azure Function as I already have few other functions so maintaining them will be easier.</p>
  
  <p>Is there a way to get app details using Graph REST API?</p>
  
  <p>Thank you!</p>