Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

Use flow with office script with different users

Like (0) ShareShare
ReportReport
Posted on 12 Oct 2022 12:17:51 by 10

Hi All,

 

I have some flows that fill an Excel 'template' by using office scripts that I made. The problem is that these scripts are stored on my OneDrive and PowerAutomate can't work yet with scripts stored on Sharepoint. Multiple people need to be able to run this flow with my script, I already gave them acces to my OneDrive folder where the scripts are stored and to the flow. Still, it doesn't work when someone besides my runs the flow, in the picture below is the error message, does someone have a solution for it?

 

* Error message in English: Script is not found. It is possibly not shared anymore or deleted. *

Djurre_0-1665576919373.png

 

  • tharakadilshan Profile Picture
    10 on 10 Sep 2023 at 14:08:32
    Re: Use flow with office script with different users

    Hi @v-bofeng-msft ,

     

    I have the same issue. But i can't find the "Run Only Users" Settings

     

    Thank you

     

    tharakadilshan_0-1694354903664.png

     

  • Verified answer
    v-bofeng-msft Profile Picture
    on 13 Oct 2022 at 02:43:15
    Re: Use flow with office script with different users

    Hi @Djurre ,

     

    You could set the users to be the Run-only user of the flow to force them using your account to run the script.

     

    1\Using the PowerApps(V2) instead of the PowerApps trigger

    2\Add users as Run-only users and force them to use your connection

    vbofengmsft_0-1665628924674.png

     

    Best Regards,

    Bof

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard
Loading started