Skip to content

Do you see a possibility to use the Migrator within Azure Devops Pipelines? #49

Answered by Zerg00s
Mindia620 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Mindia620 ,

Yes, it is possible to make this migrator work in Azure DevOps pipeline. But that might take several hours of debugging. I would first make sure it works on your local computer, to save time. And then, move it to the pipeline. Overall, the the migrator is just 3 scripts combined together:

  • GenerateInitialMapping.ps1
  • CompleteResourceMapping.ps1
  • ConvertPackage.ps1

The RunAllScripts.ps1 file combines these files and adds some fluff for user-friendly executions.

Although I haven't tried it myself, there are a few things you can do:

Use Windows Server VM for the pipeline. Not the Linux one.

Install and import the PnP.PowerShell.Online module via the pipeline

You can add a step…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mindia620
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants