Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community

How to Troubleshoot GCP integration

Silver Contributor

Yesterday, We connected a GCP org to Defender for Cloud, Security Posture shows the organization and 50 projects but the score is N/A and all of them show 0 of 0. How can I troubleshoot to see what is preventing the recommendations from being performed and reported?

18 Replies
Hi Dean,
Assuming you have followed our guidance and configured everything correctly on both sides, it may take up to 6 hours before you can see any assessment results in MDC. We run data sync and assessments for each connector several times a day. We are also working on significantly reducing this interval and provide near real time assessment.
If you are still experiencing issue after 6h+ after initial setup, please contact our support .

Thanks, we attempted to follow that guidance, but it is incomplete. It does not define the roles and permissions that are required so we had to do some troubleshooting. I don't know if that caused the issues, but it has been about 18 hours. The Inventory page does not show any resources from GCP, but the Security Posture pages does show the organization and projects.
Do you mean regular Azure Support or something else?
best response confirmed by VI_Migration (Silver Contributor)
Yes, regular support. Thank you for your feedback.

@Stanislav Belov these instructions Connect Google Cloud Platform to Defender for Cloud Apps | Microsoft Docs have prerequisites that are not listed in the MDC instructions, specifically, that the Security Command Center needs to be enabled in GCP, is this also a requirement for connecting GCP to MDC?

This was a requirement for our first version of the connector (Classic). The new experience does not have dependencies on either AWS Security Hub or GCP Command Center.
Thanks, I was hoping that was the cause of my problem, but apparently something else is the issue. I can't open a support ticket because my tenant is managed through our CSP program and we don't have support set up with ourselves :)
I have opened a ticket and this is not something that they have any experience with. They are trying to find the right people to help. It would be good if the support team could get trained on new features before they are made available. I don't mind troubleshooting but after seeing demos showing how easy this was supposed to be I'm somewhat disappointed
This is a wrong article Dean. We are talking about Defender for Cloud here :)
Hey Dean, have you added a standard to the connector for the GCP org? The GCP Default standard has to be assigned for Secure Score recommendations to appear.

To assign the GCP Default standard, follow the steps below:
1. Navigate to environment settings
2. Select the relevant connector for the GCP org
3. Select ‘Standards’
4. Select ‘Add’ -> ‘Standard’
5. Choose the GCP Default standard from the drop-down menu
6. Select ‘Save’

@Lara_Goldstein yes, I did that 


This is what I see in the Security Posture 



@Dean_Gross, can you verify that all the GCP resources were created as expected in the GCP project?

  1. WorkloadIdentityPoolId
  2. WorkloadIdentityProviderId
  3. ServiceAccountEmail



@Lara_Goldstein that account seems to be ok the check marks are green 



Thanks, I accidently pasted in the wrong link, I meant to ask you about which had many prerequisites that don't appear to still be required for the new environment settings approach.
I am tempted to delete the Environment settings in Azure and start over but I'm concerned that there will be resources in GCP that won't get cleaned up and cause future problems. Is there a way to remove those? or is this a bad idea?
I don't advise deleting it yet since the resources in GCP won't be deleted. Have you noticed any difference after the weekend?
no change, I am still not getting any data for the resources.
Hi Lara ,

I am getting the similar issue as Dean as well .Contacted MS support but it have been dragging for months .
Recently we added a basic troubleshooting guide to help you with finding possible issues, if it does not help, please continue working with our support:
1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Yes, regular support. Thank you for your feedback.

View solution in original post