web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connector for SharePoi...
Power Apps
Suggested Answer

Connector for SharePoint Item Version History

(0) ShareShare
ReportReport
Posted on by 789 Moderator
Goal: Display an Item's version history in a PowerApps Screen. (Show data in a gallery)
 
I assume a custom connector would be the best way to obtain the data to display. Feel free to offer an alternative.
 
The REST call to get the SharePoint Item Version History is:
GET /sites/{site-id}/lists/{list-id}/items/{item-id}/versions/{version-id}?expand=field
 
I tried making a custom connector in Power Automate, but the wizard is unintuitive and I'm not familiar with Swagger to know what goes where.
 
How does one construct a custom connector to retrieve this data?
 
For bonus points, how would one supply parameters to the Custom Connector, like the SiteID, ListID, and ItemID, such that only one custom connector could be used dynamically? 
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
     
    Understand the API Call - GET /sites/{site-id}/lists/{list-id}/items/{item-id}/versions?expand=fields
     
    Set Up a Custom Connector in Power Automate
     
    Navigate to Data > Custom Connectors and click + New Custom Connector.
     
    Name your connector (e.g., SPVersionHistory).
     
    Add an Icon and description. Host: graph.microsoft.com Base URL: /v1.0
     
    Choose OAuth 2.0. Set the Identity Provider to Azure Active Directory. Add the following values: Client ID: From your Azure App Registration. Client Secret: From your Azure App Registration. Resource URL: https://graph.microsoft.com Redirect URL: Copy the value provided in Power Automate.
     
    Click + New Action to define the API operation. Fill in: Summary: Get Version History Description: Retrieve the version history of a SharePoint list item Operation ID: GetVersionHistory Request: Verb: GET URL: /sites/{siteId}/lists/{listId}/items/{itemId}/versions Add the Query Parameter: expand: Value is fields. Add Path Parameters: siteId: String listId: String itemId: String
     
     
    You custom connector will be created and ready for testing.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard