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 / Accessing "Environment...
Power Apps
Unanswered

Accessing "Environment add-ons" information programatically?

(0) ShareShare
ReportReport
Posted on by 287

Hello community,

 

I am currently building AI Builder solutions and I want to ensure that there are always enough AI credits for the end-users.

 

I would like to do is to access the information how many AI Builder credits have been assigned to an environment and how many credits have been consumed. Is there any connector action or an environment variable for that?

VilPel_0-1713188415862.png


If I can get the real-time data of the assigned and consumed credits using any action, that will be enough for my case.

 

Thanks in advance!

 

Ville

  • Kuhlani Profile Picture
    82 on at

    I haven't tested this but it seems like you can get that using Power Platform for Admins connector.

     

    The action you need should be Get Environment As Admin - It will return Environment object that includes add-on details:

     

    Kuhlani_0-1713753546662.png

     

    Edit: I'm not sure about the refresh rate of these parameters since you mentioned "real-time", but I guess this in a scheduled flow will check frequently and alert you ahead of time in a practical way.

  • velegandla Profile Picture
    204 Moderator on at

    @VilPel 

     

    Please check the link below, there is a open source tool.

    https://powertricks.io/automatically-download-tenant-reports/ 

    ====================================================

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    https://www.linkedin.com/in/devendravelegandla/ 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard