> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://setubridge.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Integrate a Teams account to receive inquiry form data on your teams channel?

**Microsoft Teams Integration **

Learn how to integrate a Teams account to receive inquiry form data directly in your Teams channel. This guide will help you configure the necessary settings to streamline communication and manage inquiries efficiently.

**Video Tutorial:**

${frame}[Microsoft Teams Integration for Notification](https://www.youtube.com/embed/btBRPXJVnbo?si=lQbnvYChMAIvCbYz&amp;start=912)

To integrate Microsoft teams account you need to create the app and configure your app credentials in the app backend under **Notifications for Merchant **section.

To create the app, you can follow this article https://learn.microsoft.com/en-us/graph/auth-register-app-v2  or you can follow the below steps,

1. Go to Azure - https://azure.microsoft.com/en-in/get-started/azure-portal
   * Register/Login with your Microsoft team account

2. After Successfully login, You can see the **App Registrations** at https://portal.azure.com/#home
   *  Click on App registrations
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_i1pwt4.png)

3. Click on **New Registration** 
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_3ion61.png)

4. Fill the required app details
   *  Add app name 
   *  Choose Supported account types (Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant)     
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_bey56y.png)
     Select Platform : Web 
   *  Add Redirect URI : https://www.setubridgeapps.com/call-for-price/app/src/public/authenticateTeams
   *  Click on Register 

5. Go to the created app 
   *  Click on **Certificates & secrets**: 
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_17nunrs.png)
   *  Client Secrets -> New client secrets:
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_mshqnt.png)
   *  Add Description and Expires-> click on Add:
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_1um4x0x.png)
    (choose longest time so you don't need to re-authenticate for log time) 
   *  Copy Secret Value and save at safe location, Secret only reveal one time 

6. Go to **API permissions**
    To access your Channels we need a permission 
  *  Add permission 
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_9m3qk8.png)

  * Choose **Microsoft Graph**
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_m9iglu.png)

**  List of permission that requires**
   * User.Read
   * Teamwork.Migrate.All
   * ChannelMessage.Send
   * Group.ReadWrite.All
   * Channel.ReadBasic.All	
   * ChannelSettings.Read.All
   * ChannelSettings.ReadWrite.All
   * Directory.ReadWrite.All

Some of permission are Delegated permissions and some are Application permissions
![Delegated permissions](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_itsdmz.png)
**Application   **
    * Teamwork.Migrate.All 
    * Group.ReadWrite.All
    * Channel.ReadBasic.All
    * ChannelSettings.Read.All
    * ChannelSettings.ReadWrite.All
    * Directory.ReadWrite.All
**Delegated **
    * ChannelMessage.Send   
    * Channel.ReadBasic.All	

  Make sure you have permission grant from admin
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_4irfgx.png)
  if not click on **Grant admin consent for ... **
      
After Successfully configuring the app, add details in our app backend
 *  Application (client) ID: https://prnt.sc/73IdgjlK7_kt
 *  Directory (tenant) ID: https://prnt.sc/IHLxxDcyiRtg
 *  Redirect URIs: It must be https://www.setubridgeapps.com/call-for-price/app/src/public/authenticateTeams
 *  Client Secret Value: https://prnt.sc/1Kvy8bluz-6V copy the secret value not secret ID https://prnt.sc/hHpEpp0N9F_W

Add all the above details in the app backend and click on authenticate.

After successfully authentication, back to admin and click on **Refresh Settings**,
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_15f5ig2.png)
You will see the new field for Teams (Group) ID
To find the Teams (Group) ID, Go to your teams
*  Teams (Group) ID: https://prnt.sc/INXUQc-jJ6tO copy this group id https://prnt.sc/HC0rPhSq0R8r
After adding Teams ID, Click on **Connect**

From the Channel List 
![](https://storage.crisp.chat/users/helpdesk/website/ec822f1cb1c6a000/image_1g3qlwg.png)
Choose the channel where you want the notification 

Click on **Save** and Check with submitting test inquiry 

If you have any other questions or need further assistance, feel free to reach out to us.

