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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / DevOps Build Tools - m...
Power Apps
Unanswered

DevOps Build Tools - multi-select optionset values ignored when using Import Data task or Package Deployer

(1) ShareShare
ReportReport
Posted on by 2

When trying to import data into a dataverse environment using the Import Data-task (task: PowerPlatformImportData@2) of the Power Platform Build Tools (https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tool-tasks#yaml-snippet-importdata-env), the values of a Multi-Optionset attribute are ignored. 

 

Below is a part of the data file that is generated with the Configuration Migration Tool, it includes the multi-select optionset values on the "mph_mos_portalfeature"-attribute.

 

<entity name="mph_serviceplanfeature" displayname="Service Plan Feature">
 <records>

  <record id="c3d0eac9-7be2-ed11-a7c7-0022487fe4a5">
   <field name="mph_name" value="Report" />
   <field name="mph_mos_portalfeature" value="[-1,19000,19001,-1]" />
   <field name="mph_serviceplanfeatureid" value="c3d0eac9-7be2-ed11-a7c7-0022487fe4a5" />
  </record>

   ...

 

If I import this data using the Configuration Migration Tool v4.0.0.110 (on my local machine), it does a good job and imports the Multi-select optionset values, but if I try to import it with DevOps Build Tool Import Data Task, the Multi-select optionset values are ignored (all other fields are imported successfully though).

 

The same issue happens if you try to import data with the Deploy Package task (task: PowerPlatformDeployPackage@2) -(https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tool-tasks#yaml-snippet-deploy)

 

  • CoreySutton Profile Picture
    18 on at

    I'm having the same issue when trying to use the Power Apps CLI (1.22.4):

     

    pac data import

     

    Importing with the configuration migration tool (9.1.0.110) works.
    Funnily enough using the Power Apps CLI to export the data works with multi-select option sets:

     

    pac data export 

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard