Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a folder containing files of multiple formats. I used Get Metadata activity and it has run successfully bringing files of all different formats as output. My questions is, 1. why does the activtiy mandates the File Format field and 2. Even after I left the File Format to the default binary value, files of all format have been brought in, how?
Solved! Go to Solution.
Hi @VaishnaviMu, when you select a specific file format in the Get Metadata activity, the activity doesn’t just filter those file types, it also understands how to interpret the data inside those files. For example, if you choose JSON as the file format, the activity expects files to contain JSON syntax and processes them accordingly. Try selecting XML for a folder in your example: when you click the Preview button, you’ll see an error if the files don’t contain valid XML, because the activity was expecting XML structure.
On the other hand, when you select Binary as the file format, all files are shown because binary is a generic format. In this case, the activity treats the files as raw, unstructured data without attempting to parse their contents.
Hope this helps. If so, please give a Kudos 👍 or mark as Accepted Solution ✔️.
The File format field is required because Fabric Pipelines follow the same connector contract as Dataflow Gen2. The connector expects a format to be declared, even if the activity itself (Get Metadata) does not actually read or parse the file. It is a schema requirement, not a functional one.
Get Metadata does not inspect file content. It only enumerates the file system and returns names, sizes, timestamps, etc. Because it does not read the file, the declared format is ignored at runtime. Binary works as a generic placeholder, so all files are listed regardless of their true type.
HTH!
Hi @VaishnaviMu,
We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support
Hi @VaishnaviMu,
We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
@Vinodh247 & @nielsvdc, Thanks for your prompt response
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support
The File format field is required because Fabric Pipelines follow the same connector contract as Dataflow Gen2. The connector expects a format to be declared, even if the activity itself (Get Metadata) does not actually read or parse the file. It is a schema requirement, not a functional one.
Get Metadata does not inspect file content. It only enumerates the file system and returns names, sizes, timestamps, etc. Because it does not read the file, the declared format is ignored at runtime. Binary works as a generic placeholder, so all files are listed regardless of their true type.
HTH!
Hi @VaishnaviMu, when you select a specific file format in the Get Metadata activity, the activity doesn’t just filter those file types, it also understands how to interpret the data inside those files. For example, if you choose JSON as the file format, the activity expects files to contain JSON syntax and processes them accordingly. Try selecting XML for a folder in your example: when you click the Preview button, you’ll see an error if the files don’t contain valid XML, because the activity was expecting XML structure.
On the other hand, when you select Binary as the file format, all files are shown because binary is a generic format. In this case, the activity treats the files as raw, unstructured data without attempting to parse their contents.
Hope this helps. If so, please give a Kudos 👍 or mark as Accepted Solution ✔️.