Skip to main content
Navigator | Tier 3
August 11, 2026
Question

Microsoft 365 Excel Connection Error

  • August 11, 2026
  • 0 replies
  • 3 views

I'm trying to use the Microsoft 365 Excel - Connect action with a Control Room managed OAuth 2.0 connection in Automation Anywhere Cloud.

Environment

  • OAuth Authentication Mode: Control Room managed
  • Grant Type: Authorization Code Flow
  • Shared token successfully generated
  • Delegated Microsoft Graph permissions granted and admin consented:
    • User.Read
    • Files.ReadWrite.All
    • Sites.ReadWrite.All
    • Mail.ReadWrite
    • Mail.Send
    • offline_access
    • openid
    • profile

What works

  • OAuth connection tests successfully in Control Room.
  • Microsoft 365 Outlook Connect works successfully using the same connection and account.
  • The service account can access Outlook, SharePoint and OneDrive directly through Microsoft 365 in a browser on virtual machine

What doesn't work

The following actions fail immediately on the Connect action:

  • Microsoft 365 Excel: Connect
  • Microsoft 365 OneDrive: Connect
  • Microsoft 365 Calendar: Connect

Error:

We are unable to authorize the application with provided credentials. Please check your credentials and try again.

The error occurs before attempting to access any workbook, file or folder.

 

Question

Has anyone seen a situation where:

  • Outlook Connect works,
  • OAuth connection tests successfully,
  • but M365 Excel and OneDrive Connect actions all fail with an authorization error?

Could this be related to additional Graph permissions, package versions, or a known issue with the Microsoft 365 Excel/OneDrive packages?

Any suggestions would be appreciated.

Thanks!