Skip to content
Connector

Microsoft Teams v2

Post, manage and approve in Microsoft Teams through Graph

Posts and replies in chats and channels, manages teams, channels, members and meetings, and calls any Graph path through Microsoft Teams.

@ftnt-dspilleMaintainer v4.0.4 Published Nov 28, 2026
Download .tgz · 60 KB

microsoft-teams-v2_4.0.4.tgz

sha256:881e1651c0b218ffe7c1b8723068cc8f54f1704feefdce958a75d19ae042e226

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

Microsoft Teams v2 connects FortiSOAR to a Microsoft 365 tenant through Microsoft Graph. It posts messages, replies and mentions to channels and chats, creates and manages teams, channels and members, and creates, updates and deletes meetings. Team, channel and user fields are dropdowns fed from the tenant. Execute API Request calls any Graph path with the connector's own credentials.

Operations take input that is checked before any request is sent. Errors from Microsoft Graph (401, 403, 404, 429) raise a clear error. A 429 is retried with the Retry-After wait.

The Teams bot (the listener that posts adaptive-card approvals and relays answers) is not in this package. It needs a compiled module that soarshelf does not ship. The connector loads and every operation other than the bot relay runs without it. The bot relay operation returns a clear error when the listener is not installed.

Live-tested

On FortiSOAR 8.0.1 against a Microsoft 365 test tenant, 30 of 41 operations returned a live success on version 4.0.2. Version 4.0.4, the version in this package, passed the live operation suite (26 operations ok, 13 expected refusals) and all seven SOC and NOC playbook branches on FortiSOAR 8.0.1.

4.0.4 fixes bot and listener defects found by new offline tests: bot playbook parameters now receive their values (not their key names), the listener no longer blocks its event loop or loops forever on a 502, listener endpoints return 4xx for bad requests and an error for failed card delivery, and Adaptive Cards keep URL, dropdown and checkbox defaults. The bot-command and card-default fixes are covered offline; they were not exercised through a live Teams bot.

Not live-tested

The tenant refused these operations, and the refusal is the recorded result. Each one is listed with the reason:

  • Send Message, Reply to Message, Mention in Message and Send Chat: the tenant allows application-only message posting for import purposes only (401).
  • Create Meeting, Get Meeting, Update Meeting and Delete Meeting: the app has no application access policy for the user (403). Get, update and delete were not reached, so the not-found path is covered offline only.
  • Get Replies to Channel Message: the live call returned a bad request for an unknown message ID (400), so a real reply list was not returned.
  • Get Chat Messages: no chat was created, because sending a chat was refused.
  • Send Message or Approval Form to Bot: the bot listener is not part of this package, so the relay was not reached.

Error classes, for every operation unless noted: 401, 403, 404 and 429 are replayed offline from the Graph error shape.

Playbooks: the Forms playbooks (SOC escalation, NOC change and outage, and the reusable question child) ran their branches on 4.0.2. The NOC impact branch was re-run on 4.0.3. Branches that need the bot are not covered.

Configuration · 3 fields

  • Get Access Token auth_type select required

    Select the method used to get authentication tokens for accessing the security graph APIs. You can choose from the following options: Without a User – Application Permission The 'Without a User - Application Permission' flow refers to a process in which there is no user sign-in; instead, the administrator provides consent on behalf of all user's inboxes in a given tenant. Azure applications require 'full_app' permissions for granting your admin's consent. On behalf of User – Delegate Permission The 'On behalf of User - Delegated Permission' flow refers to a process in which users access the…

    Options On behalf of User - Delegate PermissionWithout a User - Application Permission

    When Get Access Token is Without a User - Application Permission

    • Server URL resource text required

      Specify the service-based URI to which you will connect and perform the automated operations.

      Default https://graph.microsoft.com

    • Tenant ID tenant_id text required

      Specify the ID of the tenant that is assigned to you by the Azure application registration portal.

    • Client ID client_id text required

      Specify the unique ID of the Azure application that is used to create an authentication token required to access the API. The client ID comes from registering the application with the Microsoft Azure portal. It is in the UUID format.

    • Client Secret client_secret password required

      Specify the unique Client Secret of the Azure application that is used to create an authentication token required to access the API. Sometimes called an application password, the client secret is set from the 'Certificates & Secrets' section of the Microsoft Azure portal. For information on how to get the secret key, see the 'Create an app to access Microsoft Defender for Endpoint without a user' article.

    When Get Access Token is On behalf of User - Delegate Permission

    • Server URL resource text required

      Specify the service-based URI to which you will connect and perform the automated operations.

      Default https://graph.microsoft.com

    • Tenant ID tenant_id text required

      Specify the ID of the tenant that is assigned to you by the Azure application registration portal.

    • Client ID client_id text required

      Specify the unique ID of the Azure application that is used to create an authentication token required to access the API. The client ID comes from registering the application with the Microsoft Azure portal. It is in the UUID format.

    • Client Secret client_secret password required

      Specify the unique Client Secret of the Azure application that is used to create an authentication token required to access the API. Sometimes called an application password, the client secret is set from the 'Certificates & Secrets' section of the Microsoft Azure portal. For information on how to get the secret key, see the 'Create an app to access Microsoft Defender for Endpoint without a user' article.

    • Authorization Code code password required

      (Only Applicable to On behalf of User – Delegate Permission) The authorization code that you acquired during the authorization step. For more information, see the Getting Access Tokens using the Delegate Permissions method topic.

    • Redirect URL redirect_url text

      (Only Applicable to On behalf of User – Delegate Permission) The redirect_uri of your app, where authentication responses can be sent and received by your app. It must exactly match one of the redirect_uri's you registered in the app registration portal.

  • Enable Bot Communication enable_teams_bot checkbox

    Select this option if you want to enable bi-directional communication between MS Teams and FortiSOAR. If you select this option, then specify the following parameters based on your configured FortiSOAR for Microsoft Teams Application. Please refer the 'Prerequisites to configuring the connector section' for more details.

    When Enable Bot Communication is true

    • App Service URL app_service_url text required

      Specify the service URL of the FortiSOAR for Microsoft Teams Application.

      Default https://smba.trafficmanager.net/amer/

    • App ID app_id text required

      Specify the Application ID of your configured FortiSOAR for Microsoft Teams Application.

    • App Password app_pass password required

      Specify the Application Secret of your FortiSOAR for Microsoft Teams Application.

  • Verify SSL verify_ssl checkbox

    Specifies whether the SSL certificate for the server is to be verified or not. By default, this option is set to True.

    Default true

