Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to export/import dynamics CRM solution using PowerShell in Azure DevOps pipeline

Posted on by 27
Hello
I need to write PowerShell script for AzureDevOps pipeline which will export solution from Dynamics organization (online version). Also it's important to use 'Service Principal/client secret (supports MFA)' auth type.

I have found some examples, https://d365dotblog.com/2020/05/04/powershell-scripts-to-export-and-import-the-dynamics-365-ce-solution/ - it is one of them, but it doesnt work inside pipeline and has another type of auth.

I am newbie in PowerShell and dont know how to write script by myself. Also I haven't found info about my question in the internet. Can you give me an example please?

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to export/import dynamics CRM solution using PowerShell in Azure DevOps pipeline

    Hi,

    Do you really need to use power shell script ?

    You can use Power apps build tools which supports service principal/client secret for authentication

    docs.microsoft.com/.../devops-build-tools

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans