Azure AD B2B SPO and OD integration + Whitelisting in AAD

%3CLINGO-SUB%20id%3D%22lingo-sub-2787766%22%20slang%3D%22en-US%22%3EAzure%20AD%20B2B%20SPO%20and%20OD%20integration%20%2B%20Whitelisting%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2787766%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20got%20some%20scenarios%20I'd%20love%20your%20input%20on%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EConfiguration%201%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E-%20Whitelisting%2Fallow%20list%20used%20in%20Azure%20AD%3C%2FP%3E%3CP%3E-%20SPO%20and%20OD%20Azure%20AD%20B2B%20integration%20activated%20(and%20OTP)%3C%2FP%3E%3CP%3E-%20SharePoint%2FOneDrive%20external%20sharing%20settings%20set%20to%20New%20and%20Existing%20guests%3C%2FP%3E%3CP%3E%3CSTRONG%3EQuestion%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E-%20This%20setup%20will%20block%20sharing%20from%20SPO%20and%20OD%20with%20any%20external%20not%20included%20in%20the%20whitelist%2C%20as%20the%20integration%20will%20try%20to%20add%20the%20recipient%20to%20AAD%20as%20a%20guest%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EConfiguration%202%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E-%20Whitelisting%2Fallow%20list%20used%20in%20Azure%20AD%3C%2FP%3E%3CP%3E-%20SPO%20and%20OD%20Azure%20AD%20B2B%20integration%20and%20OTP%26nbsp%3B%3CU%3Edisabled%3C%2FU%3E%3C%2FP%3E%3CP%3E-%20SharePoint%2FOneDrive%20external%20sharing%20settings%20set%20to%20New%20and%20Existing%20guests%3C%2FP%3E%3CP%3E%3CSTRONG%3EQuestions%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E-%20The%20whitelist%20will%20not%20prevent%20sharing%20with%20any%20externals%2C%20as%20SPO%20and%20OD%20will%20still%20be%20using%20the%20old%20ad-hoc%20external%20sharing%20solution%3F%3C%2FP%3E%3CP%3E-%20Is%20this%20the%20only%20possible%20setup%20if%20you%20want%20whitelisting%20on%20guest%20access%20but%20don't%20want%20to%20limit%20external%20sharing%20from%20OD%20and%20SPO%20using%20the%20%22Specific%20people%22%20option%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2787766%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EB2B%20collaboration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eexternal%20sharing%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGuest%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewhitelisting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2788083%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20B2B%20SPO%20and%20OD%20integration%20%2B%20Whitelisting%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2788083%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1132178%22%20target%3D%22_blank%22%3E%40Ellefs1%3C%2FA%3E%26nbsp%3BHello%2C%20I%20hate%20and%20love%20these%20questions%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENot%20doing%20any%20testing%20so%20just%20replying%20how%20I%20%3CEM%3Ethink%3C%2FEM%3E%20it%20will%20work.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EConfig%201%3A%20I%20believe%20you're%20right.%20When%20opting%20in%20for%20AAD%20B2B%20SPO%2FOD%20integration%20you'll%20leave%20ad-hoc%20external%20SharePoint%20sharing%20so%20all%20external%20users%20will%20be%20added%20as%20guest%20users%20during%20the%20sharing%20process.%20So%20for%20ex.%20when%20I%20start%20to%20enter%20the%20verification%20code%20with%20a%20new%20user%2C%20in%20the%20next%20prompt%20I%20have%20to%20agree%20to%20join%20the%20resource%20org.%20and%20have%20my%20guest%20account%20created.%20That%20should%20be%20a%20no-go%20if%20not%20being%20allowed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EConfig%202%3A%20You%20can%20control%20the%20%22sharing%20prompt%22%20as%20I%20understand%20you%20already%20do%20for%20the%20Anyone-links.%20The%20%22specific%20people%22%20will%20create%20a%20secure%20direct%20sharing%20link%20that%20will%20bypass%20the%20whitelist%20in%20AAD%20and%20the%20SharePoint%20external%20sharing%20settings%20will%20apply.%20Ad-hoc%20external%20sharing%20doesn't%20get%20verified%20by%20AAD%20CA%20access%20policies.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20must%20recommend%20using%20sensitivity%20labels%20instead%20of%20trying%20to%20adjust%20permissions%20by%20using%20legacy%20sharing%20permissions%20or%20AAD%20B2B%20integration.%20So%20opt-in%20to%20the%20latter%20as%20that's%20the%20way%20going%20forward%20and%20then%20set%20up%20guest%20access%20to%20'containers'%20(groups%2C%20sites%2C%20teams)%20using%20sensitivity%20labels.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fsensitivity-labels-teams-groups-sites%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EUse%20sensitivity%20labels%20with%20Microsoft%20Teams%2C%20Microsoft%20365%20groups%2C%20and%20SharePoint%20sites%20-%20Microsoft%20365%20Compliance%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20the%20left%20you%20have%20more%20info%20about%20them%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2789602%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20B2B%20SPO%20and%20OD%20integration%20%2B%20Whitelisting%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2789602%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F588790%22%20target%3D%22_blank%22%3E%40ChristianJBergstrom%3C%2FA%3E.%26nbsp%3BHaha%2C%20I%20can%20understand%20the%20love%2Fhate%20feelings%20towards%20these%20types%20of%20questions.%20Appreciate%20you%20taking%20the%20time%20to%20provide%20your%20thoughts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20aware%20of%20how%20we%20can%20use%20sensitivity%20labels%20on%20containers%20to%20control%20guest%20access%20(among%20other%20things).%20But%20one%20thing%20is%20controlling%20which%20teams%2Fsites%20that%20will%20allow%20guests%2C%20another%20thing%20is%20controlling%20who%20can%20be%20invited%20in%20the%20first%20place.%20If%20an%20organization%20can%20control%20which%20domains%20they%20allow%20their%20employees%20to%20invite%20external%20users%20from%20by%20using%20whitelisting%2C%20along%20with%20the%20rest%20of%20%22Configuration%202%22.%20Would%20you%20say%20that%20is%20a%20troublesome%20setup%3F%20I%20understand%20the%20limitations%20of%20the%20SP%20ad-hoc%20external%20recipient%20solution%20(no%20CA%20etc.)%20and%20of%20course%20the%20possibility%20of%20end%20users%20being%20blocked%20from%20adding%20certain%20users.%20What%20would%20be%20the%20other%20downsides%2C%20if%20any%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2789686%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20B2B%20SPO%20and%20OD%20integration%20%2B%20Whitelisting%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2789686%22%20slang%3D%22en-US%22%3EHello%20again%2C%20I%20thought%20you'd%20settle%20for%20the%20previous%20one!%20Just%20kidding.%20I%20kind%20of%20understood%20you%20are%20aware%20of%20the%20options%20as%20how%20the%20initial%20question%20was%20asked%2C%20but%20had%20to%20put%20it%20out%20there.%20Hmm%20what%20first%20comes%20to%20mind%20if%20using%20%22config%202%22%20then%20you'd%20need%20to%20set%20up%20domain%20restrictions%20in%20SharePoint%2C%20because%20when%20opting%20into%20AADB2B%20integration%20that%20process%20takes%20precedence%20over%20any%20SharePoint%20domain%20restrictions%20(easier%20to%20manage).%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20other%20words.%20The%20AAD%20list%20works%20independently%20from%20OneDrive%20for%20Business%20and%20SharePoint%20Online%20allow%2Fblock%20lists%20when%20not%20using%20AADB2B%20integration%2C%20so%20if%20you%20want%20to%20restrict%20individual%20file%20sharing%20in%20SharePoint%20Online%2C%20you%20need%20to%20set%20up%20an%20allow%20or%20deny%20list%20for%20OneDrive%20for%20Business%20and%20SharePoint%20Online.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20perhaps%20you've%20got%20that%20covered%20too!%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi!

 

