google-cloud-dataprocservice-accountsgoogle-cloud-data-fusiondata-streamgoogle-datastream

Cloud data fusion Permission denied due to datastream.connectionProfiles.discover


I am trying to create a cloud data fusion replication job from oracle to bigquery. Receiving the below error.

Failed to connect to the database due to below error : io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'datastream.connectionProfiles.discover' denied on 'projects/<>/locations/us-central1/connectionProfiles'

enter image description here

Following the steps mentioned in the official google documentation.

I was able to grant the Datastream Admin role to the dataproc service account. The cloud data fusion service account is not available in this project's IAM page. Not sure how to assign "Datastream Admin role" to the data fusion service account. enter image description here

Any help is appreciated..


Solution

  • enter image description here

    Found it we assign roles by the above way.