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 / Incrementing Power App...
Power Apps
Unanswered

Incrementing Power App Solution version number in Azure DevOps

(0) ShareShare
ReportReport
Posted on by 80

I need to increment the version number of a Power App solution in a (Classic) DevOps Pipeline, i.e. just increment the revision number.

 

In Pipeline Options i set the Build Number Format to: $(version.MajorMinor).$(version.Patch).$(Rev:r)

 

In the "Power Platform Set Solution Version" task i set the Solution Version Number to $Build.BuildNumber)

 

I get this error: ##[error]Invalid number of components in version. Version: $(version.MajorMinor).$(version.Patch).$(Rev:r). this should translate to: 1.0.0.2

There should be 4 components (right?) and it seems to me that i am defining 4 

what am i doing wrong?

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    I would guess that it has to do with your concatenation of MajorMinor, but I really have no idea.

     

    I would suggest you just print out the version number before you set it, then read the console output.

  • moshe raab Profile Picture
    80 on at

     that would require an extra manual step which would defeat the purpose of automated pipelines

  • cchannon Profile Picture
    4,702 Moderator on at

    ... as a debugging step.

  • CU20011649-0 Profile Picture
    31 on at
    did you figure this out using classic pipeline?

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard