Troubleshooting3 min read

Multiple Google Accounts Issue

Resolve conflicts when signed into multiple Google accounts in the same browser

Overview

When you're signed into multiple Google accounts in the same browser, Google Sheets add-ons may execute under the wrong account. This is a known Google limitation documented in Google Issue Tracker #69270374.

ModelMonkey detects this issue automatically and displays a warning dialog when an account mismatch is detected. The add-on cannot function correctly until the issue is resolved.

Warning

This is a Google platform limitation, not a ModelMonkey bug. The solutions below are workarounds for this Google issue.

Identifying the Issue

When ModelMonkey detects an account mismatch, you'll see a warning dialog titled "Multiple Google Accounts Detected" with the message:

ModelMonkey is running as the wrong account. This is a known Google limitation when signed into multiple accounts.

The dialog shows both email addresses:

  • Expected: The account that should be running the add-on (the account that owns or has access to the spreadsheet)
  • Running as: The account that is actually being used by Google's add-on system

This mismatch prevents ModelMonkey from accessing your spreadsheet correctly.

Solution 1: Use Chrome Profiles

The most reliable solution is to use separate Chrome profiles for each Google account. This prevents account conflicts permanently.

How to set up Chrome profiles:

  1. Click your profile icon in the top-right corner of Chrome
  2. Click "Add" to create a new profile
  3. Sign into Google with only the account you want to use for that profile
  4. Use this profile whenever you work with spreadsheets owned by that account

Each Chrome profile maintains its own signed-in accounts, cookies, and extensions. By keeping one Google account per profile, you eliminate the possibility of account conflicts.

Tip

This is the recommended solution. Once set up, you'll never encounter this issue again for that account.

Solution 2: Sign Out of Other Accounts

If you prefer not to use Chrome profiles, you can temporarily sign out of conflicting accounts:

  1. Go to accounts.google.com
  2. Sign out of the account shown as "Running as" in the warning dialog
  3. Reload your spreadsheet

This ensures Google's add-on system uses the correct account.

Warning

You'll need to repeat this process whenever you sign back into multiple accounts.

Frequently Asked Questions

Why am I seeing "Multiple Google Accounts Detected"?

This occurs when you're signed into multiple Google accounts in the same browser. Google Sheets add-ons may run under the wrong account due to a known Google limitation. To fix this, we recommend using separate Chrome profiles for each Google account, or signing out of accounts you're not actively using.

Why can't ModelMonkey just use the right account?

Google's add-on system determines which account runs the add-on code, and this decision happens before ModelMonkey can intervene. We can only detect the mismatch and warn you—we cannot override Google's account selection.

Will Google fix this issue?

This issue has been reported to Google since 2017. While it remains open in their issue tracker, there's no timeline for a fix. Using Chrome profiles is the most reliable workaround.

Does this affect Excel?

No. This issue is specific to Google Sheets and Google's account management system. Microsoft Excel add-ins handle authentication differently.

Technical Details

For users who want to understand the technical background:

Google Apps Script (which powers Google Sheets add-ons) uses a session-based authentication system. When multiple Google accounts are signed in, the system may select the wrong account's session to execute add-on code.

For more technical information, see:

Related Documentation