Can Dataplex read/scan assets in a different GCP Org? Specifically BQ datasets in Org B if I've configured my lake from Org A? I would reason that I could, afterall, I can create an asset to an AWS S3 source. But when I try to (interactively) create such an Asset I receive 'The project of the referenced resource 'xyz' is not in the same organization as the asset.'
Solved! Go to Solution.
In Dataplex, you cannot directly scan or manage BigQuery assets located in a different GCP organization. Dataplex enforces organizational boundaries for security and isolation, which means it does not support direct access to BigQuery datasets across different organizations. This is why you encountered the error stating that the referenced resource is not in the same organization as the asset.
Google Cloud enforces strict boundaries between organizations to maintain security and isolation of resources. This restricts Dataplex from directly accessing BigQuery datasets in another organization. Dataplex relies on IAM for access control. Permissions granted to Dataplex service accounts are scoped within the organization where the account was created. Dataplex cannot authenticate or authorize access to BigQuery datasets in another organization using its service account.
Alternative Solutions
1. Use BigQuery Views:
BigQuery Data Viewer
) on the dataset in Org B to access the view.2. Use BigQuery Data Transfer Service:
3. Data Replication via ETL Tools:
If you need to scan a dataset orgb_project.sales_data
in Org B using Dataplex in Org A:
CREATE OR REPLACE VIEW `orga_project.sales_view.sales_data` AS
SELECT * FROM `orgb_project.sales_data.table_name`;
BigQuery Data Viewer
to the Dataplex service account from Org A on the dataset in Org B.orga_project.sales_view.sales_data
as an asset in Dataplex in Org A.while Dataplex cannot directly access BigQuery assets in a different organization, you can use views or data transfer methods to work around this limitation by effectively bringing the data into the same organization as your Dataplex setup.