Join by Code - programmatically get status or disable

%3CLINGO-SUB%20id%3D%22lingo-sub-2234726%22%20slang%3D%22en-US%22%3EJoin%20by%20Code%20-%20programmatically%20get%20status%20or%20disable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2234726%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20can%20anyone%20help%20please.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20for%20any%20option%20how%20to%3A%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20detect%20programmatically%20the%20feature%20%22Join%20by%20code%22%20is%20enabled%3C%2FP%3E%3CP%3E2.%20disable%20this%20setting%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20looking%20to%20GraphAPI%20reference%20and%20did%20not%20find%20anything.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20consider%20this%20as%20a%20huge%20security%20gap%2C%20since%20you%20have%20no%20control%20who%20can%20access%20the%20Team.%20I%20know%20the%20code%20cannot%20be%20used%20for%20guests%2C%20but%20it%20still%20make%20sense%20to%20manage%20it%20even%20for%20internal%20users.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%20Jakub%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2234726%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Senior Member

Hello, can anyone help please. 

 

I'm looking for any option how to: 

1. detect programmatically the feature "Join by code" is enabled

2. disable this setting

 

I was looking to GraphAPI reference and did not find anything. 

 

I consider this as a huge security gap, since you have no control who can access the Team. I know the code cannot be used for guests, but it still make sense to manage it even for internal users. 

 

Thank you, Jakub

0 Replies