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 Run Script - Scr...
Power Automate
Answered

Excel Run Script - Script not found Error for shared users

(1) ShareShare
ReportReport
Posted on by 500

I have a cloud flow that I have shared with a Run Script connector.  The flow and the workbook is shared with others.  The Office Script is shared with everyone with access to the workbook, and they can run it manually in the workbook. When the flow is run by the account that created the flow, the connector works.  When the flow is run by someone else with access, the script is not found. The other connectors to a SharePoint list and OneDrive folders work properly for everyone. Is there any way to fix this error?

 

jiwhite_1-1701104650962.png

jiwhite_3-1701104989091.png

 

 

 

Categories:
I have the same question (1)
  • Verified answer
    Gdarmon Outlook Profile Picture
    372 on at

    One possible reason for this issue is that the other users do not have the necessary permissions to access the Office Script. To resolve this issue, you can try the following steps:

    1. Double-check that the Office Script is shared with everyone who needs access to it.
    2. Verify that the other users have the necessary permissions to access the Office Script. You can check the sharing settings for the script to ensure that the other users have the appropriate level of access.
    3. Try running the flow using the “Run only” feature in Power Automate. This feature allows you to specify which users can run the flow and ensures that the flow runs using the correct credentials.

    Gill

  • jiwhite Profile Picture
    500 on at

    Changing the flow access to Run Only with the connector set to use the service account's connection fixed the issue.  Thanks!

  • RL-23102218-0 Profile Picture
    4 on at
    I understand to check the permission. Where do I go to check those permissions? Where is the setting to properly share the script?
  • CU09011757-0 Profile Picture
    2 on at
    To verify and update who an Office Script has been shared to:
    1. Go to the script in OneDrive My files > Documents > Office Scripts.
    2.  Right click on the script and select Share. You can use the Share window to add additional users.
    3. Left click on the Manage Access icons in the lower left corner of the pop up to view who currently has access.
    4.  To view additional permissions options, select ... > Advanced Settings.

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 922

#2
Valantis Profile Picture

Valantis 837

#3
Haque Profile Picture

Haque 534

Last 30 days Overall leaderboard