Forum Discussion

Edvard wikström's avatar
Edvard wikström
Copper Contributor
Sep 18, 2017

Disable external sharing on all O365 Groups, with one single exception?

I have a customer that is using Office365 groups to collaborate, mostly for file sharing. 

 

Overall they don't want to allow any external sharing via their O365 groups, except for one specific group which is going to be used to share certain files with external partners.

 

Can i disable external users/guests on all existing and future O365 groups, but leave one group where it is still enabled?

  • You can block adding guests to all existing groups by assigning AllowToAddGuests=false (see here) to all groups but the one you want to keep enabled. However this will not affect newly created groups.

     

     

      • Ladislau Conceicao's avatar
        Ladislau Conceicao
        Icon for Microsoft rankMicrosoft

        Can you provide more details on why the scripts do not work for you? Or can you reach Microsoft customer support?

         

        Presently there is no configuration that disables adding guests to all groups but enable only a few. If you disable guests at organization level, all groups are blocked to add guests. The only supported way is enable guests at organization level and then set all groups to disable guests, except the 2 you want to enable. However, I am forwarding this feedback to the Azure AD team for their consideration.

  • Short answer: No. Microsoft does not provided a granular setting for guest access to Groups....you can enable / disable it globally, but no per group basics...what you can do is just take advantage to the external access to the SPO Groups sites

Resources