Skip to main content
Ground Control | Tier 1
August 4, 2026
Question

Automation Anywhere Excel sign in popup unattended bot

  • August 4, 2026
  • 7 replies
  • 54 views

During unattended Automation Anywhere bot execution, Microsoft Excel (Office 2016) displays a recurring "Sign In" popup asking for Microsoft account credentials to open an Excel workbook. The popup appears repeatedly and interrupts bot execution. The workbook opens through Excel, and the bot runs under a service/robot account on a Windows Server environment. Looking for known causes related to Office authentication, OneDrive/SharePoint integration, Office activation, cached credentials, sensitivity labels, or Automation Anywhere unattended bot execution

7 replies

Navigator | Tier 3
August 5, 2026

Hi ​@PAVAN 5380 ,

The recurring Microsoft Excel "Sign In" prompt during unattended Automation Anywhere execution is typically related to Microsoft Office authentication, licensing, or workbook dependencies, rather than Automation Anywhere. Please verify that Office is activated for the robot/service account and, if applicable, ensure Shared Computer Activation (SCA) is configured. Also, check whether the workbook is linked to OneDrive/SharePoint, contains external connections (Power Query, linked files, etc.), or has Microsoft Purview Sensitivity Labels applied. Clear any outdated Microsoft Office/Microsoft 365 credentials from Windows Credential Manager and retest. Finally, log in using the robot account and confirm that Office is activated, Excel opens without prompts, and the workbook can be accessed manually without requiring sign-in

Navigator | Tier 3
August 5, 2026

Hi ​@PAVAN 5380,
The recurring Microsoft Excel "Sign In" prompt during unattended Automation Anywhere execution is typically related to Microsoft Office authentication, licensing, or workbook dependencies, rather than Automation Anywhere. Please verify that Office is activated for the robot/service account and, if applicable, ensure Shared Computer Activation (SCA) is configured. Also, check whether the workbook is linked to OneDrive/SharePoint, contains external connections (Power Query, linked files, etc.), or has Microsoft Purview Sensitivity Labels applied. Clear any outdated Microsoft Office/Microsoft 365 credentials from Windows Credential Manager and retest. Finally, log in using the robot account and confirm that Office is activated, Excel opens without prompts, and the workbook can be accessed manually without requiring sign-in

Dineshkumar Muthu
Flight Specialist | Tier 4
Flight Specialist | Tier 4
August 6, 2026

Hi ​@PAVAN 5380 , 

 

If your unattended bot session loads a temporary Windows profile, Excel will trigger repeated “Sign In” popups because Office can’t access its normal identity and activation files. To verify, log in with the bot’s account and run:

Code

echo %USERPROFILE%

If it shows C:\Users\TEMP…, the profile is corrupted. Fix the profile and the Excel sign‑in prompt will stop.

 

Here’s a short, community‑friendly list of all possible root causes for the Excel “Sign In” popup during unattended bot execution, based on the page you’re viewing :

 

Possible Root Causes

  • Temporary Windows profile loaded (most common). Office identity/activation files missing → Excel asks to sign in.

  • Corrupted user profile preventing Office from loading cached credentials.

  • Office 2016 activation not completed for the bot/service account.

  • Workbook linked to OneDrive/SharePoint or saved originally from cloud storage.

  • AutoSave enabled causing Excel to request cloud authentication.

  • Sensitivity labels / IRM protection requiring Microsoft account validation.

  • External data connections pointing to SharePoint or online sources.

  • Cached Office credentials damaged (Identity / TokenBroker folders).

  • OneDrive integration active on the server even if file is local.

  • Modern authentication (ADAL) enabled on Office 2016 in a non‑interactive session.

"Everything fails all the time, so plan for failure and nothing fails" - Werner Vogels ========== Linkedin Profile : https://www.linkedin.com/in/dineshkumar-muthu/
Dineshkumar Muthu
Flight Specialist | Tier 4
Flight Specialist | Tier 4
August 6, 2026

...

"Everything fails all the time, so plan for failure and nothing fails" - Werner Vogels ========== Linkedin Profile : https://www.linkedin.com/in/dineshkumar-muthu/
Dineshkumar Muthu
Flight Specialist | Tier 4
Flight Specialist | Tier 4
August 6, 2026

.

"Everything fails all the time, so plan for failure and nothing fails" - Werner Vogels ========== Linkedin Profile : https://www.linkedin.com/in/dineshkumar-muthu/
Dineshkumar Muthu
Flight Specialist | Tier 4
Flight Specialist | Tier 4
August 6, 2026

….

"Everything fails all the time, so plan for failure and nothing fails" - Werner Vogels ========== Linkedin Profile : https://www.linkedin.com/in/dineshkumar-muthu/
Dineshkumar Muthu
Flight Specialist | Tier 4
Flight Specialist | Tier 4
August 6, 2026

….

"Everything fails all the time, so plan for failure and nothing fails" - Werner Vogels ========== Linkedin Profile : https://www.linkedin.com/in/dineshkumar-muthu/