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 / Cannot find SiteAssets...
Power Automate
Unanswered

Cannot find SiteAssets folder in Workbook Library for Run Script Excel Connector

(0) ShareShare
ReportReport
Posted on by 2

Context: I'm trying to set up a flow using the "Run Script from SharePoint library" connector on a file stored in the SiteAssets/SitePages/ directory within a SharePoint site.

 

Issue: When I specify the SharePoint URL in the "Workbook Location" field (which the connector accepts), the SiteAssets directory does not appear in the "Workbook Library" dropdown and so I cannot select the relevant workbook (from "Workbook").

 Sharepoint SiteAssets.png

Steps Attempted: I've tried getting the ID from the URL for the folder the file is in - but by inputting this the connector gives an error saying the "Drive ID is not valid" (paraphrasing).

Is there anything else I can do?

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @mrd2023  you can try getting Drive Id of Site Assets library, to get the drive id, you can follow steps from this post https://powerusers.microsoft.com/t5/Building-Flows/Get-drive-id-for-Doc-Library-selection/m-p/856932/highlight/true#M120083

     

  • mrd2023 Profile Picture
    2 on at

    Thanks Anna - I did attempt the solution linked above, but my knowledge of REST APIs and JSON responses isn't great so was unable to get the IDs. In truth it will be easier for me to move the file to a visible part of the Sharepoint directory.

    More importantly, the script I was hoping to run will currently not work, so I have had to pause development on this solution for now.

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard