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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Power Platform Build Tools : Set Solution Version

(0) ShareShare
ReportReport
Posted on by 903

Hello guys,

I'm just learning Power Platform deployment using DevOps, a question, when using Power Platform Build Tools, in one of its action which Power Platform Set Solution Version, I'm hitting error.

The error is ""##[errorThe version is in an invalid format. Version: 1.1.$(Version.Revision)"

What more important for me also is actually I want to understand the connections between Azure pipelines using YAML and using Classic visual.

While I have this kind of YAML script : 

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
variables:
  Version.MajorMinor: 1.0
  Version.Revision: $[counter(variables['Version.MajorMinor'], 0)]
  VersionNumber: $(Version.MajorMinor).$(Version.Revision)
  SolutionName: 'MySolutionName'
  PowerAppsSPN: 'MySPN

name: $(Version.MajorMinor).$(Version.Revision)
stages:
- stage: Build
  jobs:

    - task: PowerPlatformSetSolutionVersion@0
      displayName: 'Set solution version'
      inputs:
        authenticationType: 'PowerPlatformSPN'
        PowerPlatformSPN: '$(PowerAppsSPN)'
        SolutionName: '$(SolutionName)'
        SolutionVersionNumber: '$(VersionNumber)'

And then I redo it in my pipeline but using Classic visual, so here is what I did as I tried to make it the same as what it is says in YAML : 

1. Create some variables for the version number (highlighted)->

pastedimage1647276349317v1.png

2. Add task Power Platform Set Solution Version and put some parameters setting ->

pastedimage1647276464745v2.png

Now I'm wondering whether I can do that way ? and is there any missed ? since like mentioned, it hit error at this step while run the pipeline.

Hope someone here can help, cause I tried to google, looking at various YouTube, see Microsoft documentation, it makes me confuse more.

Thanks in advance.

I have the same question (0)

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 193 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 128

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans