Introduction
Migrating from Google Workspace to Microsoft 365 is a common task for organizations looking to streamline their productivity tools. However, one roadblock you might encounter is the inability to create a Google Cloud service account key due to your organization’s security policies. Specifically, the iam.disableServiceAccountKeyCreation constraint can prevent you from generating the keys necessary for migration.
In this guide, we’ll walk you through why this happens, how to resolve it, and the steps to successfully migrate your data from Google Workspace to Office 365.
Understanding the Issue
When attempting to create a service account key, you might encounter the following error:
"Service account key creation is disabled. Your organization has enforced a policy that prevents new service account keys from being created."
This error occurs because your Google Cloud organization has enabled the iam.disableServiceAccountKeyCreation policy, which restricts the creation of new service account keys.
Why istThis policy enabled?
Organizations often enable this policy to:
- Enhance security: Prevent unauthorized key creation.
- Reduce risks: Minimize the chances of leaked or misused service account keys.
- Ensure compliance: Meet security frameworks and industry standards.
To successfully migrate away from using service account keys, you need to prevent new keys from being created. During the deployment phase, you enforce the iam.disableServiceAccountKeyCreation organization policy constraint to prevent the creation of new service account keys.

While this is a good security practice, it can block essential tasks like Google Workspace to Office 365 migration, which requires a service account key.
Steps to Resolve the Issue
Step 1. Identify Policy Restrictions
Before making any changes, verify if the iam.disableServiceAccountKeyCreation policy is active in your Google Cloud Console.
- Sign in to Google Cloud Console (console.cloud.google.com).
- Navigate to IAM & Admin > Organization Policies.
- Search for "Disable Service Account Key Creation" (iam.disableServiceAccountKeyCreation).
- If the policy is enforced, you’ll need administrator approval to modify it.





Join the conversation! Your thoughts help the community grow.