Skip to content

Microsoft Cloud Infrastructure Technical Journal

Dependable Solutions from a Seasoned Engineer

  • About Manoj
  • Disclaimer Notice
  • Events & Sessions
  • Objective
  • Publications
  • Solutions

Tag: SharePoint Online; OneDrive; SharePoint External Sharing

SharePoint online external content sharing–Anonymous option grayed out

On July 1, 2018July 13, 2018 By Manoj V KarunarathneIn OneDrive, SharePoint, SharePoint Online, SharePoint Shell5 Comments

If you are staring at the screen what would have gone wrong with anonymous external sharing option which stays grayed out even after enabling the functionality from the Admin center, you are not alone as it seems to be a well-known issue. You can keep trying the Admin portal interface but this post is for those who didn’t got it sorted.

image

The usual place to look at when you need to enable this option in  SharePoint online is the Admin Centers —> SharePoint —> Sharing —> Sharing outside your organization

image

If the following options are enabled, you should be able to see the Anonymous option in the sharing prompt.

Anonymous sharing

If you still do not see the option, you can go ahead and try this PowerShell code to enable this manually. This will immediately enable the functionality in your tenant.

  1. Firstly, download and install SharePoint online management shell from here
  2. Then find it from the start menu and run it with elevated permissions (Run as Administrator)

SharePointShell

Run the following lines one by one (Customize the advised values to match your organization and URLs)

$adminUPN=”Admin Email address” (user the admin account you use to login to your office 365 Admin portal)

image$orgName=”YourOrgname” (use initial domain, initialdomain.onmicrosoft.com)

image

$userCredential = Get-Credential -UserName $adminUPN -Message “Type the password.” (Don’t change anything here, the “type the password” is for the prompt textbox only)

PS1

You will be prompted for credentials verification. Provide the username/password and hit ok.

credentails

Connect-SPOService -Url https://$orgname-admin.company.com -Credential $userCredential (no change here either)

Ps3

And here’s the final step. Do not run this for all site collections. Find out which are the ones requires external sharing and run it for those sites only.

Set-SPOSite -Identity https://myorg.sharepoint.com/sites/ExternalSiteName -SharingCapability ExternalUserAndGuestSharing

Change the link above with the site you want to enable the external sharing with.

Ps2

Once PowerShell command returns the success, refresh the browser and you will see the feature enabled.

image

Advertisement

Search My Blog

Connect With Me

  • LinkedIn

Speaking Events

