I am able to retrieve most of the information from the Azure Portal using the Graph API through a PowerShell script with the Invoke-RestMethod such as basic information (name, certificate thumbprint and certificate expiration) from SAML Certificate except below.
Currently, I m attempting to retrieve a basic information in SSL Certificate from the Application Proxy of an app located within the Enterprise Application (kindly refer to the attached image) such as Subject, Certificate Thumbprint and Certificate Expiration.
I ve searched for documentation on this, but I found one that relies on a module, Here
I do want to avoid using modules and instead use the Graph API with the Invoke-RestMethod in PowerShell.
My question is: Do you have any suggestions or ideas on how to retrieve this data such as Subject, Thumbprint and Expiration Date of SSL Certificate only in Application Proxy from the image below using the Graph API and Invoke-RestMethod in a PowerShell script? Thank you in advance!
A sample pic of SSL Cert from App Proxy Enterprise App in Azure Portal