Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
While attempting to register a custom workload using the Microsoft Fabric Workload Development Kit, DevGateway consistently fails with the following error: "Cannot deserialize XML: There is an error in XML document (2, 2)", targeting WorkloadDefinition. The error appears during the registration step after authentication succeeds, and the DevGateway logs indicate a BadRequest response with InvalidParameter. Despite verifying that the WorkloadManifest.xml file is present in the packaged .nupkg file and correctly formatted as UTF-8 without BOM, the issue persists. The environment uses the default sample boilerplate setup with only minor modifications for workload name and structure. This appears to be a blocking issue during the DevGateway registration process.
Hi @rajan98,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @rajan98,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @rajan98 - happy to see you are taking the WDK for a spin 🙂
Your message suggests that you only made minor modification and haven't yet registered an Entra app and some additional must-do updates to the sample manifest package: Quick start - Run a sample workload - Microsoft Fabric | Microsoft Learn
After making the changes don't forget to run the DevGateway with reference to the re-packaged (step 11) manifest package (.nupkg): https://learn.microsoft.com/en-us/fabric/workload-development-kit/quickstart-sample#step-12-run-the-....
Please update us if this helped or any additional errors you encountered.
Hello @rajan98,
Thank you for reaching out to the Microsoft fabric community forum. The error that your see it might be cause of XML Structure or Namespace Issue, Configuration Mismatch or Unescaped Characters.
Please consider the below troubleshooting Steps:
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
User | Count |
---|---|
75 | |
45 | |
15 | |
11 | |
7 |
User | Count |
---|---|
88 | |
88 | |
28 | |
8 | |
7 |