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 / Problem interacting wi...
Power Automate
Suggested Answer

Problem interacting with SAP after the last update of Power Automate Desktop

(1) ShareShare
ReportReport
Posted on by 4
Hi,
we had a flow in the Power Automate Desktop that interacted with the software SAP. With the last update of the Power Automate Desktop, which is the 2.57.184.25154 it detects SAP no more as an application, but as a UIA (as if it was an image). This causes errors in the flow because it is not possible to interact with SAP. It is not a matter of the scripting of SAP, because it is already activated, as it was before.
 
Does anyone have a solution for that? Or would it be possible that the developers fix this problem in the next update?
I have the same question (1)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    I saw a very similar post the other day and responded, was that you? if not there is a specific question like this. I didnt' specifically find anything that said PAD was broken with SAP since it wouldn't be a change in PAD, it would be a change in how SAP's desktop provices access t its underlying windows etc (which is how PAD is able to determine what to click etc).
     
    If you create a new Recording, can you use the new one and it starts working?
     
     
  • MS-27061201-0 Profile Picture
    4 on at
    No, it was not me who asked the first post. The problem is that before the update of Power Automate, Power Automate was able to detect some fields in SAP (for example the field to introduce the SAP User, or the field to introduce the SAP Password). But after the update, when I try to record a new element, these fields are no longer detected, and Power Automate only detects an element, which includes almost the whole SAP window. So the problem is that before we were able to detect specific fields in SAP, that now they are no longer detected.
  • Suggested answer
    Riyaz_riz11 Profile Picture
    4,150 Super User 2026 Season 1 on at

    1. Use the Native SAP Actions

    Power Automate now offers a full SAP automation action set designed for SAP GUI (v7.50+):

    • These actions rely on SAP scripting, not UIA elements

    • You no longer need UI selectors for SAP

    • Examples: Launch SAP, Select SAP navigation item, Set SAP field value 

    Action: Switch your SAP interactions to use these native SAP actions—they're more reliable and supported.

     2. Re-enable SAP GUI Scripting

    If you’ve already enabled scripting, confirm that all required settings are set on both client and server. Missing script enablement can force PAD to fall back to UIA.

    Tip: Navigate in SAP to Options → Accessibility & Scripting → Script and ensure scripting is fully enabled 

     3. Lower DPI and Adjust Display Settings

    High DPI scaling can impair SAP selector recognition.

    Fix:

    1. Set Windows display scaling to 100%

    2. In SAP GUI: Options → Visual Design → Theme Settings → Enable “Multi-monitor scaling awareness” 

    Then restart SAP and PAD.

     4. Disable UIA Focus/Window Events (if crashes happen)

    If SAP is still detected as UIA and causing PAD to crash:

    1. Navigate to %LOCALAPPDATA%\Microsoft\Power Automate Desktop\Configurations\

    2. Create UIAutomation.config with:

    <configuration>
    <appSettings>
    <add key="UIA3.DisableFocusEvent" value="true" />
    <add key="UIA3.DisableWindowStateEvent" value="true" />
    </appSettings>
    </configuration>
     

    This reduces instability in your UI automation 

     5. Consider VBScript as Backup (Optional)

    If native actions keep failing, record your SAP steps using SAP's scripting

    → Then call them via PAD’s Run VBScript action This can be more stable in some environments.

     

    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz

  • Suggested answer
    rom_procurement Profile Picture
    2 on at
    I manage to fix my SAP flow by using Power Automate troubleshooter, which I think came with Power Automate from Microsoft Store
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 464

#2
Haque Profile Picture

Haque 431

#3
David_MA Profile Picture

David_MA 323 Super User 2026 Season 1

Last 30 days Overall leaderboard