Skip to content

Util flow to get SharePoint information from environment variables #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

kkazala
Copy link
Contributor

@kkazala kkazala commented Apr 22, 2025

  • Bug fix?
  • New sample?
  • Related issues: fixes #X, partially #Y, mentioned in #Z
  • Needs API permissions?
  • Has other prerequisites? (E.g. requires a list, document library, etc.)

What's in this Pull Request?

To create reference to a SharePoint site or a SharePoint list, you'd create environment variables of Data source type:

  • SharePoint site: Parameter type = Site, and choose a site from a drop down
  • SharePoint list or library: Parameter type =List, and choose a list/library from a drop down.

The site reference is stored as URL, but the list references are stored as GUID.
In Power Automate, different actions reference SharePoint lists and libraries differently. Sometimes, it will be list Title, sometimes the URL (a.k.a. RootFolder), and other times, an Id.

The "Get Data Source List Info" flow retrieves SPO site and library information including their names, urls, Guids and driveIds.

Checklist

  • My pull request affects only ONE sample.
  • I have updated the README file.
  • My README has at least one static high-resolution screenshot (i.e. not a GIF)
  • My README contains complete setup instructions, including pre-requisites and permissions required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant