4 min read ·

What MS Teams scope does Profit.co use for Messaging? Describe the messaging process.

Bastin Gerald Bastin Gerald ·
MS Teams scope

Introduction

Microsoft Teams is a collaboration app that helps your team stay organized and have conversations in one place. To enjoy the advantage of added workplace productivity, Profit.co has integrated with Microsoft Teams that enables you to easily manage, monitor, review and check in your OKRs from and within Microsoft Teams. With this duo integration, you can access information from anywhere and at any time with secured cloud storage and can kickstart access right from Profit.co instead of switching platforms. Integrating OKRs with Microsoft can help you access information from anywhere and at any time with secured cloud storage and can kickstart access right from Profit.co instead of switching platforms.

Let’s see how to install Profit.co using the MS graph API with the scope:

Installation & Authentication Process

Step 1:

Install Profit.co bot from the app store.

Please refer how to install Profit.co bot on MS Teams

Step 2:

Once the bot is installed, the bot has to be authenticated with your Profit.co account. This process links your Profit.co bot with your Profit.co account. To perform this step, just enter “login” in the bot.

Login Bot

Step 3:

This opens a panel to login:

Login Panel

Step 4:

Here, we have two ways to authenticate with your profit.co account.

  • Use your Profit.co’s username and password.
  • Simply click “office 365” to authenticate your profit.co through OAuth2 (SSO).
  • You can use your office 365 credentials to login.
365 Login

Step 5:

Here, Profit.co will ask for your permission to sign you in and use your profile information. The exact MS Teams scope name that is requested here is:

email opened profile User.Read

Step 6:

Using this scope, Profit.co gets:

  • Email address of the logged in user
  • Tenant id
  • Access & refresh tokens

These will be used to push the message from your Profit.co cloud application to the bot.

Messaging between Profit.co & MS Teams

  • Whenever a message needs to be delivered to a user, the Access token will be used to post the message to the bot with the MS graph API. This access token expires periodically — default is 90days, but can be changed by the admin.
  • When the access token expires, we’ll use the Refresh token to regenerate a new access token.
  • Tenant id is used to identify the account where the data has to be posted.
  • These tokens and tenant Id will persist in Profit.co, and used in the messaging calls using the Microsoft graph APIs to push data to the bot. Please, refer to the doc for further details about the tokens.

Please, refer the doc for further details about the tokens.

Profit.co helps you to integrate with your favorite apps, You can integrate with Jira, Slack, G Suite, Zapier, Teams, Office 365, and 30+ apps. You can connect with Profit.co OKR Software to integrate users, and tasks, and also check in your key results within the apps. Check out our wide range of integrations and get connected instantly.

Related Articles

Product
5 min read · December 20, 2024

5 Essential Dashboards Every Business Leader Should Use

Business leaders, are you steering your strategy with crystal-clear insights—or flying blind? Profit.co’s dashboards are designed to make your decisions…

Bastin Gerald Bastin Gerald
what-is-a-succession
Product
13 min read · January 30, 2024

What is a Succession Development Plan in Profit.co?

In the corporate world, the continuity of performance and leadership among employees is paramount. The expertise and internal understanding gained…

Bastin Gerald Bastin Gerald
Balanced-Scorecard
Product
10 min read · October 24, 2023

What is a Balanced Scorecard?

The Balanced Scorecard (BSC) is a revolutionary tool that offers a broader perspective on performance. Through the BSC, businesses can…

Bastin Gerald Bastin Gerald
individual_development_plan
Product
6 min read · May 17, 2023

Why Does Your Organization Need an Individual Development Plan (IDP) to Grow?

Introduction If you want to stay up to date on the job market, tackle the demands of today’s workplace, and…

Bastin Gerald Bastin Gerald
Performance Competencies
Product
6 min read · May 12, 2021

Performance Competencies in Profit.co: Uses, Levels, & Examples

Evaluating Performance Performance management is one of the key pillars of a successful organization. Delivering useful feedback to employees and…

Bastin Gerald Bastin Gerald
Top down Bottom Up alignment
Product
17 min read · January 21, 2021

Top down and bottom up alignment

OKRs are the most widely-used goal-setting tool utilized by industry-leaders around the world to set more challenging, ambitious goals with…

Bastin Gerald Bastin Gerald