How to bypass UWP App Certification in an Azure Devops build pipeline?

Viewed 600

When I create a UWP app package from Visual Studio, running the app certification is optional. However, when building the app in an Azure Devops pipeline, I don't know how to bypass the certification.

Here is the task:

task: VSBuild@1
displayName: Build solution **/MyApp_UWP.sln
inputs:
    solution: '**/MyApp_UWP.sln'
    vsVersion: 15.0
    msbuildArgs: '/p:AppxBundlePlatforms="$(BuildPlatform)" /p:AppxPackageDir="$(Build.ArtifactStagingDirectory)\AppxPackages\\" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
    platform: x86
    configuration: '$(BuildConfiguration)'
2 Answers

Just replace /p:UapAppxPackageBuildMode=StoreUpload with /p:UapAppxPackageBuildMode=Sideload.

You won't be able to upload the so created package to the Store but you still can Sideload it.

You can also add /p:AppxPackageSigningEnabled=false to msbuildArgs.

Related