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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem launching SAP ...
Power Automate
Unanswered

Problem launching SAP GUI in Power Automate Desktop

(2) ShareShare
ReportReport
Posted on by

Hi,

I have problem to launch SAP GUI in Power Automate Desktop (version: 2.38.182.23307).

When I debug the action, I get the error message in the bottom.

In the Registry (under "HKEY_LOCAL_MACHINE/SOFTWARE/Classes/CLSID") I did NOT find the COM class mentioned in the message.

Do you have any idea how to resolve it?

Thank you in advance,

 

NYC10_1-1700673355092.png

Error Message Detail

---------------------------------------------------------------

Correlation Id: 748501de-ee29-47e4-9b2d-923d7308e4d6

Retrieving the COM class factory for component with CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Action failed. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.GetGuiApplication()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Utilities.Clock.Execute[T](TimeSpan timeout, TimeSpan period, Func`1 action, Func`2 successCondition)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.get_GuiApplication()
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.OpenConnection(String connectionString)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.CreateConnectionToSapServer(ConnectionMode connectionMode)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

 

I have the same question (1)
  • PepperoniPizza Profile Picture
    3 on at

    Did you ever find a solution to this? I am having the same issue.

     

    I am including my error, version of PAD and version of SAP, since it has broken due to recent update of SAP client. Windows is version 10

     

    ERROR:

    Correlation Id: c946eb4e-4eba-4ace-9cd9-113af4440757
    
    Retrieving the COM class factory for component with CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Action failed. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(Type type, Boolean nonPublic)
    at System.Activator.CreateInstance(Type type)
    at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.GetGuiApplication()
    at Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Utilities.Clock.Execute[T](TimeSpan timeout, TimeSpan period, Func`1 action, Func`2 successCondition)
    at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.get_GuiApplication()
    at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.OpenConnection(String connectionString)
    at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.CreateConnectionToSapServer(ConnectionMode connectionMode)
    at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.Execute(ActionContext context)
    --- End of inner exception stack trace ---
    at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.Execute(ActionContext context)
    at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
    

     

    WINDOWS OS DETAILS:

    Version 10.0.19045 Build 19045

     

    SAP DETAILS: (upgraded from 7.70)

    Component: SAP Logon for Windows

    Release: 800 Final Release - 32bit

    File Name: saplogon.exe

    File Version: 8000.1.4.1161

    Build: 2212523

    Patch Level: 4

     

    PAD DETAILS:

    Version: 2.38.00231.23307

    Microsoft Store Version: 10.0.8109.0

  • chillerbox Profile Picture
    20 on at

    Hi,

    I'm facing this issue too, have searched the web for days without any clues.

  • micro_spaceguy Profile Picture
    8 on at

    Hi,

     

    This seems like a new error, I am still trying to solve it. I am not able to get any help from internet as well. Been searching the answers for days. If anyone knows, please post.

  • chillerbox Profile Picture
    20 on at

    Hi,

    I've updated my SAPGUI version to 760, now the SAP Launch function is working properly. Try to update you SAPGUI version and see if its working.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard