Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Data Source Environment Variables - Connect to SharePoint Document Library for use in Power Automate Word Online Connectors



I have successfully created a data source environment variable which connects to a SharePoint list from a SharePoint connection within Power Automate.


However I would now like to do the same for the Word Online Convert Word Document to PDF action and connect to a SharePoint document library using a data source environment variable. I get an error which includes "the provided drive id appears to be malformed". It appears the document library id (drive) in the raw inputs is a different value to the document library id.


Has anyone successfully achieved this scenario using the Word Online connector in Power Automate?





Super User
Super User

Hi @sips1 ,

What are you sending as the parameter from Power Apps? You should be able to send the Library Name and folder path the same as it would appear in the "target" dialogue in the Flow Word merge.


Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hi, thanks for your response.


No parameters are being sent from Power Apps the values are environment variables in a solution.


Library Name and folder path do not work in this scenario.





Hi @sips1 ,

Sorry I do not use that process so I will leave it to other who may.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,188)