cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GavinF69
Helper II
Helper II

HEEEEEELLLLLLP PLEASE - Opening created word file from SharePoint Online has invalid or missing required properties

Strange problem with many search engine hits around documents created via MS forms through Power Automate to SharePoint online but not finding one explaining what could cause this phenomenon...

 

The short story: have created a MS form that the user can select various options which would populate the "quick part" field in a MS word template stored in SharePoint and create a new document which the user can either download or edit directly from SharePoint using client Word app.

 

Document gets created in SharePoint, when I display the document details in SharePoint, I can see all the fields are populated, if I turn on the view in SharePoint to display the columns, I can see the data is also there. I then open the document in the client word app and all I see are the quick part field definitions.  If I navigate to the File>Info>Show Properties I see the metadata from SharePoint, If I open the SharePoint Properties panel View>SharePoint I also see the metadata....

 

However, the client application shows this error message:

GavinF69_0-1669626171091.png

 

The created document shows the quick parts fields but not the data

GavinF69_1-1669626365670.png

The SharePoint properties panel in client app shows the data is there

GavinF69_2-1669626535721.png

The document properties portion of the same panel (which I assume are the standard document library fields and not required for the document)

GavinF69_8-1669627427525.png

 

The client app Info properties panel also shows the metadata with only one field (a multiline plain text field) that has a red block around it, not quite sure why as the data is only 365 characters and there are other multline columns that have more data in them ...

GavinF69_4-1669626822960.pngGavinF69_5-1669626848359.png

The same column in SharePoint defined as:

GavinF69_6-1669627043580.png

and SharePoint Properties panel of the document also shows the relevant data...

GavinF69_7-1669627229540.png

None of the columns / fields are defined as "required" all are defined as "optional", so why would the data not populate the document? Any pointers as to what causes this would be great! 

 

PS: I already checked that there are no policies on being applied to SharePoint, the "DIP" settings are checked for the document library

GavinF69_9-1669628329939.png

Any ideas or pointers as to how to fix this?

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

So it seems that despite the "quick parts" fields appearing in the template as being present, if a change was made to any of the SharePoint Columns or if the template was already present in the library that contained the SharePoint columns prior to opening the template document in Word app and inserting the "quick parts" fields then it breaks the linkage with SharePoint.  Also important to note that despite being able to use a .docx document as a template in power automate flow, it is better to use the .dotx template format and then create your new document as a .docx extension.

View solution in original post

3 REPLIES 3
fchopo
Super User
Super User

Hi @GavinF69 

Does this problem occur with every single user in your organization, or only with an specific one? By your screen captures, it seems that the user needs to write his/her credentials again.

Hope that helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Hi @fchopo

Thanks for replying, I am doing the setup and all the testing before handing over to everything is connected via my account. All connections are showing connected in Power Automate... 

GavinF69_0-1669640124263.png

 

 

So it seems that despite the "quick parts" fields appearing in the template as being present, if a change was made to any of the SharePoint Columns or if the template was already present in the library that contained the SharePoint columns prior to opening the template document in Word app and inserting the "quick parts" fields then it breaks the linkage with SharePoint.  Also important to note that despite being able to use a .docx document as a template in power automate flow, it is better to use the .dotx template format and then create your new document as a .docx extension.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,378)