LightBeam Documentation
Installer GuidesData SourcesPlaybooksInsightsPrivacyOpsGovernance
  • 💡What is LightBeam?
  • 🚀Getting Started
    • ⚙️Installer Guides
      • Pre-Requisites / Security Configurations
        • Firewall Requirements
        • Securing LightBeam on EKS with AWS Certificate Manager on Elastic Load Balancer
        • Configure HTTPS for LightBeam Endpoint FQDN Standalone deployment
        • Using Custom Certificates with LightBeam
        • Securing LightBeam on GKE with Google Certificate Manager and GCE Ingress
      • Core
        • LightBeam Deployment Instructions
        • LightBeam Installer
        • Web App Deployment
        • LightBeam Diagnostics
        • LightBeam Cluster Backup & Restore using Velero
      • Platform Specific
        • AWS
        • Microsoft Azure
        • Google Cloud (GKE)
        • Standalone Virtual Machine
        • Deployment on an Existing Managed Kubernetes Cluster
        • Azure Marketplace Deployment
      • Integration and Setup
        • Setting Up AWS PrivateLink for RDS-EKS Interaction
        • Twingate and LightBeam Integration Guide
        • Data Subject Request Web Application Server
        • Generate CSR for LightBeam
  • 🧠Core Features
    • 🔦Spectra AI
      • 🔗Data Sources
        • Cloud Platforms
          • AWS Auto Discovery
          • GCP Auto Discovery
        • Databases and Datalakes
          • PostgreSQL
          • Aurora (PostgreSQL)
          • Snowflake
          • MS SQL
          • MySQL
          • Aurora (MySQL)
          • BigQuery
          • AWS Redshift
          • Oracle
          • DynamoDB
          • MongoDB
          • CosmosDB (PostgreSQL)
          • CosmosDB (MongoDB)
          • CosmosDB (NoSQL)
          • Looker
          • AWS Glue
          • Databricks
          • SAP HANA
          • CSV Files as a Datasource
        • Messaging
          • Gmail
          • Slack
          • MS Teams
          • MS Outlook
        • Developer Tools
          • Zendesk
          • ServiceNow
          • Jira
          • GitHub
          • Confluence
        • File Repositories
          • NetDocuments
          • AWS S3
          • Azure Blob
          • Google Drive
          • OneDrive
          • SharePoint
          • Viva Engage
          • Dropbox
          • Box
          • SMB
        • CRM
          • Hubspot
          • Salesforce
          • Automated Data Processing (ADP)
          • Marketo
          • Iterable
          • MS Dynamics 365 Sales
          • Salesforce Marketing Cloud
      • 🔔PlayBooks
        • What is LightBeam Playbooks?
        • Policy and Alerts
          • Types of Policies
          • How to create a rule set
            • File Extension Filter
          • Configuring Retention Policies
          • Viewing Alerts
          • Sub Alerts
            • Reassigning Sub-Alerts
            • Sub-alert States
          • Levels of Actions on Alerts
          • User Roles and Permissions
            • Admin View
            • Alert Owner View
            • Onboarding New Users
              • User Management
              • Okta Integration
              • Alert Assignment Settings
              • Email Notifications
            • Planned Enhancements
          • Audit Logs
          • No Scan List
          • Permit List
          • Policy in read-only mode
      • 📊Insights
        • Entity Workflow
        • Document Classification
        • Attribute Management Overview
          • Attributes Page View
          • Attribute Sets
          • Creating Custom Attribute
          • Attributes List
        • Template Builder
        • Label Management
          • MIP Integration
          • Google Labels Integration
      • 🗃️Reporting
        • Delta Reporting
        • Executive Report
        • LightBeam Lens
      • Scanning and Redaction of Files
        • On-demand scanning
      • How-to Guides
        • Leveraging LightBeam insights for structured data sources
      • LightBeam Dashboard Outlay
      • Risk Score
    • 🏛️PrivacyOps
      • Data Subject Request (DSR)
        • What is DSR?
        • Accessing the DSR Module
        • DSR Form Builder (DPO View)
          • Creating a New DSR Form
            • Using a Predefined Template
            • Creating a Custom Form
          • Form Configuration
          • Form Preview and Publishing
          • Multi-Form Management
          • Messaging Templates
        • Form Submission & Email Verification (Data Subject View)
        • DSR Management Dashboard (DPO View)
        • Processing DSR Requests
          • Data Protection Officer (DPO) Workflow
          • Self Service Workflow (Direct Validation)
          • Data Source Owner (DSO) Workflow
        • DSR Report
      • 🚧Consent Management
        • Overview
        • Consent Logs
        • Preference Centre
        • Settings
      • 🍪Cookie Consent
        • Dashboard
        • Banners
        • Domains
        • Settings
        • CMP Deployment Guide for Google Tag Manager
        • FAQs
      • 🔏Privacy Impact Assessment (PIA)
        • PIA Templates
        • PIA Assessment Workflow
        • Collaborator View
        • Process Owner Login View (With Collaborator)
        • Filling questionnaire without collaborator
        • Submitting the assessment for DPO review
        • DPO review process
        • Marking the assessment as reviewed
        • Editing and resubmitting assessments after DPO review
        • Revoke review request
        • Edit Reviewer
        • PIA Reports
      • ⏺️Records of Processing Activity (RoPA)
        • Creating a RoPA Template
          • How to clone a template
          • How to use a template
        • How to create a process
          • Adding Process Details
          • Adding Data Elements
          • Adding Data Subjects
          • Adding Data Retention
          • Adding Safeguards
          • Adding Transfers
          • Adding a Custom Section
          • Setting a Review Schedule
          • Data Flow Diagram
        • How to add a collaborator
        • Overview Section
        • Generating a RoPA Report Using LightBeam
        • Collaborator working on a ticket
    • 🛡️Governance
      • Access
        • Dashboard
        • Users
        • Groups
        • Objects
        • Active Directory Settings
        • Access Governance at a Data Source Level
        • Policies and Alerting
        • Access Governance Statistics
        • Governance Module Dashboard
      • Privacy At Partners
  • 📊Tools & Resources
    • 🔀API Documentation
      • API to Create Reports for Structured Datasource
    • ❓Onboarding Assessments
      • Structured Datasource Onboarding Questionnaire
        • MongoDB/CosmosDB Questionnaire
        • Oracle Datasource Questionnaire
      • SMB Questionnaire
    • 🛠️Administration
      • Audit Logs
      • SMTP
        • Basic and oAuth Configuration
      • User Management
        • SAML Identity Providers
          • Okta
            • LightBeam Okta SAML Configuration Guide
          • Azure
            • Azure AD SAML Configuration for LightBeam
          • Google
            • Google IDP
        • Local User Management
          • Adding a User to the LightBeam Dashboard
          • Reset Default Admin Password
  • 📚Support & Reference
    • 📅Release Notes
      • LightBeam v2.2.0
      • Reporting Release Notes
      • Q1 2024 Key Enhancements
      • Q2 2024 Key Enhancements
      • Q3 2024 Key Enhancements
      • Q4 2024 Key Enhancements
    • 📖Glossary
