web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excel or web browser n...
Power Automate
Answered

Excel or web browser not running in unattended mode

(0) ShareShare
ReportReport
Posted on by 53

Hi,

 

I want run test desktop flow in unattended mode. In the desktop flow I have only one action to run excel or to run web browser.

Desktop Flow:

MikeAutomates_0-1670497366974.png

 

I am running this flow through cloud flow using Hosted RPA bots:

Cloud Flow:

MikeAutomates_1-1670497450947.png

 

Hosted bots group is connected to Default Windows Image:

MikeAutomates_0-1670498600578.png

 

 

To run it in unattended mode:

1. I choose CTRL+ALT+delete, and then Sign Out

2. I send an email to bot's email box to trigger the flow

 

When in desktop flow I have actions responsible for running browser, excel, etc, it is failing with error:

Problem while executing action 'LaunchUnderExistingProcess'. Failed to open Excel document '' (Excel launching error).

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to open Excel document '' (Excel launching error). ---> System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.ExcelActions.InitializeExcelApplication(Boolean loadAddInsAndMacros, Boolean& workaroundUsed)
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.ExcelActions.LaunchExcel(Variant documentPath, Variant varPassword, Variant& excelInstance, Int32 launchMode, Boolean visible, Boolean loadAddInsAndMacros, Boolean needsAuthentication, Boolean readOnly, Boolean launchInNewInstance)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.LaunchExcel.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

It is not failing if I leave in desktop flow action like for example Set Variable.

 

I have below licenses connected to the account from which the cloud flow runs:

1. Office365 E5

2. Power Automate Per User with Attended RPA

3. Unattended add-on is connected to the environment

4. Azure Basic subscription

 

Any suggestions on how to resolve this problem?

 

Thank you in advance

  • Verified answer
    momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Hi @MikeAutomates 

    Might be a silly question but do you have Excel installed on the gold/base image that is used for building the ad-hoc VM?

  • MikeAutomates Profile Picture
    53 on at

    Hi @momlo,

     

    This is a really good point. I thought it is in the image, but it isn't. 🙂 

    How about Edge? It is in the image, however, it is not running. In the error log I see something like that:

    MikeAutomates_0-1670572887836.png

     

    Bot tried to open Edge, I think. But was asked to sigh in. Is is also related to the image settings? 

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    I guess you might be missing power automate add-on in browser

  • MikeAutomates Profile Picture
    53 on at

    Many thanks for your help.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 198

#3
David_MA Profile Picture

David_MA 197 Super User 2026 Season 2

Last 30 days Overall leaderboard