Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Facing issue while running VB script for SAP from Power Automate Desktop

CScript Error: Execution of the Windows Script Host failed. (Access is denied. )


Please help me on this. Thank you in advance.


Regular Visitor

Can anyone help me on this?

Super User
Super User

Access denied seems to be a message from SAP itself:

  1. Check if you have enabled scripting in your local SAP GUI client (Options > Accessibility & Scripting > Scripting > Enable Scripting)
  2. Check if your environment allows scripts (you'll need permission for the following: access transaction RZ11 > enter sapgui/user_scripting > Display > Change Value > type TRUE at "New Value" field > click Save

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,443)