Disallow uploading of custom apps on a team using graph api

%3CLINGO-SUB%20id%3D%22lingo-sub-1806003%22%20slang%3D%22en-US%22%3EDisallow%20uploading%20of%20custom%20apps%20on%20a%20team%20using%20graph%20api%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1806003%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHopefully%20this%20is%20the%20correct%20space%20for%20this%20discussion.%3CBR%20%2F%3EWe%20have%20created%20a%20power%20automate%20that%20creates%20a%20team%20using%20the%20new%20connectors.%20Once%20the%20team%20is%20created%20a%20logic%20app%20fires%20off%20that%20will%20be%20used%20to%20set%20all%20the%20members%20permissions%20to%20false%20and%20set%20the%20team%20picture%20for%20the%20new%20team.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20managed%20to%20set%20most%20of%20the%20members%20using%20an%20http%20action%2C%20the%20graph%20api%20and%20the%20following%20JSON.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%7B%0A%20%20%20%22memberSettings%22%3A%7B%0A%20%20%20%20%20%20%22allowAddRemoveApps%22%3Afalse%2C%0A%20%20%20%20%20%20%22allowCreateUpdateChannels%22%3Afalse%2C%0A%20%20%20%20%20%20%22allowCreateUpdateRemoveConnectors%22%3Afalse%2C%0A%20%20%20%20%20%20%22allowCreateUpdateRemoveTabs%22%3Afalse%2C%0A%20%20%20%20%20%20%22allowDeleteChannels%22%3Afalse%0A%20%20%20%7D%2C%0A%20%20%20%22messagingSettings%22%3A%7B%0A%20%20%20%20%20%20%22allowUserEditMessages%22%3Afalse%2C%0A%20%20%20%20%20%20%22allowUserDeleteMessages%22%3Afalse%0A%20%20%20%7D%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EHowever%20the%20one%20permission%20I%20can't%20find%20the%20name%20for%20is%20%22Allow%20members%20to%20upload%20custom%20apps%22.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20anyone%20can%20point%20me%20in%20the%20right%20direction%20it%20would%20be%20much%20appreciated.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1806003%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

Hi all,

 

Hopefully this is the correct space for this discussion.
We have created a power automate that creates a team using the new connectors. Once the team is created a logic app fires off that will be used to set all the members permissions to false and set the team picture for the new team.

I have managed to set most of the members using an http action, the graph api and the following JSON.

 

 

 

 

{
   "memberSettings":{
      "allowAddRemoveApps":false,
      "allowCreateUpdateChannels":false,
      "allowCreateUpdateRemoveConnectors":false,
      "allowCreateUpdateRemoveTabs":false,
      "allowDeleteChannels":false
   },
   "messagingSettings":{
      "allowUserEditMessages":false,
      "allowUserDeleteMessages":false
   }
}

 

 

 

 
However the one permission I can't find the name for is "Allow members to upload custom apps".

If anyone can point me in the right direction it would be much appreciated.
0 Replies