Signature

global static List<String> createMicrosoftTeam(
  List<Types.CreateMicrosoftTeamInput> inputs,
  String runAs
)
Parameters
ParameterDescription
inputs requiredList of Types.CreateMicrosoftTeamInput — one entry per team to create.
runAs
String
requiredEmail Id of the user on whose behalf the function should run. To run the action as the automation user, supply integrationUser.

Return Type

List<String>

Example

List<cldfs.Types.CreateMicrosoftTeamInput> input = new List<cldfs.Types.CreateMicrosoftTeamInput>{
    new cldfs.Types.CreateMicrosoftTeamInput(
    'CloudFiles',
    'Team for managing all activities related to Account XYZ',
    null,
    null
)};
List<String> newMSTeamIds = cldfs.Client.createMicrosoftTeam(input, 'integrationUser');