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 / Different user cannot ...
Power Automate
Unanswered

Different user cannot run Excel online scripts in flow

(0) ShareShare
ReportReport
Posted on by 94

I've created a script and I am trying to run the script from a power automate flow that is triggered from Powerapps.

When I am triggering the flow, the script runs properly but if another user is trying to trigger it, the flow fails at Run Script stage with the error:

Script not found. It may have been unshared or deleted.

I've even tried added the user as co-owner of the flow and sharing the scripts but it does not work.

Flow.PNGAccess.PNG

Categories:
I have the same question (0)
  • Serbay Profile Picture
    213 on at

    Hi,
    Have you checked if they have the access to the SharePoint list as well? or You may share the scripts directly from office 365.

    Regards,
    Serbay

  • Yutao Huang Profile Picture
    Microsoft Employee on at

    @Neha2904 ,

     

    Can you take a look at my answer to this post and see if it helps?

    Re: Office Script Error: "Script not found. It may... - Power Platform Community (microsoft.com)

     

    - Yutao

     

  • Serbay Profile Picture
    213 on at

    Hi Yutao,
    Thank you so much for your response! But I don't have such an option for my flow which has a PowerApss trigger as well.

    Do you have any idea how can we call such a flow-through PowerApps on the behalf of the creator/owner?

     

    Regards,
    Serbay

  • Yutao Huang Profile Picture
    Microsoft Employee on at

    I did some digging and figured out a solution that worked for me. I've just updated the original post here: https://powerusers.microsoft.com/t5/Building-Flows/Office-Script-Error-quot-Script-not-found-It-may-have-been/m-p/841815/highlight/true#M117785

     

    Yutao

  • Neha2904 Profile Picture
    94 on at

    Thanks @Yutao 

    I changed my trigger, though. I created a column in my Share point list where on choosing "Yes" in the dropdown, the report (triggered by the office script) is created. So, now instead of Power apps, the trigger is on change in column value, and every one who has access to the Share point list can trigger the flow and generate report.

  • sehd Profile Picture
    4 on at

    After many attempts I can confirm that running a script in an excel document via automate is impossible.  Automate seems to be very poorly developed and supported.  Simple things like renaming a file in sharepoint or make use of excel are impossible without workarounds that only work sometimes. 

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard