Forum Discussion
Nov 29, 2017
CopyTo failing between Office 365 groups
I was building a demo to show a client how the CopyTo functionality would work between site collections to prove that basic metadata such as Modified Date etc is maintained when I hit a bug.
Us...
Nov 29, 2017
Failing for Team Sites created from the Teams interface too.
- Nov 29, 2017
Checking the fiddler requests, I can't see any difference between a working and a failing request other than the endpoint is a different site collection (And the working site collection was created previous to this testing.)
Failing
POST https://xxxxxxxxxxxxx.sharepoint.com/sites/SourceSite/_api/SP.List.GetListDataAsStream?listFullUrl='https%3A%2F%2Fxxxxxxxxxxxxx%2Esharepoint%2Ecom%2Fsites%2FNewTeam4Copy%2FShared%20Documents'&View=&RootFolder=%2Fsites%2FNewTeam4Copy%2FShared%20Documents%2FGeneral&SortField=LinkFilename&SortDir=Asc&FilterField1=FSObjType&FilterValue1=1 HTTP/1.1Origin: https://xxxxxxxxxxxxx.sharepoint.comReferer: https://xxxxxxxxxxxxx.sharepoint.com/sites/SourceSite/Shared%20Documents/Forms/AllItems.aspx
WorkingPOST https://xxxxxxxxxxxxx.sharepoint.com/sites/SourceSite/_api/SP.List.GetListDataAsStream?listFullUrl='https%3A%2F%2Fxxxxxxxxxxxxx%2Esharepoint%2Ecom%2Fsites%2FPublicGroupForTeams%2FShared%20Documents'&View=&RootFolder=%2Fsites%2FPublicGroupForTeams%2FShared%20Documents&SortField=LinkFilename&SortDir=Asc&FilterField1=FSObjType&FilterValue1=1 HTTP/1.1Origin: https://xxxxxxxxxxxxx.sharepoint.comReferer: https://xxxxxxxxxxxxx.sharepoint.com/sites/SourceSite/Shared%20Documents/Forms/AllItems.aspx
- Nov 29, 2017I have just tested it with a Group site copying a file to a Teams site and it worked as expected
- Nov 29, 2017
Pre-existing groups or newly created ones? My pre-existing groups are fine.