11681250673429A9D.png
Brunei Cloud User Group OCT 2015
Brunei Cloud User Group OCT 2015
SharePoint User Group April 2014
SharePoint User Group April 2014
19114028_1557135827632054_7160603791715655726_n
18700389_10211078849741832_2149099643025742252_o
SPB-DEC-2014-Meetup.jpg
36722110119A3D2D6.png
BCUG MAY 2016
Speaking at SharePoint Brunei User Group August 2014 Meetup
Speaking at SharePoint Brunei User Group August 2014 Meetup
gabc
14947583_10154648308297716_7502409921710413794_n
388559826579E0EA7.png
36677999_10156401469367482_5456513769247080448_n
C_HRzvZUAAEejdK
30652917_989793357862807_4167533606282985472_n
Speaking at SharePoint Brunei User Group August 2014 Meetup
Speaking at SharePoint Brunei User Group August 2014 Meetup
19264423_1481877668525451_4069886240406991239_o
18699849_915887171886999_240895621270743256_n
12205508466FA59747.png
Brunei Cloud User Group OCT 2015
Brunei Cloud User Group OCT 2015
32875621_1902386076440359_6269582362921664512_n
20006861263378B418.png
10003979_768611483148858_4217975744668740502_n
SharePoint User Group April 2014
SharePoint User Group April 2014
Brunei Cloud User Group OCT 2015
Brunei Cloud User Group OCT 2015
31103517_1873918015953832_5819258662593495040_n
31100339_1873918125953821_2169033156781408256_n
184619453424F71BE6.png
73911812620C3BA61.png
535514_549367468408900_326123879_n
Volunteer Delivery of SharePoint Deployment and Configuration for JKH
Volunteer Delivery of SharePoint Deployment and Configuration for JKH
Speaking at SharePoint User Group SriLanka in September 2013
Speaking at SharePoint User Group SriLanka in September 2013
Speaking at SharePoint User Group SriLanka in September 2013
Speaking at SharePoint User Group SriLanka in September 2013
18700756_10154347753551441_2938713150241754054_o
33057431_1902386093107024_8547056447425347584_n
32891525_1902386133107020_3692795885915209728_n
18319310_10154524160162876_932644372454419176_o
31120818_1873918375953796_9175727878740901888_n
Speaking at SharePoint Brunei User Group August 2014 Meetup
Speaking at SharePoint Brunei User Group August 2014 Meetup
7801002850D32A472.png
Speaking at SharePoint User Group SriLanka in September 2013
Speaking at SharePoint User Group SriLanka in September 2013
18278275_10155382750293631_3138026578098580617_o
17991295_10155179127612716_3210709917839368135_o
Volunteer Delivery of SharePoint Deployment and Configuration for JKH
Volunteer Delivery of SharePoint Deployment and Configuration for JKH
14909408823EA23E62.png
31124437_1873917995953834_2307776139633885184_n

Contact Me

manojviduranga@hotmail.com
manojviduranga(skype)

Enter your email address to follow this blog and receive notifications of new posts by email.

Tweets

  • RT @merill: Did you know that we publish customizable email templates, posters to help you roll out Azure AD features like self-service pas… 3 months ago
  • RT @cricketcomau: "We're generally the enemy" 😅 The scenes in Colombo after the fifth ODI were unreal and left Glenn Maxwell and the Aussi… 7 months ago
  • RT @ICC: The sea of blue has turned yellow 💛 A lovely gesture from the Sri Lanka fans for Australia 🤩 #SLvAUS https://t.co/zfip5VV7Zf 7 months ago
  • RT @elonmusk: Civilization sterilized 7 months ago
  • RT @WindowsLatest: What's new and improved in Windows 11 Build 22616 windowslatest.com/2022/05/06/win… #Windows11 https://t.co/EncPqtiIFn 9 months ago

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Blogroll

  • Discuss
  • Get Inspired
  • Get Polling
  • Get Support
  • Learn WordPress.com
  • Sean Mcdonough's SP Blog
  • SharePoint Joel's Blog
  • Todd Klindt's SharePoint Admin Blog
  • WordPress Planet
  • WordPress.com News

Popular SP Blogs

  • Absolute SharePoint Blog
  • Bill Baer's Blog
  • Ian's SPSDemo Blog
  • Joel Oleson's Blog
  • Laura Roger's Blog
  • Sean McDonough's SharePoint Blog
  • SharePoint Brew on MSDN
  • SharePoint Events Around the World
  • SharePoint Guys's Blog from MCS UK
  • SharePoint Product Updates
  • Spencer Harbar's Blog
  • Todd Klindt's SP Admin Blog

Search My Blog

Contact Me

manojviduranga@hotmail.com
manojviduranga(skype)

Enter your email address to follow this blog and receive notifications of new posts by email.

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Blog Stats

  • 387,102 hits

Tweets

  • RT @merill: Did you know that we publish customizable email templates, posters to help you roll out Azure AD features like self-service pas… 3 months ago
  • RT @cricketcomau: "We're generally the enemy" 😅 The scenes in Colombo after the fifth ODI were unreal and left Glenn Maxwell and the Aussi… 7 months ago
  • RT @ICC: The sea of blue has turned yellow 💛 A lovely gesture from the Sri Lanka fans for Australia 🤩 #SLvAUS https://t.co/zfip5VV7Zf 7 months ago
  • RT @elonmusk: Civilization sterilized 7 months ago
  • RT @WindowsLatest: What's new and improved in Windows 11 Build 22616 windowslatest.com/2022/05/06/win… #Windows11 https://t.co/EncPqtiIFn 9 months ago

Top Posts & Pages

  • Step by Step: fetching Microsoft Teams conversation history (chat history)
    Step by Step: fetching Microsoft Teams conversation history (chat history)
  • Error when accessing Exchange Online classic Admin Center (EAC): 403 Access denied :(
    Error when accessing Exchange Online classic Admin Center (EAC): 403 Access denied :(
  • Permanently deleting an Office 365 Group object in retention enabled environment
    Permanently deleting an Office 365 Group object in retention enabled environment
  • SharePoint 2010 Compatibility with Windows Server 2012
    SharePoint 2010 Compatibility with Windows Server 2012
  • Identifying the creator of an Microsoft Team (Who created this Team)
    Identifying the creator of an Microsoft Team (Who created this Team)
  • Configure ADFS to work externally without having a WAP Server (configure Azure app proxy to publish ADFS externally)
    Configure ADFS to work externally without having a WAP Server (configure Azure app proxy to publish ADFS externally)
  • Add a button in to a SharePoint List/Library to trigger a Flow (part 01)
    Add a button in to a SharePoint List/Library to trigger a Flow (part 01)
  • Azure AD Error: AADSTS700016 Application with identifier was not found in the directory
    Azure AD Error: AADSTS700016 Application with identifier was not found in the directory
  • Change default File Open Behavior of SharePoint Online
    Change default File Open Behavior of SharePoint Online
  • Embedding an Excel Spreadsheet in to a Modern SharePoint Page
    Embedding an Excel Spreadsheet in to a Modern SharePoint Page

Counting Down Events

SharePoint Srilanka User Group MeetupDecember 9, 2015
Microsoft Auditorium, 11th Floor, DHPL Bulding, Nawam Mawatha, Colombo, Srilanka
Brunei Cloud User GroupDecember 19, 2015
Brunei Cloud User Group Monthly Gathering - November 2015 Go to - http://sharepointbrunei.net for more info

Catagories

Follow me on SlideShare

http://www.slideshare.net/manojviduranga

Popular SP Blogs

  • Absolute SharePoint Blog
  • Bill Baer's Blog
  • Ian's SPSDemo Blog
  • Joel Oleson's Blog
  • Laura Roger's Blog
  • Sean McDonough's SharePoint Blog
  • SharePoint Brew on MSDN
  • SharePoint Events Around the World
  • SharePoint Guys's Blog from MCS UK
  • SharePoint Product Updates

Followers

Past Events

This slideshow requires JavaScript.

Recent Posts

  • Veritas Enterprise Vault-Export All Archives Information to a CSV file using PowerShell August 7, 2022
  • Configure ADFS to work externally without having a WAP Server (configure Azure app proxy to publish ADFS externally) May 8, 2022
  • Azure AD Error: AADSTS700016 Application with identifier was not found in the directory May 3, 2022
  • Windows unquoted service path enumeration vulnerability-Is this still a concern? April 25, 2022
  • Restore and recover Microsoft Form December 26, 2021
  • Monitoring SharePoint Online Storage Pool Using a PowerAutomate Flow December 26, 2021
  • Azure AD Connect – Migrate to a new server December 11, 2021
  • Azure AD Connect – Migrate to a new server Part 1 November 19, 2021
  • Enabling Teams Meeting report download capability May 25, 2021
  • Provisioning bulk distribution lists April 23, 2021

Schedules

February 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  
« Aug    
Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Microsoft Cloud Infrastructure Technical Journal
    • Join 58 other followers
    • Already have a WordPress.com account? Log in now.
    • Microsoft Cloud Infrastructure Technical Journal
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...