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 / Lookup value from Azur...
Power Apps
Answered

Lookup value from Azure Devops

(0) ShareShare
ReportReport
Posted on by 12

Hi Team,

 

I have a Power Apps which is connected with SharePoint. I need to bring a Status Column from Azure Devops by Lookup using ID from SharePoint and ID From Azure Devops. Is it possible to do?

 

Source: SharePointSource: Azure Devops
Column Name IDColumn Name Status
1New
2Closed
Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Aadvik,

    You need to connect to Azure Devops and get the data using the property parameter from Azure DevOps - Connectors | Microsoft Learn

    Collect the data from your Azure Devops and add a temporary column using AddColumns() for your SP list data:

     

    AddColumns(list, "Status",LookUp(Collection_AzureDevops,ID=ID).Status)

     

    Then you could bring your status column to your list.

  • Aadvik Profile Picture
    12 on at

    @v-qiaqi-msft  I have used Azure DevOps - Connectors and created a Gallery and Added below formula under Items->

     

    AzureDevOps.GetQueryResultsV2("ProjectName","QueryID","Org").value

     

    Gallery1 name -> AzureOps
    Gallery2 name -> Sharepointgallerylist.

     

    when I tried to add the formula which you provided  as below, I am getting error in finding the ID from AzureOps Gallery.

     

    AddColumns(Sharepointgallerylist, "Status",LookUp(AzureOps,ID=ID).Status)

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Aadvik,

    Do you want to display the corresponding status to ID within the Gallery directly.

     

    If so, I think you could directly refer to ThisItem.ID to get the status. Just set the Text property of the Label within the Gallery as below:

    LookUp(Gallery1.AllItems,IDLabel.Text=ThisItem.ID).Status

    Note that the IDLabel represents the label name in your Gallery1 tthat displays the ID from AzureOps.

    Or you could refer to the AzureOps directly as below:

    LookUp(AzureDevOps.GetQueryResultsV2("ProjectName","QueryID","Org").value,ID=ThisItem.ID).Status​
  • Aadvik Profile Picture
    12 on at

    Hi @v-qiaqi-msft  - Thanks a lot for your help. I almost got what I need. 
    The Query in AzureDevops returns more than 2K rows. The Gallery which I connected via AzureDevops Connector - It displays only 1000 rows. But I have provided the Max count as 20000. May I know what will be the issue here, only then I can able to validate the data.

    AzureDevOps.GetQueryResultsV2("ProjectName","QueryID","Org",{workItemsCount:20000}).value

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Aadvik,

    This is a delegation issue.

    Even thought the AzureDevops could get 20000 work items at max, however, it's a known issue, Gallery could only display 2000 records at max.

  • tech-44 Profile Picture
    39 on at

    Azure DevOps provides a robust REST API that allows you to programmatically access and retrieve data from Azure DevOps. Using various filters and parameters, you can use this API to look up values, such as work items, repositories, builds, releases, and more.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard