Skip to content

Util flow to get SharePoint information from environment variables#145

Merged
Katerina-Chernevskaya merged 11 commits intopnp:mainfrom
kkazala:kkazala/flow_getSPOInfoFromEnvVar
Jun 4, 2025
Merged

Util flow to get SharePoint information from environment variables#145
Katerina-Chernevskaya merged 11 commits intopnp:mainfrom
kkazala:kkazala/flow_getSPOInfoFromEnvVar

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

@Katerina-Chernevskaya Katerina-Chernevskaya self-requested a review June 4, 2025 10:36
Copy link
Contributor

@Katerina-Chernevskaya Katerina-Chernevskaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kkazala ,

Thank you for your contribution! I'm going to merge the sample. Thank you for sharing!

Katerina Ch.

@Katerina-Chernevskaya Katerina-Chernevskaya merged commit 4bf0990 into pnp:main Jun 4, 2025
1 check passed
MrNICEForBonusWinner pushed a commit to MrNICEForBonusWinner/LLM-Analysis that referenced this pull request Jul 21, 2025
…vVar

Util flow to get SharePoint information from environment variables
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.

2 participants