Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
GenaSea
Regular Visitor

Converting multiple docx to pdf in Fabric Notebook | Installing pdf-engine

I'm using a fabric notebook with pyspark and I need to convert multiple docx files that are saved in a Fabric Lakehouse file folder to pdf and save them in a new folder.

 

I've tried:

msgraph with a sharepoint connection.  It worked until one day it didn't.  

docx2pdf doesn't work in a fabric notebook.  

 

I'm currently attempting pypandoc but I need to get a pdf-engine installed "in the cloud environment" (according to copilot).  How do I go about installing the pdf-engine installed?  Copilot suggests using !sudo command, but I don't have that type of access.

 

Thanks for any assistance.

5 REPLIES 5
v-mdharahman
Community Support
Community Support

Hi @GenaSea,

Thanks for reaching out to the Microsoft fabric community forum.

It looks like you want to convert multiple docx file into pdf file which is stored in Fabric Lakehouse and tried to use !sudo command to solve your issue but was unable to because of access issue. As @nilendraFabric has already responded to your query, kindly go through his response and check if the issue can be resolved.

 

I would also take a moment to thank @nilendraFabric, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

Hi @GenaSea,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If so, it would be really helpful for the community if you could mark the answer that helped you the most. If you're still looking for guidance, feel free to give us an update, we’re here for you.

 

Best Regards,

Hammad.

Hi @GenaSea,
I just wanted to follow up on your thread. If the issue is resolved, it would be great if you could mark the helpful reply as solution so other community members facing similar issues can benefit too.
If not, don’t hesitate to reach out, we’re happy to keep working with you on this. 

 

Best Regards,

Hammad.

Hi @GenaSea,
We noticed there hasn’t been any recent activity on this thread. If your issue is resolved, marking the correct reply as a solution would be a big help to other community members. If you still need support, just reply here and we’ll pick it up from where we left off.

 

Best Regards,

Hammad.

nilendraFabric
Super User
Super User

Hi @GenaSea 

 

Try LibreOffice in headless mode. This approach works in cloud environments and preserves formatting without requiring Microsoft Office.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors