cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Neha2904
Helper I
Helper I

Different user cannot run Excel online scripts in flow

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

5 REPLIES 5
Serbay
Resolver I
Resolver I

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
Microsoft
Microsoft

@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
Resolver I
Resolver I

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
Microsoft
Microsoft

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-...

 

Yutao

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,517)