We have many layers in our portal that is published by reference and are saved in Enterprise geodatabase (Oracle, Sql server etc.) or even file geodatabases (on network drive).
The only way I know to get the real location is to go to Server Manager and click on the small disk icon next to the service.
Accessing server manager is not always possible.
I could not find this info in the Portal or the REST end point.
Is there any way to get this info from the portal?