I got some scenarios I'd love your input on:

 

Configuration 1:

- Whitelisting/allow list used in Azure AD

- SPO and OD Azure AD B2B integration activated (and OTP)

- SharePoint/OneDrive external sharing settings set to New and Existing guests

Question:

- This setup will block sharing from SPO and OD with any external not included in the whitelist, as the integration will try to add the recipient to AAD as a guest?

 

Configuration 2:

- Whitelisting/allow list used in Azure AD

- SPO and OD Azure AD B2B integration and OTP disabled

- SharePoint/OneDrive external sharing settings set to New and Existing guests

Questions:

- The whitelist will not prevent sharing with any externals, as SPO and OD will still be using the old ad-hoc external sharing solution?

- Is this the only possible setup if you want whitelisting on guest access but don't want to limit external sharing from OD and SPO using the "Specific people" option?

6 Replies

@Ellefs1 Hello, I hate and love these questions :)

 

Not doing any testing so just replying how I think it will work.

 

Config 1: I believe you're right. When opting in for AAD B2B SPO/OD integration you'll leave ad-hoc external SharePoint sharing so all external users will be added as guest users during the sharing process. So for ex. when I start to enter the verification code with a new user, in the next prompt I have to agree to join the resource org. and have my guest account created. That should be a no-go if not being allowed.

 

