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

Community site session details

Session Id : uxl96VxRhUR66eMGs785c/
Power Apps - Building Power Apps
Answered

How to get PowerApps published version number on App start

Like (1) ShareShare
ReportReport
Posted on 2 May 2024 02:17:46 by 388

Hi,

I am trying to get version number of application using below function but I am getting published version date and time but not version numbert.  I used PowerAppsforAdmins too but same issue .

Set(varAppVersionNumber, LookUp(PowerAppsforMakers.GetApps().value,properties.displayName = "Policy Application", properties).appVersion);

 

I do have system administration permissions in this dev environments, but I am not sure why I am getting date and time.

 

Any help would be greatly appreciated.

I have the same question (0)
  • Yogesh Murugan Profile Picture
    443 Moderator on 02 May 2024 at 06:39:30
    Re: How to get PowerApps published version number on App start

    Try this : 

     

    Set(
     varAppVersionNumber,
     "Version - " & CountRows(
     PowerAppsforMakers.GetAppVersions(
     First(
     Filter(
     PowerAppsforMakers.GetApps().value,
     properties.displayName = "Policy Application"
     )
     ).name
     ).value
     )
    )

     

    Please mark my post as the accepted solution if it assisted you in resolving your issue. This action will aid others in locating the solution more easily. Additionally, if you found the content helpful in other ways, please consider giving it a thumbs up.

  • VishalJhaveri Profile Picture
    1,167 Moderator on 02 May 2024 at 06:51:18
    Re: How to get PowerApps published version number on App start

    VishalJhaveri_0-1714632645006.png

    It is not working. @YogeshMurugn 

  • Yogesh Murugan Profile Picture
    443 Moderator on 02 May 2024 at 06:59:24
    Re: How to get PowerApps published version number on App start

    HI @VishalJhaveri 

    are you add this connector?

    YogeshMurugn_0-1714633144153.png

     

  • VishalJhaveri Profile Picture
    1,167 Moderator on 02 May 2024 at 07:02:23
    Re: How to get PowerApps published version number on App start

    I added this connector. Then also, I got an issue.

    VishalJhaveri_0-1714633327659.png

     

  • Yogesh Murugan Profile Picture
    443 Moderator on 02 May 2024 at 07:08:40
    Re: How to get PowerApps published version number on App start

    Hi @VishalJhaveri 

    when i remove this connector i got this same issue..

    can you remove and add this connector just one try

    YogeshMurugn_1-1714633550871.png

     

  • VishalJhaveri Profile Picture
    1,167 Moderator on 02 May 2024 at 07:13:27
    Re: How to get PowerApps published version number on App start

    Hello @YogeshMurugn 
    Tried removing and readding it several times. 

    Didn't work out for me.

  • Verified answer
    iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on 02 May 2024 at 10:14:14
    Re: How to get PowerApps published version number on App start

    Hi,

     

    It's not possible to get the version number in this way - the details provided via the PowerAppsForMakers and PowerAppsForAdmins does not provide the actual version number of the App, only the datetime and the authoring version (major.minor.build) and uri's, that sort of thing.

     

    I would suggest instead to create your own versioning system to ensure that users are within the most current version of your app - I have a blog here that covers how to set this up and provides all of the code needed 🙂

     

    Cheers,

    Sancho

  • OK29 Profile Picture
    388 on 02 May 2024 at 10:38:45
    Re: How to get PowerApps published version number on App start

    @iAm_ManCat  Thank you for letting me know.

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on 02 May 2024 at 10:46:07
    Re: How to get PowerApps published version number on App start

    No worries - I spent a long time looking for a way myself, that's why I ended up making this other way of doing it to enforce users on the correct version - hoping to save you some time too 🙂

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 629 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 232 Moderator

Last 30 days Overall leaderboard
Loading complete