# GENAI124 Lab Error - IAM Deny Policy blocks required API Key creation (MCP Update)

**URL:** <https://discuss.google.dev/t/genai124-lab-error-iam-deny-policy-blocks-required-api-key-creation-mcp-update/406570>\
**Category:** Cloud Foundations & Onboarding\
**Tags:** troubleshooting\
**Created:** [October 20, 2026, 8:00am UTC](https://discuss.google.dev/t/genai124-lab-error-iam-deny-policy-blocks-required-api-key-creation-mcp-update/406570 "2026-10-20T08:00:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sizhe\_Wu](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/sizhe_wu/32/282671_2.png) [@Sizhe\_Wu](https://discuss.google.dev/u/Sizhe_Wu)\
**Post date:** [October 20, 2026, 8:00am UTC](https://discuss.google.dev/t/genai124-lab-error-iam-deny-policy-blocks-required-api-key-creation-mcp-update/406570/1 "2026-10-20T08:00:31Z")

</div>

Lab Code : GENAI124

Lab Name: Use Model Context Protocol (MCP) Tools with ADK Agents

Course: [Deploy Multi-Agent Systems with Gemini Enterprise Agent Platform](https://www.skills.google/paths/4525/course_templates/1275)

Hello Google Cloud Learning Community & Lab Authors,

I am reporting a persistent backend environment bug in the lab **Equipping ADK Agents with Tools** (Part of the _Professional Agentic Architect_ / _Deploying Multi-Agent Systems with the Gemini Enterprise Agent Platform_ path).

**The Issue:** The lab manual was recently updated (showing as updated ~6 days ago) to include a section on configuring a Model Context Protocol (MCP) server. The new instructions explicitly require students to navigate to the Google Cloud Console and create a new API Key named `GOOGLE_MAPS_API_KEY`.

However, the provided student account (`student-03-...@qwiklabs.net`) is restricted by an organizational Deny Policy. Attempting to create the key results in the following hard blocker:

> `Missing or blocked permissions: apikeys.keys.create (Blocked by deny policy)`

 ![屏幕截图 2026-10-19 231416](https://d2yds90mtvelsl.cloudfront.net/original/4X/c/7/2/c72c257a3419cc906488ae47aece64e0eff5b806.png)

Also tried another way to create Google Map API, it returned the same permission error.

**Support Ticket Mismatch:** I submitted a support ticket regarding this. The tier-1 support representative replied stating the lab works fine, but their attached screenshot showed they were testing a lab version updated **21 days ago** and having a credit distribution of **50 + 50** —which is the older version of the lab _before_ the MCP/API key requirement was added (now being **6 days ago** and **30 + 70** ). They were not testing the current live version of the instructions.

His version:

 ![Use Model Context Protocol (MCP) Tools with ADK Agents](https://d2yds90mtvelsl.cloudfront.net/original/4X/c/a/2/ca2799c05bca15584f75ac21c05b13eb334cea3d.png)

My version:

 ![屏幕截图 2026-10-20 033812](https://d2yds90mtvelsl.cloudfront.net/original/4X/9/1/b/91b8f761179b07700b794e267dde1ebd6df3b632.png)

They also refused to refund the 14 credits I spent on this lab.

**Impact:** Because of this IAM restriction, it is physically impossible to complete the lab as written. I successfully completed the ADK coding portion by using my personal GCP API key as a temporary workaround, but the automated “Check my progress” grading script still fails because it specifically looks for the API key inside the restricted `qwiklabs-gcp-01-286e5d0c20f8` and `qwiklabs-gcp-04-f2fc6e09a880` project.

**Request for support team:** Please refund the 14 credits.

**Request for Lab Authors:** Could the engineering team please sync the backend lab environment with the newly updated frontend instructions? You either need to:

1. Exempt the `apikeys.keys.create` permission from the Deny Policy for this specific lab, OR

2. Pre-provision the `GOOGLE_MAPS_API_KEY` in the startup script so it is ready for the student to use.
