Move folder not working

%3CLINGO-SUB%20id%3D%22lingo-sub-1163710%22%20slang%3D%22en-US%22%3EMove%20folder%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1163710%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESpoiler%3C%2FA%3E%3CNOSCRIPT%3E(Highlight%20to%20read)%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3E%3CP%3EHello%20Experts%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EI%20am%20having%20an%20issue%20in%20SharePoint.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWe%20have%20a%20task%20of%20moving%20folders%20from%20one%20library%20to%20another%20library.%20We%20can%E2%80%99t%20use%20the%20copy%20functionality%20since%20we%20also%20need%20to%20have%20the%20version%20history.%26nbsp%3B%20Hence%20our%20only%20option%20is%20to%20use%20action%20Move%20Folders.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ENow%20I%20am%20using%20Microsoft%20flow%20to%20achieve%20this%20task%20which%20is%20working%20almost%20fine.%20I%20almost%20meant%20that%20it%20doesn%E2%80%99t%20move%20only%20one%20particular%20file%20from%20each%20folder.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWe%20have%20a%20folder%20for%20every%20case%20created%20in%20dynamics%20CRM.%20At%20the%20end%20of%20the%20case%20closing%2C%20we%20have%20a%20workflow%20which%20generates%20a%20Word%20document%20using%20word%20template%20and%20stores%20that%20document%20in%20case%20folder%20in%20SharePoint.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EHence%2C%20each%20case%20folder%20is%20consist%20of%20many%20documents%2C%20most%20of%20them%20are%20uploaded%20by%20user%20but%20one%20is%20generated%20by%20System.%20The%20Flow%20that%20I%20have%20developed%20to%20migrate%20documents%20to%20new%20library%20is%20copying%20all%20other%20files%20but%20not%20the%20file%20generated%20by%20system.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIn%20addition%20to%20Flow%2C%20I%20have%20also%20tried%20MoveFolder%20(MoveCopyUtil)%20command%20from%20the%20%26nbsp%3BVisual%20Studio%20to%20check%20the%20issue%20and%20then%20I%20got%20the%20error%20of%20File%20not%20found.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ESo%20my%20conclusion%20is%2C%20Flow%20is%20not%20able%20to%20recognize%20the%20file%20created%20by%20the%20plugin%20may%20be%20due%20to%20some%20metadata%20missing%20in%20the%20file.%20So%20after%20debugging%20I%20found%20out%20that%20some%20metadata%20has%20to%20be%20set%20for%20the%20document(file)%20hence%20my%20question%20is%2C%20can%20you%20all%20please%20let%20me%20know%20which%20Metadata%20should%20document%20must%20have%20to%20work%20with%20Move%20folder%20action%20in%20SharePoint.%3C%2FP%3E%3CP%3EOr%20let%20me%20know%20if%20my%20conclusion%20is%20wrong%20and%20I%20should%20do%20something%20else.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAny%20help%20would%20be%20highly%20appreciated.%26nbsp%3B%3C%2FP%3E%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3EHello%20Experts%2CI%20am%20having%20an%20issue%20in%20SharePoint.We%20have%20a%20task%20of%20moving%20folders%20from%20one%20library%20to%20another%20library.%20We%20can%E2%80%99t%20use%20the%20copy%20functionality%20since%20we%20also%20need%20to%20have%20the%20version%20history.%26nbsp%3B%20Hence%20our%20only%20option%20is%20to%20use%20action%20Move%20Folders.Now%20I%20am%20using%20Microsoft%20flow%20to%20achieve%20this%20task%20which%20is%20working%20almost%20fine.%20I%20almost%20meant%20that%20it%20doesn%E2%80%99t%20move%20only%20one%20particular%20file%20from%20each%20folder.We%20have%20a%20folder%20for%20every%20case%20created%20in%20dynamics%20CRM.%20At%20the%20end%20of%20the%20case%20closing%2C%20we%20have%20a%20workflow%20which%20generates%20a%20Word%20document%20using%20word%20template%20and%20stores%20that%20document%20in%20case%20folder%20in%20SharePoint.Hence%2C%20each%20case%20folder%20is%20consist%20of%20many%20documents%2C%20most%20of%20them%20are%20uploaded%20by%20user%20but%20one%20is%20generated%20by%20System.%20The%20Flow%20that%20I%20have%20developed%20to%20migrate%20documents%20to%20new%20library%20is%20copying%20all%20other%20files%20but%20not%20the%20file%20generated%20by%20system.In%20addition%20to%20Flow%2C%20I%20have%20also%20tried%20MoveFolder%20(MoveCopyUtil)%20command%20from%20the%20%26nbsp%3BVisual%20Studio%20to%20check%20the%20issue%20and%20then%20I%20got%20the%20error%20of%20File%20not%20found.So%20my%20conclusion%20is%2C%20Flow%20is%20not%20able%20to%20recognize%20the%20file%20created%20by%20the%20plugin%20may%20be%20due%20to%20some%20metadata%20missing%20in%20the%20file.%20So%20after%20debugging%20I%20found%20out%20that%20some%20metadata%20has%20to%20be%20set%20for%20the%20document(file)%20hence%20my%20question%20is%2C%20can%20you%20all%20please%20let%20me%20know%20which%20Metadata%20should%20document%20must%20have%20to%20work%20with%20Move%20folder%20action%20in%20SharePoint.Or%20let%20me%20know%20if%20my%20conclusion%20is%20wrong%20and%20I%20should%20do%20something%20else.Any%20help%20would%20be%20highly%20appreciated.%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
Spoiler

Hello Experts,

I am having an issue in SharePoint.

We have a task of moving folders from one library to another library. We can’t use the copy functionality since we also need to have the version history.  Hence our only option is to use action Move Folders.


Now I am using Microsoft flow to achieve this task which is working almost fine. I almost meant that it doesn’t move only one particular file from each folder.


We have a folder for every case created in dynamics CRM. At the end of the case closing, we have a workflow which generates a Word document using word template and stores that document in case folder in SharePoint.


Hence, each case folder is consist of many documents, most of them are uploaded by user but one is generated by System. The Flow that I have developed to migrate documents to new library is copying all other files but not the file generated by system.


In addition to Flow, I have also tried MoveFolder (MoveCopyUtil) command from the  Visual Studio to check the issue and then I got the error of File not found.


So my conclusion is, Flow is not able to recognize the file created by the plugin may be due to some metadata missing in the file. So after debugging I found out that some metadata has to be set for the document(file) hence my question is, can you all please let me know which Metadata should document must have to work with Move folder action in SharePoint.

Or let me know if my conclusion is wrong and I should do something else.


Any help would be highly appreciated. 

0 Replies