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 / Launch SAP error Objec...
Power Automate
Answered

Launch SAP error Object reference not set to an instance of an object.

(0) ShareShare
ReportReport
Posted on by 3

Hello,

 

i use SAP Logon 770 and both scripting options are enabled client & server side.

 

when i run launch SAP in Power Automate it works till username and password have to be entered.

This is the SAP screen when the error occurs:

MarcMeyer_0-1717682285007.png

And the launch SAP action:

MarcMeyer_1-1717682391620.png

 

 

The error message displayed: 

Correlation Id: 6360d125-5731-47e3-bc74-a717e382b2b2

Object reference not set to an instance of an object.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Action failed. ---> System.NullReferenceException: Object reference not set to an instance of an object.
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 (0)
  • Verified answer
    eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    Multiple people seems to have had trouble logging in to SAP with the SAP actions(they are fairly new addition to PAD). 
    Have you tested that you can actually use Scripting in SAP? So can you use SAPs own recorder and playback feature?

    eetuRobo_0-1717744060733.png


    If so I would recommend launching the SAP with Run application -action
    https://learn.microsoft.com/en-us/power-automate/guidance/rpa-sap-playbook/creating-sap-desktop-flow... 

    eetuRobo_1-1717744119138.png

     

    Then maybe you can try using Attach sap instance -action.

    Also check this thread for fixes: https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Launch-SAP-Action-failed/td-p/2743147 

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard