From dca636df6533f8a5049d1fac0a6bf4b0398723f0 Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Thu, 19 Feb 2026 23:59:44 +0000 Subject: [PATCH] fix: import existing OrgUnit by ID 03ph8a2z0nc6rsr Co-Authored-By: Claude Opus 4.6 --- src/google.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/google.ts b/src/google.ts index c133c84..bfb5ae7 100644 --- a/src/google.ts +++ b/src/google.ts @@ -49,11 +49,15 @@ ROLES.forEach((role: Role) => { }); // Create the organizational unit for MCP users -const mcpOrgUnit = new gworkspace.OrgUnit('mcp-org-unit', { - name: 'Model Context Protocol', - parentOrgUnitPath: '/', - description: 'Organizational unit for MCP team members (Managed by github.com/modelcontextprotocol/access)', -}); +const mcpOrgUnit = new gworkspace.OrgUnit( + 'mcp-org-unit', + { + name: 'Model Context Protocol', + parentOrgUnitPath: '/', + description: 'Organizational unit for MCP team members (Managed by github.com/modelcontextprotocol/access)', + }, + { import: 'id:03ph8a2z0nc6rsr' } +); // Provision Google Workspace user accounts for members in roles with provisionUser const provisionedUsersByEmail: Record = {};