Home

Enable Guest access to only few teams in MS teams using powershell

%3CLINGO-SUB%20id%3D%22lingo-sub-622802%22%20slang%3D%22en-US%22%3EEnable%20Guest%20access%20to%20only%20few%20teams%20in%20MS%20teams%20using%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-622802%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20My%20tenant%20I%20have%20disable%20Guest%20access%20for%20MS%20Teams%20from%20MS%20Teams%20admin%20centre.%20However%20I%20need%20to%20assign%20guest%20access%20only%20to%20few%20teams%20and%20not%20all%20teams.%20Also%20make%20sure%20that%20only%20few%20domains%20are%20assigned%20to%20that%20Team%3C%2FP%3E%3CP%3EIs%20this%20possible%20by%20powershell.%20Pleas%20share%20some%20of%20the%20code%20snap%20or%20commands%20to%20do%20this.%20Need%20a%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3Eaditya%20patil%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-622802%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGuest%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-623293%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Guest%20access%20to%20only%20few%20teams%20in%20MS%20teams%20using%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-623293%22%20slang%3D%22en-US%22%3ECheck%20available%20documentation%20on%20this%20topic%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fguest-access-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fguest-access-powershell%3C%2FA%3E%20basically%20you%20can%20control%20at%20the%20Team%20level%20Guest%20access%20and%20also%20what%20domains%20are%20allowed%20or%20not.%20Bear%20also%20in%20mind%20you%20will%20need%20to%20enable%20Guest%20Access%20for%20Teams%20enabled%20and%20the%20make%20that%20granular%20configuration%20per%20team%20basis%3C%2FLINGO-BODY%3E
aditya_patil-1989
New Contributor

Hi All,

 

In My tenant I have disable Guest access for MS Teams from MS Teams admin centre. However I need to assign guest access only to few teams and not all teams. Also make sure that only few domains are assigned to that Team

Is this possible by powershell. Pleas share some of the code snap or commands to do this. Need a help.

 

Thanks,

aditya patil

1 Reply
Check available documentation on this topic: https://docs.microsoft.com/en-us/microsoftteams/guest-access-powershell basically you can control at the Team level Guest access and also what domains are allowed or not. Bear also in mind you will need to enable Guest Access for Teams enabled and the make that granular configuration per team basis
Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies