Is there a way to check the version of Provider Hosted App installed in a web in SharePoint Online? App requires full control permission on the web and app only access is also true. So it is possible to create client context on the web using app only access and query the web/app-web properties. I can't login to the site directly so need a programmatic way using app access.
I tried client browser on my local site but don't see the app version in App Instance/App Tiles section. I need to do this as want to find the customers who are still using the older version of the App.
(in future, I can do it using app install/upgrade events but currently I don't have this data so need to get from the customer site only)