Operations · 41

  • Create User 7 params
    create_user

    Creates a new user in Microsoft Teams based on the display name, mail nickname, password, and other input parameters you have specified.

    • Display Name displayName text required

      Specify the name to display in the address book for the user that you want to create in Microsoft Teams. NOTE: Maximum length for the user's display name is 256 characters.

    • Account Enabled accountEnabled checkbox required

      Select this checkbox, i.e., set it to "true", to enable the newly created account in Microsoft Teams. By default, this is set as "false".

      Default true

    • Mail Nick Name mailNickname text required

      Specify the mail alias for the user that you want to create in Microsoft Teams.

    • User Principal Name userPrincipalName text required

      Specify the principal name of the user, for example, someuser@example.com, that you want to create in Microsoft Teams.

    • Password password password required

      Specify the password to be set for the user that you want to create in Microsoft Teams. You must set this password when you are creating a user in Microsoft Teams. Passwords can be updated. However, the user will be required to change the password on their next login. The password must satisfy minimum requirements as specified by the "passwordPolicies" parameters of the user. By default, a strong password is required.

    • Force Change Password Next SignIn forceChangePasswordNextSignIn checkbox

      Select this checkbox, i.e., set it to "true", to force users to change their password when they sign in to Microsoft Teams the next time. Once the user has changed their password, this parameter automatically resets to false. By default, this is set as "false".

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the user you want to create in Microsoft Team. The additional properties signify additional fields associated with the user.

    Returns idmailsurnamejobTitlegivenNamedisplayNamemobilePhone@odata.contextbusinessPhonesofficeLocationpreferredLanguageuserPrincipalName
  • Get All Users 6 params
    list_users

    Retrieves a list of users from Microsoft Teams based on the query for filtering users that you have specified.

    • Filter Query $filter text

      Specify the filter query based on which you want to retrieve groups. Refer to Azure Filter Query Parameters for information on the filter query syntax.

    • Select Query $select text

      Specify the $select query to retrieve groups from Microsoft Teams. The OData's Select query is supported on fields such as id, userPrincipalName, displayName, etc. Refer to OData system query options for more information.

    • Search Query $search text

      Specify the search query to retrieve user details from Azure Active Directory. The OData's Search query is supported on fields such as id, userPrincipalName, displayName, etc. Refer to OData system query options for more information.

    • Order By $orderBy text

      (Optional) Specify the order in which you want to sort the results retrieved from Microsoft Teams. You can specify asc or desc. By default, this is set to asc.

    • Number of Users to Fetch $top integer

      (Optional) Specify the maximum number of users that this operation should return from Microsoft Teams.

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the user you want to create in Microsoft Team. The additional properties signify additional fields associated with the user.

    Returns data
  • Get User Details 1 param
    get_users

    Retrieves details for users from Microsoft Teams based on the user ID or the user principal name you have specified

    • Based On based_on select required

      Select the parameter using which you want to retrieve details for a user from Microsoft Teams. You can choose from the following options: User ID or User Principal Name.

      Default User Principal Name

      Options User IDUser Principal Name

      When Based On is User ID

      • User ID id text required

        Specify the ID of the user whose details you want to retrieve from Microsoft Teams, in the User ID field.

      When Based On is User Principal Name

      • User Principal Name id text required

        Specify the User Principal Name of the user whose details you want to retrieve from Microsoft Teams, in the User Principal Name field. If this parameter is not specified then it returns all user details.

    Returns idmailsurnamejobTitlegivenNamedisplayNamemobilePhone@odata.contextbusinessPhonesofficeLocationpreferredLanguageuserPrincipalName
  • Update User Details 7 params
    update_user

    Updates the details of an existing Microsoft Teams user based on the user ID or the user principal name, display name, and other input parameters you have specified

    • Based On based_on select required

      Select the parameter using which you want to update details of a user in Microsoft Teams. You can choose from the following options: User ID or User Principal Name.

      Default User ID

      Options User IDUser Principal Name

      When Based On is User ID

      • User ID id text required

        Specify the ID of the user whose details you want to update in the User ID field.

      When Based On is User Principal Name

      • User Principal Name id text required

        Specify the User Principal Name of the user whose details you want to update in the User Principal Name field.

    • Display Name displayName text

      Specify the display name that you want to update in the address book for the Microsoft Teams user.

    • Given Name givenName text

      Specify the given name (first name) that you want to update for the Microsoft Teams user.

    • Surname surname text

      Specify the surname that you want to update for the Microsoft Teams user.

    • Job Title jobTitle text

      Specify the job title that you want to update for the Microsoft Teams user.

    • Office Location officeLocation text

      Specify the office location, i.e., the user's place of business that you want to update for the Microsoft Teams user.

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to update for the Microsoft Teams user. The additional properties signify additional fields associated with the user.

    Returns message
  • Delete User 1 param
    delete_user

    Deletes an existing Microsoft Teams user based on the user ID or the user principal name you have specified. IMPORTANT: Once a user is deleted, the resources of the user are moved to a temporary container from which they can be restored within 30 days after which, they are permanently deleted

    • Based On based_on select required

      Select the parameter using which you want to delete the user in Microsoft Teams. You can choose from the following options: User ID or User Principal Name.

      Default User ID

      Options User IDUser Principal Name

      When Based On is User ID

      • User ID id text required

        Specify the ID of the user to delete in the User ID field.

      When Based On is User Principal Name

      • User Principal Name id text required

        Specify the User Principal Name of the user whose details you want to delete in the User Principal Name field.

    Returns message
  • Create Group 8 params
    create_group

    Creates a new group in Microsoft Teams based on the display name, mail nickname, and other input parameters you have specified. NOTE: You can create an Office 365 Group (Unified Group) or a Security Group

    • Display Name displayName text required

      Specify the name to display in the address book for the group that you want to create in Microsoft Teams. NOTE: Maximum length for the group's display name is 256 characters.

    • Mail Nickname mailNickname text required

      Specify the mail alias for the group that you want to create in Microsoft Teams. NOTE: Spaces are not allowed in the mail alias for the group.

    • Email Enabled mailEnabled checkbox

      Select this checkbox for mail-enabled groups.

      Default true

    • Security Enabled securityEnabled checkbox

      Select this checkbox only for security-enabled groups, including Office 365 groups.

      Default true

    • Group Type groupTypes text

      Specify the group type. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see: https://learn.microsoft.com/en- us/graph/api/resources/groups-overview?view=graph-rest-1.0#group-types-in- azure-ad-and-microsoft-graph

      Default Unified

    • Description description text

      Specify a Description of the group that you want to create in Microsoft Teams.

    • Visibility visibility select

      Specify the visibility to be set for the Office 365 group that you want to create in Microsoft Teams. You can choose from the following options: Private, Public, HiddenMembership, or "empty" (which is interpreted as Public).

      Options PrivatePublicHiddenMembership
    • Custom Properties custom_attributes json

      Specify the additional properties, in JSON format, that you want to specify for the group you want to create in Microsoft Team. The additional properties signify additional fields associated with the group.

    Returns idmailthemegroupTypesvisibilitydescriptiondisplayNamemailEnabledmailNickname@odata.contextclassificationmembershipRuleproxyAddressescreatedDateTimecreationOptionsdeletedDateTimerenewedDateTimesecurityEnabledpreferredLanguageexpirationDateTimeisAssignableToRolesecurityIdentifieronPremisesDomainNameonPremisesNetBiosNameonPremisesSyncEnabledpreferredDataLocationresourceBehaviorOptionsonPremisesSamAccountNameonPremisesLastSyncDateTimeresourceProvisioningOptions
  • Get Groups 2 params
    get_groups

    Retrieves details for groups from Microsoft Teams based on the group ID you have specified. NOTE: If no parameter is specified, then this operation returns details of all the groups

    • Group ID group_id select

      Specify the Microsoft 365 group from the list. The bare group ID is also accepted.

    • Custom Properties custom_attributes json

      Specify the additional properties, in the JSON format, that you want to specify for the group you want to create in Microsoft Team. The additional properties signify additional fields associated with the group.

  • Delete Group 1 param
    delete_group

    Deletes an existing Microsoft Teams group based on the group ID you have specified. IMPORTANT:: Once a group is deleted, the Office 365 groups are moved to a temporary container from which they can be restored within 30 days after which, they are permanently deleted

    • Group ID group_id select required

      Specify the Microsoft 365 group from the list. The bare group ID is also accepted.

    Returns message
  • Add Group's Owner 2 params
    add_owner

    Adds a user as an owner of a specific Office 365 or Security Group in Microsoft Teams based on the group ID and user ID you have specified

    • Group ID group_id text required

      ID of the group in Microsoft Teams to which you want to add the specific user as a group owner.

    • User ID user_id text required

      Specify the ID of the group in Microsoft Teams to which you want to add the specific user as a group owner.

    Returns resultstatusmessage
  • Get Group's Owner 2 params
    get_group_owner

    Retrieves a list of owners of a specified group from Microsoft Teams based on the group ID you have specified

    • Group ID group_id select required

      Specify the Microsoft 365 group from the list. The bare group ID is also accepted.

    • Custom Properties custom_attributes json

      Specify the additional properties, in the JSON format, that you want to specify for the group you want to create in Microsoft Team. The additional properties signify additional fields associated with the group.

    Returns data
  • Remove Group's Owner 2 params
    remove_group_owner

    Removes the specified owner from the specified group in Microsoft Teams based on the group ID and owner ID you have specified.

    • Group ID group_id select required

      Specify the Microsoft 365 group from the list. The bare group ID is also accepted.

    • Owner ID owner_id text required

      Specify the ID of the owner who you want to remove as the group owner of the specified group in Microsoft Teams.

    Returns resultstatusmessage
  • Add Group's Member 2 params
    add_member

    Adds a user as a member of a specific Office 365 or Security Group in Microsoft Teams based on the group ID and user ID you have specified

    • Group ID group_id select required

      Specify the Microsoft 365 group from the list. The bare group ID is also accepted.

    • User ID user_id select required

      Specify the user from the list (display name and UPN). The bare user ID is also accepted.

    Returns resultstatusmessage
  • Get Group's Member 3 params
    get_group_member

    Retrieves a list of the direct members of a group from Microsoft Teams based on the group ID and user ID you have specified. A group can have users, contacts, devices, service principals, and other groups as its members

    • Group ID group_id select required

      Specify the Microsoft 365 group from the list. The bare group ID is also accepted.

    • User ID user_id select

      Specify the user from the list (display name and UPN). The bare user ID is also accepted.

    • Custom Properties custom_attributes json

      Specify the additional properties, in the JSON format, that you want to specify for the group you want to create in Microsoft Team. The additional properties signify additional fields associated with the group.

  • Remove Group's Member 2 params
    remove_group_member

    Removes the specified user from the specified group in Microsoft Teams based on the group ID and user ID you have specified

    • Group ID group_id select required

      Specify the Microsoft 365 group from the list. The bare group ID is also accepted.

    • User ID user_id select required

      Specify the user from the list (display name and UPN). The bare user ID is also accepted.

    Returns resultstatusmessage
  • Create Channel 5 params
    create_channel

    Creates a new channel in Microsoft Teams based on the team or group name, channel name, membership type, and other input parameters you have specified

    • Team/Group ID group_id select required

      Specify the team from the list. The list shows Microsoft Teams teams (not all groups); the bare team ID is also accepted.

    • Channel Name displayName text required

      Specify the name of the channel that you want to create in Microsoft Teams.

    • Description description text required

      Specify the description of the channel that you want to create in Microsoft Teams.

    • Membership Type membershipType select required

      Select the type of membership that would be allowed for the channel that you want to create in Microsoft Teams.

      Options PrivateStandard
    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the channel you want to create in Microsoft Team. The additional properties signify additional fields associated with the channel.

    Returns @odata.contextidcreatedDateTimedisplayNamedescriptionisFavoriteByDefaultemailwebUrlmembershipType
  • Get Channel Details 3 params
    get_channel

    Retrieves information for a specified channel from Microsoft Teams based on the team or group ID and channel name you have specified

    • Team/Group ID group_id select required

      Specify the team from the list. The list shows Microsoft Teams teams (not all groups); the bare team ID is also accepted.

    • Channel ID channel_id select

      Specify the channel of the selected team from the list. The list refreshes when the Team/Group ID changes. The bare channel ID is also accepted.

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the channel you want to create in Microsoft Team. The additional properties signify additional fields associated with the channel.

  • Get Channel's Messages 3 params
    get_channel_messages

    Retrieves a list of messages (without the replies) from a specific channel of a specific group in Microsoft Teams based on the team or group ID, channel ID, and optionally the message ID you have specified. NOTE: If you specify the message ID then details of the specific message will be retrieved from Microsoft Teams

    • Team/Group ID group_id select required

      Specify the team from the list. The list shows Microsoft Teams teams (not all groups); the bare team ID is also accepted.

    • Channel ID channel_id select required

      Specify the channel of the selected team from the list. The list refreshes when the Team/Group ID changes. The bare channel ID is also accepted.

    • Message ID message_id text

      (Optional) Specify the ID of the message whose details you want to retrieve from Microsoft Teams.

  • Get Chat Messages 1 param
    get_chat_messages

    Retrieves a list of messages in a chat based on the specified chat ID.

    • Chat ID chat_id text required

      Provide ID of the chat messages to read the messages from. Note You can get the ID from the `Send Direct Message` action.

    Returns @odata.context@odata.count@odata.nextLinkvalue
  • Get Replies to Channel Message 4 params
    get_replies_to_channel_message

    Retrieves a list of replies to a specific message within a channel of a Microsoft Teams team.

    • Team/Group ID group_id select required

      Specify the team from the list. The list shows Microsoft Teams teams (not all groups); the bare team ID is also accepted.

    • Channel ID channel_id select required

      Specify the channel of the selected team from the list. The list refreshes when the Team/Group ID changes. The bare channel ID is also accepted.

    • Message ID message_id text required

      Specify the ID of the message in Microsoft Teams for which you want to retrieve a list of replies to the channel messages.

    • Limit limit integer

      (Optional) Specify the maximum number of messages this operation should return from Microsoft Teams.

    Returns @odata.context@odata.countvalue
  • Get User's all Chat Messages 3 params
    get_users_all_messages

    Get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats.

    • Based On based_on select required

      Select the parameter based on which you want to retrieve all chat messages. You can choose between User ID or User Principal Name.

      Default User ID

      Options User IDUser Principal Name

      When Based On is User ID

      • User ID user_id text required

        If you select User ID, You must specify the ID of the User for which you want to retrieve all chat messages

      When Based On is User Principal Name

      • User Principal Name user_id text required

        If you choose User Principal Name, then in the User Principal Name field, you must specify the principal name of the user whose user you want to retrieve all chat messages.

    • Query query_string text

      Specify the date range filter for the lastModifiedDateTime and createdDateTime properties. The lastModifiedDateTime property supports the gt and lt operators. The createdDateTime property supports the lt operator.

    • Limit limit integer

      Limit the number of items per response. Maximum allowed limit value is 50.

      Default 50

    Returns @odata.context@odata.count@odata.nextLinkvalue
  • Send Message to Channel 3 params
    send_message

    Sends chat messages to a specified channel in the specified group in Microsoft Teams based on the team or group ID, channel ID, and message you have specified

    • Team/Group ID group_id select required

      Specify the team from the list. The list shows Microsoft Teams teams (not all groups); the bare team ID is also accepted.

    • Channel ID channel_id select required

      Specify the channel of the selected team from the list. The list refreshes when the Team/Group ID changes. The bare channel ID is also accepted.

    • Message Type message_type select required

      Select the type of message that you want to send to the Microsoft Teams channel. You can choose from the following options:

      Default Text

      Options TextAdaptive Card Template

      When Message Type is Text

      • Message message textarea required

        Specify the content of the group message that you want to send to a specific channel on a specific group or team in Microsoft Teams, in the Message field.

      When Message Type is Adaptive Card Template

      • Adaptive Card Schema adaptive_card_schema json required

        Specify adaptive cards schema in json format. For more info, refer https://adaptivecards.io/designer/.

    Returns @odata.contextidreplyToIdetagmessageTypecreatedDateTimelastModifiedDateTimelastEditedDateTimedeletedDateTimesubjectsummarychatIdimportancelocalewebUrlpolicyViolationeventDetailfrombodychannelIdentityattachmentsmentionsreactions
  • Reply Message 4 params
    reply_messages

    Replies to a specified chat message of a specified channel in the specified group in Microsoft Teams based on the group ID, channel ID, message ID, and message you have specified

    • Group ID group_id text required

      Specify the ID of the group in Microsoft Teams whose conversation information you want to retrieve and to which you want to reply.

    • Channel ID channel_id text required

      Specify the ID of the channel in Microsoft Teams on which you want to send the reply to the specific message.

    • Message ID message_id text required

      Specify the ID of the message in Microsoft Teams to which you want to send a reply.

    • Message message text required

      Specify the content of the message that you want to send as a reply to the specified message.

    Returns @odata.contextidreplyToIdetagmessageTypecreatedDateTimelastModifiedDateTimedeletedDateTimesubjectsummaryimportancelocalewebUrlpolicyViolationfrombodyattachmentsmentionsreactions
  • Tag User in Message 5 params
    messages_mention

    Mentions a specific user to a specific message and channel in Microsoft Teams based on the team or group ID, channel ID, user ID, user display name, and message you have specified

    • Team/Group ID group_id text required

      Specify the ID of the team or group in Microsoft Teams in which you want to add a mention of the specific user. NOTE: Every team is associated with a group and the group has the same ID as the team.

    • Channel ID channel_id text required

      Specify the ID of the channel in Microsoft Teams in which you want to add a mention of the specific user.

    • Message message text required

      Specify the content of the message in which you want to add a mention of the specific user.

    • User ID user_id text required

      Specify the ID of the user who you want to mention in the message.

    • User Display Name displayName text required

      Specify the display name of the user who you want to mention in the message.

    Returns @odata.contextreplyToIdetagmessageTypecreatedDateTimelastModifiedDateTimelastEditedDateTimedeletedDateTimesubjectsummarychatIdimportancelocalewebUrlpolicyViolationeventDetailfrombodychannelIdentityattachmentsmentionsreactions
  • Create Team 6 params
    create_team

    Creates a new team in Microsoft Teams based on the display name, description, and other input parameters you have specified

    • Display Name displayName text required

      Specify the display name of the team that you want to create in Microsoft Teams. NOTE: The maximum length for the team's display name is 256 characters.

    • Description description text required

      Specify the description of the team that you want to create in Microsoft Teams.

    • User ID user_id text

      (Optional) Specify the ID of the user whose teams you want to create in Microsoft Teams. NOTE: If the connector is configured using authentication tokens retrieved using the "Without a User – Application Permission" option, then is action works for all users by specifying the specific user ID. If the connector is configured using authentication tokens retrieved using the "On behalf of User – Delegate Permission" option, then only the current user is considered, and there is no need to specify the user ID. For more information, see the Getting Access Tokens section.

    • Bind Team Template teamsTemplates text

      (Optional) Specify the name of the Bind Team Template for the team that you want to create in Microsoft Teams. Note: If you do not provide any value, the default template will be used.

    • Visibility visibility select

      Specify the visibility to be set for the Office 365 group that you want to create in Microsoft Teams. You can choose from the following options: Private, Public, HiddenMembership, or "empty" (which is interpreted as Public).

      Options PrivatePublicHiddenMembership
    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the team you want to create in Microsoft Teams. The additional properties signify additional fields associated with the team.

    Returns statusmessagedisplayName
  • Get User's Teams 1 param
    list_user_joined_teams

    Retrieves the teams in which the specified user is a direct member from Microsoft Teams based on the user ID you have specified

    • User ID user_id select

      Specify the user from the list (display name and UPN). The bare user ID is also accepted.

    Returns @odata.context@odata.countvalue
  • Get Team Details 2 params
    get_team

    Retrieves detailed information about a team from Microsoft Teams based on the team or group ID you have specified

    • Team/Group ID group_id select required

      Specify the team from the list. The list shows Microsoft Teams teams (not all groups); the bare team ID is also accepted.

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the team whose detailed information you want to retrieve from Microsoft Teams. The additional properties signify additional fields that you want to retrieve for the team from Microsoft Teams.

    Returns @odata.contextidcreatedDateTimedisplayNamedescriptioninternalIdclassificationspecializationvisibilitywebUrlisArchivedisMembershipLimitedToOwnersdiscoverySettingsmemberSettingsguestSettingsmessagingSettingsfunSettingssummary
  • Update Team Details 2 params
    update_team

    Updates the properties for an existing team in Microsoft Teams based on the team ID and properties you have specified

    • Team ID id text required

      Specify the ID of an existing team whose properties you want to update in Microsoft Teams.

    • Custom Properties custom_attributes json required

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the team you want to update in Microsoft Team. The additional properties signify additional fields associated with the team.

    Returns statusmessageresult
  • Archive Team 1 param
    archive_team

    Archives the specified team in Microsoft Teams based on the team ID you have specified. NOTE: When a team is archived, users can no longer send or like messages on any channel that is part of the archived team

    • Team ID id text required

      Specify the ID of an existing team that you want to archive in Microsoft Teams.

    Returns statusmessage
  • Unarchive Team 1 param
    unarchive_team

    Restores an archived team in Microsoft Teams based on the team ID you have specified. Unarchiving a team restores the user's ability to send messages to the team and edit the properties of the team

    • Team ID id text required

      Specify the ID of an existing team whose archive you want to restore from Microsoft Teams.

    Returns statusmessage
  • Clone Team 5 params
    clone_team

    Creates a copy of a specified team in Microsoft Teams based on the team ID, display name, mail nickname, and other input parameters you have specified. This operation also creates a copy of the team's corresponding group

    • Team ID id text required

      Specify the ID of the existing team whose clone you want to create in Microsoft Teams.

    • Display Name displayName text required

      Specify the mail alias for the team that you have cloned in Microsoft Team, which must be unique in the organization. This parameter must be specified when a group is created or cloned. If this parameter is not specified, it will be computed from the Display Name. NOTE: Known issue: This parameter is currently being ignored.

    • Mail Nick Name mailNickname text required

      Specify the mail alias for the group, unique in the organization. This property must be specified when a group is created. If this property is not specified, it will be computed from the displayName. NOTE: Known issue: This parameter is currently being ignored.

    • Parts to clone partsToClone text required

      Specify a CSV list of the parts of the team you want to clone. Legal parts are "apps", "tabs", "settings", "channels", and "members".

    • Visibility visibility select

      Specify the visibility to be set for the team that you want to clone in Microsoft Teams. You can choose from the following options: Private or Public (which is interpreted as Public).

      Options PrivatePublic
    Returns statusmessage
  • Create Meeting 5 params
    create_meeting

    Creates a new meeting in Microsoft Teams based on the user ID, subject, and other input parameters you have specified

    • Subject subject text required

      Specify a subject of the meeting that you want to create in Microsoft Teams.

    • User ID user_id text

      Specify the ID of the user using whose ID you want to create a meeting in Microsoft Teams. NOTE: If the connector is configured using authentication tokens retrieved using the "Without a User – Application Permission" option, then is action works for all users by specifying the specific user ID. If the connector is configured using authentication tokens retrieved using the "On behalf of User – Delegate Permission" option, then only the current user is considered, and there is no need to specify the user ID. For more information, see the Getting Access Tokens section.

    • Start Time startDateTime datetime

      Specify the start time of the meeting that you want to create in Microsoft Teams.

    • End Time endDateTime datetime

      Specify the end time of the meeting that you want to create in Microsoft Teams.

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the meeting you want to create in Microsoft Team. The additional properties signify additional fields associated with the meeting.

    Returns @odata.contextidcreationDateTimestartDateTimeendDateTimejoinUrljoinWebUrlmeetingCodesubjectisBroadcastautoAdmittedUsersouterMeetingAutoAdmittedUsersisEntryExitAnnouncedallowedPresentersallowMeetingChatallowTeamworkReactionsallowAttendeeToEnableMicallowAttendeeToEnableCamerarecordAutomaticallyanonymizeIdentityForRolescapabilitiesvideoTeleconferenceIdexternalIdbroadcastSettingsjoinMeetingIdSettingsaudioConferencingmeetingInfoparticipantslobbyBypassSettingschatInfo
  • Get Meeting Details 3 params
    get_meeting

    Retrieves details for a specific meeting from Microsoft Teams based on the user ID, meeting ID, and other input parameters you have specified

    • Meeting ID meeting_id text required

      Specify the ID of the meeting whose details you want to retrieve from Microsoft Teams.

    • User ID user_id text

      Specify the ID of the user whose details you want to retrieve from Microsoft Teams. NOTE: If the connector is configured using authentication tokens retrieved using the "Without a User – Application Permission" option, then is action works for all users by specifying the specific user ID. If the connector is configured using authentication tokens retrieved using the "On behalf of User – Delegate Permission" option, then only the current user is considered, and there is no need to specify the user ID. For more information, see the Getting Access Tokens section.

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the meeting whose details you want to retrieve from Microsoft Teams. The additional properties signify additional fields associated with the meeting.

    Returns @odata.contextidcreationDateTimestartDateTimeendDateTimejoinUrljoinWebUrlmeetingCodesubjectisBroadcastautoAdmittedUsersouterMeetingAutoAdmittedUsersisEntryExitAnnouncedallowedPresentersallowMeetingChatallowTeamworkReactionsallowAttendeeToEnableMicallowAttendeeToEnableCamerarecordAutomaticallyanonymizeIdentityForRolescapabilitiesvideoTeleconferenceIdexternalIdbroadcastSettingsjoinMeetingIdSettingsaudioConferencingmeetingInfoparticipantslobbyBypassSettingschatInfo
  • Update Meeting Details 8 params
    update_meeting

    Updates the properties for an existing meeting in Microsoft Teams based on the user ID, meeting ID, and other input parameters you have specified

    • Meeting ID meeting_id text required

      Specify the ID of an existing meeting whose properties you want to update in Microsoft Teams.

    • User ID user_id text

      Specify the ID of a user whose associated meeting properties you want to update in Microsoft Teams. NOTE: If the connector is configured using authentication tokens retrieved using the "Without a User – Application Permission" option, then is action works for all users by specifying the specific user ID. If the connector is configured using authentication tokens retrieved using the "On behalf of User – Delegate Permission" option, then only the current user is considered, and there is no need to specify the user ID. For more information, see the Getting Access Tokens section.

    • Start Time startDateTime datetime

      Specify the start time of the meeting that you want to update in Microsoft Teams.

    • End Time endDateTime datetime

      Specify the end time of the meeting that you want to update in Microsoft Teams.

    • Subject subject text

      Specify the subject of the meeting that you want to update in Microsoft Teams.

    • Enable Camera allowAttendeeToEnableCamera checkbox

      Select this option if attendees can turn on their cameras.

      Default false

    • Enable Mic allowAttendeeToEnableMic checkbox

      Select this option if attendees can turn on their microphones.

      Default false

    • Custom Properties custom_attributes json

      (Optional) Specify the additional properties, in the JSON format, that you want to specify for the meeting you want to update in Microsoft Team. The additional properties signify additional fields associated with the meeting.

    Returns @odata.contextidcreationDateTimestartDateTimeendDateTimejoinUrljoinWebUrlmeetingCodesubjectisBroadcastautoAdmittedUsersouterMeetingAutoAdmittedUsersisEntryExitAnnouncedallowedPresentersallowMeetingChatallowTeamworkReactionsallowAttendeeToEnableMicallowAttendeeToEnableCamerarecordAutomaticallyanonymizeIdentityForRolescapabilitiesvideoTeleconferenceIdexternalIdbroadcastSettingsjoinMeetingIdSettingsaudioConferencingmeetingInfoparticipantslobbyBypassSettingschatInfo
  • Delete Meeting 2 params
    delete_meeting

    Deletes an existing meeting in Microsoft Teams based on the user ID and meeting ID you have specified

    • Meeting ID meeting_id text required

      Specify the ID of an existing meeting that you want to delete from Microsoft Teams.

    • User ID user_id text

      Specify the ID of a user whose associated meeting you want to delete in Microsoft Teams. NOTE: If the connector is configured using authentication tokens retrieved using the "Without a User – Application Permission" option, then is action works for all users by specifying the specific user ID. If the connector is configured using authentication tokens retrieved using the "On behalf of User – Delegate Permission" option, then only the current user is considered, and there is no need to specify the user ID. For more information, see the Getting Access Tokens section.

    Returns message
  • Send Direct Message 3 params
    send_chat

    Sends a new chat message to a specified user in Microsoft Teams based on the sender's and receiver's email address, and the message you have specified. NOTE: This action is not supported if the connector is configured using authentication tokens retrieved using the "Without a User – Application Permission" option. For more information, see the Getting Access Tokens section

    • Sender User Email sender_user_email text required

      Specify the email address of your account from which you want to send a chat message.

    • Receiver User Email receiver_user_email text required

      Specify the email address of the receiver who should receive the chat message.

    • Message Type message_type select required

      Select if you need to send a simple text message or a formatted message. You can choose between Text and Card options.

      Default Text

      Options TextCardCustom Card

      When Message Type is Text

      • Message message textarea required

        Specify the content of the group message, in the Message field, that you want to send to a specific channel on a specific group or team in Microsoft Teams.

      When Message Type is Card

      • Title title text

        Specify the title of the message card that you want to send to the specified user in Microsoft Teams.

      • Subtitle subtitle text

        Specify the sub-title of the message card that you want to send to the specified user in Microsoft Teams.

      • Body body textarea required

        Specify the content of the message that you want to send to the specified user in Microsoft Teams.

      • Subject subject text

        Specify the subject of the message that you want to send to the specified user in Microsoft Teams.

      • Buttons buttons json

        Specify the list of button objects to be added to the message that you want to send to the specified user in Microsoft Teams.

      When Message Type is Custom Card

      • Adaptive Card Schema card_definition json required

        Provide a adaptive card schema definition in JSON format. See https://adaptivecards.io/designer/

        Default {"type": "AdaptiveCard", "body": [{"type": "TextBlock", "text": "Provide IP to Block", "wrap": true}, {"type": "Input.Text", "placeholder": "Provide IP…

    Returns @odata.contextreplyToIdetagmessageTypecreatedDateTimelastModifiedDateTimelastEditedDateTimedeletedDateTimesubjectsummarychatIdimportancelocalewebUrlchannelIdentitypolicyViolationeventDetailfrombodyattachmentsmentionsreactions
  • Send Bot Message/Input Form 1 param
    send_message_or_approval_form_to_bot

    Sends a manual input form or message to Teams based on the input object that you have specified. NOTE: This action works only if users have selected the 'Enable Bot Communication' option while configuring the connector and also configured the FortiSOAR for Microsoft Teams Application

    • Message Type type select required

      Select the type of message you want to send to the Microsoft Teams

      Default Manual Input Form

      Options Manual Input FormText Message

      When Message Type is Manual Input Form

      • Input input json required

        Specify the FortiSOAR Manual Input object that you want to send to Microsoft Teams. The form can either be an input form or an approval request that you want to send to Microsoft Teams and get users' responses.

      When Message Type is Text Message

      • Conversation ID conversation_id text required

        Specify the ID of the conversation you want to send the message

      • Message message textarea required

        Specify the content of the message that you want to send to Microsoft Teams using the FortiSOAR for Microsoft Teams Application.

    Returns result
  • Execute API Request 4 params
    execute_api_request

    Sends a request to a relative Microsoft Graph path (for example /users or /teams/{id}/channels) with this configuration's auth. Absolute URLs and path traversal are refused. Use it for Graph endpoints without a dedicated operation.

    • Method method select required

      HTTP method.

      Options GETPOSTPATCHPUTDELETE
    • Endpoint endpoint text required

      Relative Graph path starting with '/', for example /users?$top=5. Absolute URLs are refused.

    • Body body json

      JSON body for POST, PATCH or PUT.

    • Query query json

      Extra query parameters as a JSON object.

  • Get Team Options (dropdown)
    list_team_options

    Lists Microsoft Teams teams for the Team/Group dropdown.

    No parameters.

  • Get Group Options (dropdown)
    list_group_options

    Lists Microsoft 365 groups for the Group dropdown.

    No parameters.

  • Get User Options (dropdown)
    list_user_options

    Lists users for the User dropdown.

    No parameters.

  • Get Channel Options (dropdown) 1 param
    list_channel_options

    Lists the channels of the Team/Group ID sibling for the Channel dropdown.

    • Team/Group ID group_id text

      Sibling value supplied by the UI (apiOnchange).

Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000