Home

Enable Guest access to some Teams using powershell

%3CLINGO-SUB%20id%3D%22lingo-sub-622831%22%20slang%3D%22en-US%22%3EEnable%20Guest%20access%20to%20some%20Teams%20using%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-622831%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-622831%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-622953%22%20slang%3D%22en-US%22%3ERe%3A%20Enable%20Guest%20access%20to%20some%20Teams%20using%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-622953%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F345606%22%20target%3D%22_blank%22%3E%40aditya_patil-1989%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Aditya%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheck%20this%20out.%20Hope%20this%20answer%20your%20query%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fguest-access-powershell%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EGuest%20Access%20PowerShell%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-au%2Fexchange%2Frecipients-in-exchange-online%2Fmanage-group-access-to-office-365-groups%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAllow%20or%20Block%20Guest%20Access%20to%20Office%20365%20Groups%3C%2FA%3E%3C%2FP%3E%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
Related Conversations