while working with Databricks i had the need to remove an external location.
I runt SHOW EXTERNAL LOCATIONS with this results:
After this I runt DROP EXTERNAL LOCATION gold_prd
Recivieng the error:
Storage Location has dependent catalogs, schemas, managed or external tables/volumes; You may use force option to delete it but the managed storage data under this location cannot be purged by Unity Catalog anymore.
I have no catalog/schemas or other object under this location, but before forcing the operation is there a way to list all objects dependend from this location?

AFAIK there is no consolidated way to get the list all objects dependent on external location. You need to check for the individual tables or schema using the following command.
You can check this document and Verify whether you have any tables selected from this location that are currently active in other catalogs. Your metadata is typically saved in the metastore; only data from external tables is kept in an external place.