I'm looking for a way to retrieve all details for an application using its Application ID (client_id). Something similar to the Graph endpoint https://graph.microsoft.com/v1.0/servicePrincipals?$search="appId:<client_id>", but this endpoint only returns data if the Application is used somewhere in my own tenant. I'm looking for a globally available method to retrieve this information for any available application. Specifically looking for information on whether the publisher of an application is verified.
Some of the information I'm looking for is also available by calling https://login.microsoftonline.com/common/adminconsent?client_id=<client_id>
For example when using the client_id for the GMail app, calling this URL https://login.microsoftonline.com/common/adminconsent?client_id=2cee05de-2b8f-45a2-8289-2a06ca32c4c8 will prompt me for consent and shows me the name, publisher, logo and validation status. In this gase: Gmail, Google LLC and it's a verified publisher. I want to be able to retrieve this information programatically so I can enrich user consent warnings with this information in my SIEM across multiple tenants. And preferably without having to ask consent.