Powered by GitBook
On this page
  • Connecting MS Teams Data Source
  • Appendix
  • Setting up Azure EventHub service to support Live Sync
  • About LightBeam
  1. Core Features
  2. Spectra AI
  3. Data Sources
  4. Messaging

MS Teams

Connecting MS Teams to LightBeam

PreviousSlackNextMS Outlook

Last updated 4 months ago

Overview

LightBeam Spectra users can connect various data sources to the LightBeam application and these data sources will be continuously monitored for PII, PHI data.

Example: MS Teams, MS Outlook, Gmail, Slack, etc.


Connecting MS Teams Data Source

  1. Log in to your LightBeam Instance.

  2. Click on DATASOURCES on the Top Navigation Bar.

  3. Click on Add a Data Source.

Figure 1. Add Data Source
  1. Search for “Teams”.

  2. Click on Teams.

  1. Fill in the details as shown below and click on Next:

Basic Information

  1. Data Source Name: This is the unique name given to the data source.

  2. Description: This is an optional field needed to describe the use of this data source.

  3. Primary Owner: Email address of the person responsible for this data source which will get alerts by default.

  4. Entity Creation: LightBeam Spectra detects and associates attributes based on the context and identifies whose data it is; these are called entities. Example: Jane Doe is an entity for whom LightBeam Spectra might have detected Name and SSN in a monitored data source.

  5. Source of Truth: LightBeam Spectra would have monitored data sources that contain data acting as a single point of truth and that can be used for looking up entities/attributes that help to identify if the other attributes/entities found in any other data source are accurate or not. A Source of Truth data set would create entities based on the attributes found in the data.

  6. Location: The location of the data source.

  7. Purpose: The purpose of the data being collected/processed.

  8. Stage: The stage of the data source. Example: Source, Processing, Archival, etc.

