Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

how to get the Collection table filed value from the collection

(0) ShareShare
ReportReport
Posted on by

Hi Team,

 

Before reading this

I request you to open the below URL to understand more about what actually i am trying to get.

https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-service-plan-reference

 

  • Product name: Used in management portals
  • String ID: Used by PowerShell v1.0 cmdlets when performing operations on licenses or by the skuPartNumber property of the subscribedSku Microsoft Graph API
  • GUID: GUID used by the skuId property of the subscribedSku Microsoft Graph API
  • Service plans included: A list of service plans in the product that corresponds to the string ID and GUID
  • Service plans included (friendly names): A list of service plans (friendly names)

We have a request to get the Azure Ad users, user licenses, and sublicenses in the Power app.

So we created a GRAPH API and it's working fine.

Now question is 

based on the above bullet points 

 

we can able to get skuPartNumber using the graph API, actually, skuPartNumber is not understandable to us,

we need to get the Product name from that Microsoft table(Link which I gave above). so we have created another collection to Lookup the product name to the respective skuPartNumber.

So the collection has the relevant ProductName,  to all skuPartNumber.

ProductName is more understandable to us like in the Azure portal example please check the below screenshot from azure.

muralikrishna12_0-1665768775697.png

 

likewise, we also have sublicense details as well in the collection.

This means in the collection has table values with the license (product name)  and sublicense details.

 

now we need to get into the gallery in the below format

LicenseSublicense
  

The license is in a Lable and the Sublicense is in another label.

 

to the gallery items property, I set the collection name which we created(which is holding from the Graph API the product name, sublicense friendly name )

the below screenshot shows Graph API that we are getting user license details.

muralikrishna12_2-1665770279878.png

Here is the collection result with columns.

 

muralikrishna12_1-1665770159638.png

 

skuPartNumber: is the license name 

ServicePlans : is for SubLicense purposes.

 

muralikrishna12_4-1665770711684.png

 

Collection to get friendly names 

muralikrishna12_5-1665771007978.png

 

 

muralikrishna12_3-1665770621211.png

 

We can able to get ProductDiplayName into the gallery because from Graph API it's a direct field (skuPartNumber)

In the same gallery another label, we want to get the Sub License list as well as the respective license.

 

you can see the Gallery License label is getting the friendly name from the collection.

 

muralikrishna12_6-1665771542080.png

 

same way which is not happening to Sub License. please check the error below.

muralikrishna12_7-1665771861442.png

 

yes because of the skuPartNumber direct field in Collection so it's working,

whereas serviceplans is a column in a collection, but ServicePlans itself is a table, having the ServicePlanName field from a collection.  please check the below screen.

muralikrishna12_1-1665770159638.png

------------------------------------------------------------------

muralikrishna12_4-1665770711684.png

 

 

Does any help please on how to get the table filed(ServicePlanName ) value from the collection?

If you make a sample really appreciate it.

 

 

 

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard