Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have worked on an interesting dataflow API issue recently. Customer was automating the dataflows movement from one workspace to another using Dataflows Import API.
You must be thinking, with all the necessary information what can go wrong here. In this case, JSON files were imported to the destination workspace successfully as expected. However, some of the dataflow refreshes started failing.
After checking the dataflow in edit mode, the user identified that, post import, if the column name has "€" (euro character) in the column name, it gets converted to “?”. Ex: Column Name – “Sales €” becomes “Sales ?”
The exported model.json file also contained ? instead of € as well.
After analyzing the Invoke method, we identified the append for content-type.
One with the issue: Invoke-RestMethod -Uri $url -ContentType 'multipart/form-data' -Method POST -Headers $headers -Body $body;
We made the below change:
Invoke-RestMethod -Uri $url -ContentType 'multipart/form-data;charset=utf-8' -Method POST -Headers $headers -Body $body;
After making this change, we observed that the dataflows were imported as expected and the refreshes were successful.
Please remember to add this part if you are dealing with special characters within dataflows.
Author: Sheetal Shetty
Reviewer: Mounika Narayana Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.