Skip to main content
Solved

Workspace customer id for google domains? [allowedPolicyMemberDomains]

  • November 17, 2025
  • 2 replies
  • 42 views

Forum|alt.badge.img

Hey all,

We are using domain restricted sharing https://docs.cloud.google.com/resource-manager/docs/organization-policy/restricting-domains#predefined-constraint for our organization.


We are just looking to add ` [removed by moderator] ` as a member to our pub/sub topic in a project. But because of the domain restrictions we are not able to add the internal google cloud account as the member.

Does anyone know how we can get the principal set/customer id for a internal google cloud account? [ie: account which is owned by google]

Best answer by cdiya

Hi ​@octokrishna thanks for reaching out! There are two ways you can go about solving this:

1) You can open a support case and ask support to give you the Org ID that the specific Google-owned principal lives in.

 

 

​​​​​​​​​​​​​​2) You could temporarily modify the Domain Restricted Sharing Org Policy constraint to allow adding of the Google-owned identity to your IAM policy. Once the IAM policy change is made, you can then set the constraint back to the value you’d like to enforce.

2 replies

cdiya
Staff
Forum|alt.badge.img+1
  • Staff
  • 2 replies
  • Answer
  • November 17, 2025

Hi ​@octokrishna thanks for reaching out! There are two ways you can go about solving this:

1) You can open a support case and ask support to give you the Org ID that the specific Google-owned principal lives in.

 

 

​​​​​​​​​​​​​​2) You could temporarily modify the Domain Restricted Sharing Org Policy constraint to allow adding of the Google-owned identity to your IAM policy. Once the IAM policy change is made, you can then set the constraint back to the value you’d like to enforce.


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • November 17, 2025

@cdiya Thanks for sharing! Support is unable to give out customer id but did share this doc which has the orgnization id for all google owned resources https://cloud.google.com/resource-manager/docs/organization-restrictions/additional-considerations#google-owned-resources.