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 / Multiple instances of ...
Power Apps
Answered

Multiple instances of an app

(0) ShareShare
ReportReport
Posted on by 67

Is there a way to check in the app how many instances of this given app are currently running?

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @PowerFred 

    You could do this with telemetry through Azure Application Insights.  Very easy to add to your apps - information at this link.

    Otherwise, you would need to have your app store some value someplace (a SharePoint list, etc) that indicates it is running.  Then you could look at that list and see what is running.  You will also need to determine some way to "end" the app so that you could remove that value.  Also you'd need to take into account if a user abruptly ends an app (rather than exiting the way you want), as your app will never then have the chance to update its value.

    That said...the first option above is the easiest - App Insights.

     

    I hope this is helpful for you.

  • FD-19081541-0 Profile Picture
    67 on at

    Thanks Randy,

     

    II was thinking of building a user logging mechanism as you describe it with the limitations in case of apps ending brutally.

     

    I was not aware of the Application Insights possibilities. 

     

    BR/
    Fred

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @PowerFred 

    Yes, the App Insights are awesome because you will get instant telemetry of your app usage.  And if you need to add more events to it, you can put those in your app also.

    It's so easy because you just set up the Insights and get the Key and then just put the Key in your App...done!

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard