Forum Discussion

Toby McDaid's avatar
Toby McDaid
Iron Contributor
Aug 02, 2019

"Sharing failed: value cannot be null" when trying to share a site with an external user?

We're attempting to share one of our SharePoint sites with an external user and I'm currently just doing some testing with my own personal email address.

 

Everything has been configured correctly in the Admin Center for external sharing, you can see the invite box is also confirming that the email address is outside our organisation.

 

However, whenever I hit the 'share' button I receive the following error. It seems to happen in all browsers too. Does anyone know what this means? As far as I can tell, the email I have entered is not a null value.

 

9 Replies

  • Berta K's avatar
    Berta K
    Brass Contributor

    Toby McDaid have you checked to made sure that the site collection is set to external sharing? You can have external turned on and still set a specific site to not share externally. 

    • Toby McDaid's avatar
      Toby McDaid
      Iron Contributor

      Berta K The site collections are definitely set up to allow sharing, they're on the 'new and existing' option.

    • You could check that, but usually it wouldn't allow you to even put it in there and wouldn't check names properly. Have you tried another address? Maybe something specific to your account there and it being in the tenant or something already causing issue. Try sending to another address you may have that you haven't used before.
      • Toby McDaid's avatar
        Toby McDaid
        Iron Contributor
        Hi Chris,

        I've done a number of tests now, trying it on two different site collections and using three different external email addresses. I even created a new email address with a random name, just in case the permissions were conflicting in some way to my Office 365 admin account which uses the same name.