Skip to main content

Notifications

Community site session details

Community site session details

Session Id : hYJ+2Cm6e8SH51eJJmqgLx
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#2
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 4 Super User 2025 Season 1

Overall leaderboard
Loading started