Forum Discussion

VittorioAddeoSec's avatar
VittorioAddeoSec
Copper Contributor
Oct 21, 2020

MCAS API Connector - Connect GCP - Error: Failed to create sink via Stackdriver Logging API

Hi Everyone,

 

I follow the Microsoft official procedure (Link: https://docs.microsoft.com/en-us/cloud-app-security/connect-google-gcp-to-microsoft-cloud-app-security) to connect GCP to MCAS through API Connector. Unfortunately when I'm going to connect GCP the MCAS report the following error:

Error: Failed to create sink via Stackdriver Logging API.

 

Any suggestion? Is there a way to solve this issue?

 

Thanks in advance.

Regards,

 

Vittorio (Security Team Lead)

  • Hi team,

     

    I am also getting the same issue while connecting gcp instance with MACS. The service account used in gcp has pub sub admin and logs configuration writer access. I have deleted the current secret json key and created a new one. It is also giving me the same issue

    I have followed https://learn.microsoft.com/en-us/defender-cloud-apps/protect-gcp#connect-google-cloud-platform-to-microsoft-defender-for-cloud-apps

    Has anyone find some solution on this?

  • Hi,

     

    I am facing the same issue while making connection from GCP while MCAS. I have followed the same article and have provided all the necessary roles to the service account. Can anyone suggest more on this

    https://learn.microsoft.com/en-us/defender-cloud-apps/support-and-ts

  • cristianz's avatar
    cristianz
    Copper Contributor

    We run into the same issue trying to connect GCP with MCAS, we also try to assign Project owner role to the service account (we read in some gcp forum that the service account need to be project owner) but we still get the same error.

     

    Did anyone found a solution to this error?

     

    Kind regards

     

Resources