Articles on: 💹SB Request a Quote, Hide Price

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:



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,

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

After Successfully login, You can see the App Registrations at https://portal.azure.com/#home
Click on App registrations


Click on New Registration


Fill the required app details
Add app name
Choose Supported account types (Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant)

Select Platform : Web
Add Redirect URI : https://www.setubridgeapps.com/call-for-price/app/src/public/authenticateTeams
Click on Register

Go to the created app
Click on Certificates & secrets:

Client Secrets -> New client secrets:

Add Description and Expires-> click on Add:

(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

Go to API permissions
To access your Channels we need a permission
Add permission


Choose Microsoft Graph


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
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

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,

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

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.

Updated on: 16/10/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!