Datasource Configuration

  1. Provide the credentials as shown below and click on Test Connection.

Connection Details

  • Client Id: It refers to the unique identifier assigned to the Azure portal application that is used for integrating LightBeam with the Teams data source. It is generated when you register an application in the Azure portal.

  • Client Secret value: It is a confidential key or password associated with the Azure portal application. It is used to authenticate and authorize the application when accessing Teams resources. The Client Secret value is generated when you create a new client secret in the Azure portal.

  • Tenant Id: It is a unique identifier assigned to the Azure Active Directory (AAD) tenant associated with the organization. It represents the organization's directory or identity store in Azure AD. The Tenant Id is obtained from the Azure portal.

  • Event Hub Name: Name of the Azure EventHub entity. It can be found under Azure EventHub Namespace's entity tab.

  • Event Hub Notification URL: URL of the Azure Vault secret where we stored the Event Hub Notification connection string primary key as value.

  1. Verify that you get the message “Connection Success!”. Click on Next.

  2. In this step, you can choose :

    1. Domain which you want to scan for: This is an optional field where you specify the domain name that you want to scan from total detected domains.

    2. Scan selected members and groups: Email address of members and groups which you want to include or exclude from scanning.

i) Scan all channels.

ii) Scan selected channels

To choose option (i), select Scan all channels, and click on Save.

Under EXCLUSION LIST FOR SCANNING, you can select the channel names you want to exclude from the scan.

To choose option (ii), select Scan selected channels. You can select the channels in the drop-down menu.

Select the inputs by ticking the checkboxes next to them.

  1. Click on Save.

Now, we are ready to browse through the onboarded Teams datasource dashboard.

Note: To get the MS Teams data source details please check Appendix


Appendix

Steps to Generate MS Teams Data Source Credentials

  1. Click on Portal.

  1. Click on the Search box on the Top Navigation bar. Type and search for “App Registrations”.

  2. Click on App Registrations.

  1. Click on New Registration. Add details as shown below and click Register.

  1. Click on Certificates and secrets.

  2. Click on New client secret.

  3. Fill in the client secret details in the Description and Expires fields.

  4. Click on Add.

  1. Copy the Client Secret value and keep it secure for future use as you will not be able to retrieve it later.

Example: x_sWncr4m~.2lFeKlWR1pu3SgT32lg.254

  1. Configure API Permissions.

Click API permissions -> Add a permission -> Microsoft Graph -> Application permissions -> Add following permissions

Then add the following permissions:

Channel.ReadBasic.All
ChannelMember.Read.All
ChannelMessage.Read.All
Chat.ReadBasic.All
Domain.Read.All
Files.Read.All
Sites.Read.All
Team.ReadBasic.All
TeamSettings.Read.All
User.Read
User.Read.All
  1. Once permissions are added, click on Grant admin consent for “Lightbeam.ai.”

Now, your application is ready to register.

NOTE: You should be an admin user to approve the permissions. If you’re not an admin user, take admin access or contact the administrator.


Setting up Azure EventHub service to support Live Sync

To support live sync functionality, LightBeam requires the setup of an Azure EventHub service. Follow the steps below to configure the necessary components:

1. Create Azure EventHub Namespace

  1. Create an Azure EventHub Namespace with the following details and leave the advanced settings at their default values:

  1. Create a Shared Access Policy (ensure that Manage, Send, and Listen permissions are enabled):

2. Create EventHub and Obtain Connection String

  1. Within the EventHub Namespace, create an EventHub entity (Entities -> Event Hubs).

  1. Create a Shared access policies and copy the Connection String–Primary Key, as it will be required later. (ensure that Manage, Send, and Listen permissions are enabled):

3. Set Up Azure Key Vault

  1. Set up an Azure Key Vault (ensure that Vault Access Policy is selected on the Access Configuration tab). Other values can be left as default.

  1. Add two access poliiesy for key vault created.

    1. Policy for the newly registered application (for example: lb-teams) with following permissions.

  1. Add second access policy (Microsoft Graph Change Tracking), For Secret permissions, select Get, and for Select Principal, select Microsoft Graph Change Tracking. Select Add.

  1. Create a secret in the newly created Azure Key Vault (Objects -> Secrets) and set the value to the Connection String–Primary Key copied from the Event Hubs Namespace -> Entities -> Your Azure EventHub Instance -> Shared Access Policy -> Connection string–primary key. Example: Endpoint=sb://<Event Hubs Namespace name>.servicebus.windows.net/;SharedAccessKeyName=access-policy;SharedAccessKey=<generated by Azure>=;EntityPath=<Your Event Hubs Instance name>

