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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard