SharePoint Online: Share Site to "Everyone Except External Users" using PowerShell (2024)

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions, including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles! Read More

SharePoint Online: Share Site to "Everyone Except External Users" using PowerShell (1)

3 thoughts on “SharePoint Online: Share Site to “Everyone Except External Users” using PowerShell

  • SharePoint Online: Share Site to "Everyone Except External Users" using PowerShell (2)

    Anonymous

    August 10, 2021 at 7:28 PM

    Permalink

    thank you so much for the script. your blog is first hit in most PS issues.

    Reply
  • SharePoint Online: Share Site to "Everyone Except External Users" using PowerShell (3)

    FortyTwoWest

    April 7, 2021 at 8:59 AM

    Permalink

    Good morning. Firstly, I want to thank you for this site – your scripts have helped me on quite a few occasions. I have two questions.

    Firstly, do you have an example script on how to *remove* the “Everyone” & “Everyone except external users” from all sites in a tenant? It seems my predecessor had added those groups to quite a few sites, and 2 years later it’s been found that people have been viewing information that they shouldn’t. We’ve decided to send out comms to let people know we’ll be removing those groups from all sites, and if they want them back to contact us. I just haven’t been able to figure out a script for doing it (and we have in the region of 15,000 sites in our tenant)

    My second question is do you have an example for how to delete a specifically named file recursively through the subsites of a site? One of our businesses in the Netherlands has an executive site, with subsites for each board member. The structure of all the subsites is identical. The PA copies files to a folder on the root site, and then there’s a flow and some azure app that then copies the file to the same location on each subsite (again, this was done by my predecessor, and there’s no source code or any form of documentation on how it was built). What they would like to do is, if they upload a file with an exclamation mark at the beginning (eg !Document1.docx), then a script will run and DELETE the file called Document1.docx from each of the subsites. The explanation is that Document1.docx was uploaded in error, and they need to delete it, but no-one has access to all 17 board members’ subsites.

    I would appreciate it if you could possibly point me in the right direction on these.

    Thank you, and have a good day.

    Reply

Leave a Reply

SharePoint Online: Share Site to "Everyone Except External Users" using PowerShell (2024)
Top Articles
Protecting your capital during a war
Validity of electronically signed documents: will they stay legal forever? – Everything about Dokobit and e-signing
Collision Masters Fairbanks
Big Spring Skip The Games
Teenbeautyfitness
Mustangps.instructure
30% OFF Jellycat Promo Code - September 2024 (*NEW*)
Xrarse
Heska Ulite
Joe Gorga Zodiac Sign
Richmond Va Craigslist Com
Winterset Rants And Raves
Busted Newspaper S Randolph County Dirt The Press As Pawns
Craigslist Motorcycles Orange County Ca
Char-Em Isd
Eva Mastromatteo Erie Pa
R Cwbt
Stardew Expanded Wiki
Att.com/Myatt.
Academy Sports Meridian Ms
Scripchat Gratis
Kabob-House-Spokane Photos
Is Holly Warlick Married To Susan Patton
Papa Johns Mear Me
Is Light Raid Hard
Yale College Confidential 2027
Cinema | Düsseldorfer Filmkunstkinos
Happy Shuttle Cancun Review
Elanco Rebates.com 2022
Trust/Family Bank Contingency Plan
DIY Building Plans for a Picnic Table
The Best Carry-On Suitcases 2024, Tested and Reviewed by Travel Editors | SmarterTravel
Bitchinbubba Face
Frcp 47
Cherry Spa Madison
Bella Thorne Bikini Uncensored
8 Ball Pool Unblocked Cool Math Games
Directions To Advance Auto
Pay Entergy Bill
Low Tide In Twilight Manga Chapter 53
Gravel Racing
Worcester County Circuit Court
Flappy Bird Cool Math Games
Argus Leader Obits Today
Shannon Sharpe Pointing Gif
Zits Comic Arcamax
Rétrospective 2023 : une année culturelle de renaissances et de mutations
Pilot Travel Center Portersville Photos
De Donde Es El Area +63
sin city jili
Marion City Wide Garage Sale 2023
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 6037

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.