Automation Anywhere Excel sign in popup unattended bot

Giriraja, Pavan 20 Reputation points
2026-08-04T06:39:34.69+00:00

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.

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

Answer accepted by question author
Killian N 3,470 Reputation points Independent Advisor
2026-08-04T07:19:57.9466667+00:00

Hi Giriraja 

The recurring Microsoft Excel "Sign In" prompt during unattended Automation Anywhere execution is typically related to Microsoft Office authentication, licensing, or cloud-connected workbook dependencies rather than Automation Anywhere itself. 

Based on similar cases, I recommend reviewing the following areas: 

1/ Office activation/licensing 

  • Verify that Microsoft Office is properly activated for the robot/service account running the bot. 
  • If Microsoft 365 Apps are installed on a Windows Server or shared environment, confirm that the appropriate activation method (such as Shared Computer Activation) is configured. 

2/ OneDrive / SharePoint integration 

  • Check whether the workbook is stored in or originated from OneDrive or SharePoint. 
  • Even when opening a local copy, Excel may attempt to authenticate if AutoSave, cloud storage associations, or SharePoint references are present.  

3/ External connections 

  • Review the workbook for Power Query connections, linked files, SharePoint data sources, or other external data connections that may require Microsoft 365 authentication when the workbook opens. 

4/ Cached credentials 

  • Corrupted or outdated Office credentials can cause repeated sign-in prompts. 
  • I recommend reviewing Windows Credential Manager and clearing any stale Microsoft Office, OneDrive, or Microsoft 365 credentials, then testing again. 

5/ Sensitivity labels / Information protection 

  • If the workbook is protected by Microsoft Purview Information Protection or Sensitivity Labels, Excel may require user authentication to validate access permissions before opening the document. 

6/ Robot account profile 

  • Log on interactively using the same robot/service account and verify that: 
  • Excel opens without any prompts. 
  • Office activation is valid. 
  • No first-run or account setup dialogs appear. 
  • The workbook can be opened manually without a sign-in request. 

For more information, please refer to the following link: 

I hope this information is useful.

Thank you again for your time and for raising this important usability concern. If you have any further questions or need additional assistance, please don’t hesitate to reach out.  

I look forward to your thoughts on this.  


If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment".       

Note: Please follow the steps in forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.