# Application permissions for Enterprise Workbots

This guide describes how to authenticate and manage permissions for Workbot for Microsoft Teams using Application permissions (opens new window). This configuration is available for Enterprise Workbots only.

To use Application permissions, you must complete an additional setup in Microsoft Teams. This method secures connections more effectively than Delegated permissions. It enables setting up a Workato connection without requiring the user to have all the necessary application permissions, to be an Administrator, or to maintain a user-dependent connection (for example, the connection does not disconnect when the user logs out).

# Setup requirements

To set up Application permissions, you must have one of the following roles in your Microsoft organization:

  • Application administrator
  • Cloud application administrator
  • Global administrator
  • Privileged role administrator

You can view your role assignments in Microsoft (opens new window) by navigating to Users > {Your name} > Assigned roles.

WORKATO CONNECTION SETUP

You are not required to have one of the preceding roles to set up the connection in Workato if Application permissions are used. Completing the connection setup is a one-time task.

# How to set up Application permissions

To configure Application permissions, set up your bot app. Then, follow these steps to add the necessary permissions to your bot app:

2

Click App registrations and select your app.

3

Navigate to Manage > API permissions.

4

Click + Add a permission, then select Microsoft Graph > Application permissions.

5

Add the following permissions to your app:

MINIMUM PERMISSIONS

This guide describes the minimum permissions necessary to authenticate and operate Workbot in your workspace. You can add additional permissions to meet the requirements for your specific use case. For example, if you plan to use custom HTTP actions that require additional permissions, you can incorporate them at this stage.

AppCatalog.Read.All

Channel.ReadBasic.All

Organization.Read.All

TeamsAppInstallation.ReadWriteAndConsentSelfForUser.All

This permission provides access to the following Graph API endpoints:

  • Graph API request: GET /users/{user-id}/teamwork/installedApps
  • Description: Proactive messages, get the bot ID in a particular user scope
  • Link to docs (opens new window)

  • Graph API request: GET /users/{user-id}/teamwork/installedApps/{app-installation-id}/chat
  • Description: Get chat ID between the user and installed app
  • Link to docs (opens new window)
Team.ReadBasic.All

User.Read.All

6

Click Add permissions to complete the process.

# Complete connections in Workato

PUBLISH YOUR APP

Before you can connect and activate your Workbot, your Microsoft Teams Admin must approve your request to publish your app to your organization. Without this approval, Workato displays an error when you try to establish a connection. Administrators can verify the approval status of your app in the Microsoft admin interface (opens new window).

1

In Workato, navigate to Connections, click Create, and select Connection from the list.

2

Search for Workbot for Microsoft Teams and select it from the available apps.

3

Complete the following fields to connect your bot:

  • Connection name

  • Provide a unique name for your connection. You can reuse it in multiple recipes.

  • Location

  • Choose a project or folder in which to store this connection.

  • Auth type

  • Select Application [beta].

  • Tenant ID [beta]

  • Provide your organization's Azure tenant ID. You can obtain this value by going to the Azure developer portal (opens new window), navigating to Microsoft Entra ID > Overview, and copying the Tenant ID. Note that the value of the Tenant ID is identical to the Directory ID. You can find this in the Azure developer portal (opens new window) in Settings > Directories + Subscriptions.

  • Custom OAuth profile

  • Select the Custom Oauth profile for your workbot.

4

Click Sign in with Microsoft. This button redirects you to the Microsoft developer portal where you can log in with your organizational credentials.

Complete setupComplete setup in Workato


Last updated: 4/29/2024, 9:51:21 PM