4. Obtain Required Parameters

After completing the above steps, you will have all the required parameters to create the MS Teams integration with LightBeam:

EventHub:https://<vault-name>.vault.azure.net/secrets/<secret-name>?tenantId=<tenantId>

For example,

EventHub:https://lb-teams-vault.vault.azure.net/secrets/lightbeam-ms-teams-secret?tenantId=a7dd034e-dc1d-47d8-acfc-b933dd12fc3f/

Note: Upon opening EventHub, you will be directed to the EventHub Namespace overview page rather than the EventHub-specific overview. To access the EventHub's dedicated overview page, please follow these steps: Click on "EventHub" in the left sidebar and subsequently select the desired Event Hub Name.

5. IP Whitelisting in Restricted Environments

To set up IP whitelisting in a restricted environment, consult the following Microsoft documentation links for the respective services:

Success Tip: We recommend creating a dedicated Azure portal application specifically for integrating LightBeam with the MS Teams data source. This application should be exclusively used for this purpose and not shared or repurposed for any other clients or applications. By doing so, you ensure secure and efficient access control, as well as maintain proper management of the LightBeam-Teams connection.


About LightBeam

LightBeam automates Privacy, Security, and AI Governance, so businesses can accelerate their growth in new markets. Leveraging generative AI, LightBeam has rapidly gained customers’ trust by pioneering a unique privacy-centric and automation-first approach to security. Unlike siloed solutions, LightBeam ties together sensitive data cataloging, control, and compliance across structured and unstructured data applications providing 360-visibility, redaction, self-service DSRs, and automated ROPA reporting ensuring ultimate protection against ransomware and accidental exposures while meeting data privacy obligations efficiently. LightBeam is on a mission to create a secure privacy-first world helping customers automate compliance against a patchwork of existing and emerging regulations.

Log in to

Figure 6. Microsoft Azure Portal
Figure 7. Click on App Registrations

Client ID: Obtain from the application overview page. Client Secret value: Obtain from the application overview page. Tenant ID: Obtain from the application overview page. Event Hub Name: Obtain from the name from Event Hubs Namespace -> Entities -> Name of the Event Hubs Instance created for LightBeam. Event Hub Notification URL: Create using the vault URL with the following structure:

Microsoft Graph:

Microsoft Azure Active Directory:

Microsoft 365 and Office 365 IP Address Ranges:

Azure Key Vault:

For any questions or suggestions, please get in touch with us at: .

🧠
🔦
🔗
✔️
✔️
✔️
✔️
✔️
https://azure.microsoft.com/en-gb/
https://graph.microsoft.com/*
https://login.microsoftonline.com/.onmicrosoft.com/*
https://learn.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide#skype-for-business-online-and-microsoft-teams
https://learn.microsoft.com/en-us/azure/key-vault/general/access-behind-firewall
support@lightbeam.ai
Figure 2. Search for Teams
Figure 2.1 Teams
Figure 3. LightBeam Teams - Basic Information
Figure 4. LightBeam Teams - Test Connection
Figure 5. LightBeam Teams - Scan Settings
Figure 5.1 LightBeam Teams - Scan Settings
Figure 5.2 LightBeam Teams - Scan Settings
Figure 8. Register an Application
Figure 9. Add a client secret
Figure 10. Client secret ID
Figure 11. API permissions
Figure 11. API permissions
Figure 12. Create Azure Eventhub Namespace
Figure 13. Create shared access policies
Create Event Hub within Event Hub namespace
Connection string of Event Hub
Figure 14. Set up Azure Key-vault
Figure 15. Select Vault Access policy
Figure 16.1. Add access policies
Figure 16.2. Permissions for registered applications
Figure 16.3. Select registered application (example: ln-teams)
Figure 16.4. From Secret permissions, select Get
Figure 16.5. Select Microsoft Graph Change Tracking
Figure 16.6. You should be able to see above Microsoft Graph Change Tracking
Figure 17. Create a secret in Azure Key-secret
Figure 18. Create EventHub notification URI