Generate anonymous files links for a whole sharepoint site documents (kind of anonymous FTP server)

%3CLINGO-SUB%20id%3D%22lingo-sub-776123%22%20slang%3D%22en-US%22%3EGenerate%20anonymous%20files%20links%20for%20a%20whole%20sharepoint%20site%20documents%20(kind%20of%20anonymous%20FTP%20server)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776123%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHello%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EActually%2C%20we%20have%20an%20FTP%20server%20allowing%20to%20download%20%22ADOPTED%22%20documents%20anonymously%2C%20and%20the%20web%20site%20of%20our%20customer%20delivers%2C%20to%20any%20surfer%2C%20links%20to%20the%20FTP%20%22ADOPTED%22%20documents.%20It%20works%20perfectly.%20%22ADOPTED%22%20documents%20means%20that%20the%20documents%20are%20%22public%22%20and%20anyone%20can%20access%20them.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EOur%20office%20is%20now%20moving%20to%20Office%20365.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWe%20uploaded%20all%20%22ADOPTED%22%20documents%20to%20a%20sharepoint%20site%20called%20%22ADOPTED%22.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWe%20setup%20the%20%22ADOPTED%22%20sharepoint%20site%20for%20anonymous%20access%20and%20it%20works%20perfectly%20-%20this%20is%20a%20document%20sample%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcpmebxl.sharepoint.com%2F%3Ab%3A%2Fs%2FADOPTED%2FEWo56K-MlCVMqypl13dFDM8B7PXQFmJ7lJ7rNDUYAsddQA%3Fe%3D8Qtqe5%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3Ehttps%3A%2F%2Fcpmebxl.sharepoint.com%2F%3Ab%3A%2Fs%2FADOPTED%2FEWo56K-MlCVMqypl13dFDM8B7PXQFmJ7lJ7rNDUYAsddQA%3Fe%3D8Qtqe5%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWe%20then%20exported%20to%20excel%20(sharepoint%20integrated%20feature)%20the%20files%20list%20and%20we%20received%20a%20list%20of%20links%20to%20access%20the%20documents.%20Great.%20But%20the%20links%20defined%20in%20the%20excel%20file%20require%20in%20any%20case%20the%20user%20to%20be%20identified%20by%20Microsoft%20even%20if%20anonymous%20access%20is%20given%20to%20the%20whole%20site.%20We%20were%20expecting%20the%20links%20in%20the%20excel%20file%20to%20be%20anonymously%20accessible%20without%20identification.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAfter%20many%20tests%2C%20and%20search%2C%20it%20seems%20that%20the%20only%20way%20to%20be%20able%20to%20directly%20access%20the%20documents%20without%20identification%20is%20to%20create%20manually%20an%20anonymous%20link%20for%20each%20file%2C%20file%20by%20file%20%E2%80%A6%20quite%20a%20big%20stupid%20job.%20So%20we%20search%20and%20found%20information%20about%20how%20to%20create%20programmatically%20files%20anonymous%20links%20(but%20we%20did%20not%20tested%20it%20yet)%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Freshmeeauckloo.wordpress.com%2Ftag%2Fcreateanonymouslink%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3Ehttps%3A%2F%2Freshmeeauckloo.wordpress.com%2Ftag%2Fcreateanonymouslink%2F%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESo%20we%20are%20now%20looking%20for%20a%20tool%20or%20a%20powershell%20script%2C%20allowing%20the%20anonymous%20file%20link%20creation%20recursively%20through%20the%20whole%20sharepoint%20%E2%80%9CADOPTED%E2%80%9D%20site.%20The%20tool%20should%20as%20well%20list%20in%20a%20TXT%20file%2C%20or%20CSV%20file%2C%20the%20shared%20file%20path%2C%20the%20file%20name%20and%20the%20anonymous%20link.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20idea%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20for%20any%20answer%20that%20could%20help%20us.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-776123%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776330%22%20slang%3D%22en-US%22%3ERe%3A%20Generate%20anonymous%20files%20links%20for%20a%20whole%20sharepoint%20site%20documents%20(kind%20of%20anonymous%20FTP%20serv%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776330%22%20slang%3D%22en-US%22%3EYes%20any%20link%20needs%20an%20anonymous%20link%20assigned%20to%20it%20to%20let%20s%20anon%20user%20in.%20There%20is%20no%20such%20thing%20as%20a%20blanket%20anonymous%20access.%20%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20need%20to%20have%20each%20link%20have%20a%20direct%20link%20instead%20of%20just%20having%20people%20first%20go%20to%20the%20anonymous%20link%20and%20navigate%20then%20you%20can%20look%20into%20flow.%20%3CBR%20%2F%3E%3CBR%20%2F%3EFlow%20has%20actions%20to%20create%20sharing%20links%20when%20files%20are%20created%20in%20a%20document%20library.%20Then%20you%20could%20also%20add%20actions%20to%20have%20those%20links%20paste%20or%20appears%20a%20text%20file%20or%20whatever%20else%20you%20want.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hello,

 

Actually, we have an FTP server allowing to download "ADOPTED" documents anonymously, and the web site of our customer delivers, to any surfer, links to the FTP "ADOPTED" documents. It works perfectly. "ADOPTED" documents means that the documents are "public" and anyone can access them.

 

Our office is now moving to Office 365.

We uploaded all "ADOPTED" documents to a sharepoint site called "ADOPTED". 

We setup the "ADOPTED" sharepoint site for anonymous access and it works perfectly - this is a document sample:

https://cpmebxl.sharepoint.com/:b:/s/ADOPTED/EWo56K-MlCVMqypl13dFDM8B7PXQFmJ7lJ7rNDUYAsddQA?e=8Qtqe5

 

We then exported to excel (sharepoint integrated feature) the files list and we received a list of links to access the documents. Great. But the links defined in the excel file require in any case the user to be identified by Microsoft even if anonymous access is given to the whole site. We were expecting the links in the excel file to be anonymously accessible without identification.

 

After many tests, and search, it seems that the only way to be able to directly access the documents without identification is to create manually an anonymous link for each file, file by file … quite a big stupid job. So we search and found information about how to create programmatically files anonymous links (but we did not tested it yet) https://reshmeeauckloo.wordpress.com/tag/createanonymouslink/

 

So we are now looking for a tool or a powershell script, allowing the anonymous file link creation recursively through the whole sharepoint “ADOPTED” site. The tool should as well list in a TXT file, or CSV file, the shared file path, the file name and the anonymous link.

 

Any idea?

 

Thanks for any answer that could help us.

 

Regards,

 

1 Reply
Highlighted
Yes any link needs an anonymous link assigned to it to let s anon user in. There is no such thing as a blanket anonymous access.

If you need to have each link have a direct link instead of just having people first go to the anonymous link and navigate then you can look into flow.

Flow has actions to create sharing links when files are created in a document library. Then you could also add actions to have those links paste or appears a text file or whatever else you want.