Config 2: You can control the "sharing prompt" as I understand you already do for the Anyone-links. The "specific people" will create a secure direct sharing link that will bypass the whitelist in AAD and the SharePoint external sharing settings will apply. Ad-hoc external sharing doesn't get verified by AAD CA access policies.

 

I must recommend using sensitivity labels instead of trying to adjust permissions by using legacy sharing permissions or AAD B2B integration. So opt-in to the latter as that's the way going forward and then set up guest access to 'containers' (groups, sites, teams) using sensitivity labels.

 

Use sensitivity labels with Microsoft Teams, Microsoft 365 groups, and SharePoint sites - Microsoft ...

 

To the left you have more info about them as well.

 

Btw, if using MCAS you can be very granular combining filters etc.

Hi @ChristianJBergstrom. Haha, I can understand the love/hate feelings towards these types of questions. Appreciate you taking the time to provide your thoughts.

 

I'm aware of how we can use sensitivity labels on containers to control guest access (among other things). But one thing is controlling which teams/sites that will allow guests, another thing is controlling who can be invited in the first place. If an organization can control which domains they allow their employees to invite external users from by using whitelisting, along with the rest of "Configuration 2". Would you say that is a troublesome setup? I understand the limitations of the SP ad-hoc external recipient solution (no CA etc.) and of course the possibility of end users being blocked from adding certain users. What would be the other downsides, if any?

Hello again, I thought you'd settle for the previous one! Just kidding. I kind of understood you are aware of the options as how the initial question was asked, but had to put it out there.

 

@Ellefs1 Doing a edit here because when opting in using AADB2B integration it doesn't take precedence (as previously said) but rather invitations in SharePoint are also subject to any domain restrictions configured in Azure AD. In other words, when not using AADB2B the AAD list works independently from OneDrive for Business and SharePoint Online allow/block list.

 

So, now it feels better :)

Right, I believe we got that covered. As you can understand we're still at the drawing board here.

The following is written on the "Allow list" documentation: "If you want to use an allow list, make sure that you spend time to fully evaluate what your business needs are."

So here I am, spending time evaluating this! :)

Takk for hjelpen! :)
Haha :) Inga problem!

@ChristianJBergstrom 

"Doing a edit here because when opting in using AADB2B integration it doesn't take precedence (as previously said) but rather invitations in SharePoint are also subject to any domain restrictions configured in Azure AD. In other words, when not using AADB2B the AAD list works independently from OneDrive for Business and SharePoint Online allow/block list."

 

Yes, this is aligned with my testes as well (I think). To be sure, this is how I experienced it without AADB2B integration:

- Guest Access to Teams and SharePoint will be controlled by the whitelist in AAD

- External Sharing will not be. So with SharePoint/OneDrive External sharing set to "New and existing guests" you can share any file/folder with any external using the "Specific people" option

 

This is at least what I experienced within my sandbox.