Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This page outlines the steps required to setup Microsoft (MS) Teams as a chat channel for Luma. Please reach out to the Serviceaide support team and raise a support ticket asking them to create the Luma channel connector for MS Teams and provide a package; include your Luma tenant ID in the ticket information. Please also specify name for your bot in MS Teams. This is how users will identify the contact in MS Teams once all the configuration steps are completed. After raising the support ticket, Administrators can complete the setup by following the steps mentioned in this article. Once the setup is complete, users will be able to send and receive messages from Luma using Microsoft Teams

Note

To configure MS Teams, you must have an account in Microsoft Office 365 portal and Microsoft Teams portal.

The Microsoft Teams Tenant Apps Catalog lets you distribute line-of-business applications that were built specifically for your organization. 

Note

You need to be signed in to the Microsoft Teams client with an account that has either the global administrator or Microsoft Teams service administrator role enabled to publish apps for your organization. Learn more about using administrator roles to manage Teams.

Add Organization Domain in Microsoft Teams

To add the organization domain in the Microsoft Teams portal:

  1. Login to your Microsoft Teams account through the URL https://admin.teams.microsoft.com and click Org-wide settings as shown below.

  2. Under Org-wide settings, click External access as shown below.

  3. In External access, add the serviceaide.com domain and click Done. Adding the serviceaide.com domain allows your bot to communicate with the Luma SaaS environment which is on the Serviceaide domain.
     
     

Publish apps in the Microsoft Teams Tenant Apps Catalog

To publish apps in the Microsoft Teams Tenant Apps Catalog:

  1. Start the Microsoft Teams client and sign in using your global or teams service administrator credentials.
  2. From the Microsoft Teams Store/Apps, select the new section named for your specific organization (in this example, Contoso). Users in your organization can view apps in the catalog and install them for teams of which they are a member.
  3. From the store/Apps, select Upload a custom app > Upload for Contoso.
  4. Navigate to the app Package and select it, and then click Open.

    Note

    The package will be specific to your organization and can be requested from support to provide the package for your specific Luma tenant.

  5. When you navigate back to your Tenant Apps Catalog, the new enterprise app appears. Remember, only you and members of your organization have access to this app catalog.

    Note

    It may take a few hours for the App to appear in the Tenant Apps Catalog.

  6. Once the Custom App appears in the Tenant Apps Catalog, login to your Microsoft Teams account through the URL https://admin.teams.microsoft.com. As an administrator you can configure and manage app permission policies in the Microsoft Teams admin center. You can apply organization-wide settings, use the global (organization-wide default) policy, and create and assign custom policies to individual users or users in a group.

    Note

    Users in your organization will automatically get the global policy unless you create and assign a custom policy. Org-wide app settings override the global policy and any custom policies that you create and assign to users.

  7. On the Global app permission policies page, click Org-wide app settings to configure the required settings.
  8. Under Third-party apps, adjust the following settings to control the access to third-party apps:
    1. Allow third-party or custom apps in Teams: This controls whether users can use third-party or custom apps. This must be turned on for the Luma Custom App to work.
    2. Allow any new third-party apps published to the store by default: This controls whether new third-party apps that are published to the Teams app store are automatically available in Teams. You can only set this option if you allow third-party apps. This can be turned off and is not required for the Luma Custom App.
  9. Under Custom apps, turn on Allow interaction with custom apps. This setting controls whether users can interact with custom (sideloaded) apps. Note that this is different from allowing users to upload custom apps. This must be turned on for the Luma Custom App to work. 
  10. Click Save for org-wide app settings to take effect. 
  11. Navigate to Tenant Apps and select the newly loaded custom App to be available for all users in the organization.
  12. Once the App is available in the Tenant, users can search for the custom app as a contact and start a conversation with the Luma bot.

Configure a Custom App as a Pinned App

MS Teams administrators can also configure the App to be available as a Pinned App by following the below steps.

You can use the Microsoft Teams admin center to create a custom policy.

  1. On the left navigation of the Microsoft Teams admin center, go to Teams apps > Setup policies.
  2. Click Add.
  3. Enter a name and description for the policy, and then click Add apps.
  4. Turn on or turn off Allow uploading custom apps, depending on whether you want to let users upload custom apps to Teams. You cannot change this setting if Allow third-party or custom apps is turned off in Org-wide app settings in app permission policies.
  5. In the Add pinned apps pane, search for your Custom App, and then click Add. You can also filter apps by app permission policy. On selecting your list of apps, click Add.
  6. Arrange the apps in the order that you want them to appear in Teams, and then click Save.


Custom app policies and settings work together. The following table lists the custom app policy and settings, how they work together, and their combined effect on controlling who in your organization can upload custom apps to Teams.

Org-wide custom app settingTeam custom app settingUser custom app policy


Effect

OffOffOffInteraction with all custom apps is blocked for your organization. Custom apps cannot be uploaded by anyone. You can use PowerShell to remove the custom app.
OffOffOnInteraction with all custom apps is blocked for your organization. Custom apps cannot be uploaded by anyone. You can use PowerShell to remove the custom app.
OffOnOffInteraction with all custom apps is blocked for your organization. Custom apps cannot be uploaded by anyone. You can use Windows PowerShell to delete custom apps.

Off

On

On

Interaction with all custom apps is blocked for your organization. Custom apps cannot be uploaded by anyone. You can use PowerShell to remove the custom app.

On

Off

Off

The user cannot upload custom apps.

On

Off

On

If the user is a team owner, they can upload custom apps to the team. If the user is not a team owner, they can upload custom apps in the personal context.

On

On

Off

The user cannot upload custom apps.

On

On

On


Enable auto-authentication 

Users using MS Teams to communicate with Luma can be auto authenticated using Channel Source Data. Administrators can follow the below steps to enable auto authentication:

  1. Login to Azure portal with login credentials and navigate to your Bot.
  2. Navigate to Bot Management→Settings. Click on Manage to open Microsoft Apps settings.

3. Navigate to API permissions and click on Add a permission button to request permissions for your application to communicate with Luma.

4. On Request API permission screen, Click on Microsoft Graph.

5.  Click Application permissions,select the below permissions:

  • Under AccessReview, select AccessReview:Read.All

 

  • Under Directory, select Directory.Read.All

Click on Add Permissions to update permissions for your app. 

 6. Requested permissions will now appear on the API Permission list. Click 'Grant admin consent ' button. 

7.  System now prompt a message to grant consent for requested permissions. Click Yes to update.

8.  Once the permissions are added, Success message "Successfully granted  admin consent for the requested permissions." will appears.

Users can now be auto authenticated using channel specific source data.


  • No labels