Skip to main content

A Python wrapper to send messages to Microsoft Teams.

Project description

Microsoft Teams Notifier

A Python wrapper to send messages to a Microsoft Teams channel using Graph API and ROPC flow.

Prerequisites

  • App registered in Azure AD

    • The app needs the following permissions to the Microsoft Graph API:
      • ChannelMessage.Send
      • Group.ReadWrite.All
  • User that will be used to send out the message

    • No MFA (including security defaults, unless conditional access is applied)
    • No permissions needed
    • Teams license
  • AWS Secrets Manager secret with the following info:

    • tenantid - EXPLAIN WHAT THIS IS / WHERE TO GET
    • clientid -
    • secret -
    • secretid -
    • username - This will be the microsoft login name or microsoft entra ID
    • password - This is the password for your microsoft

add python file for universal use

How to use Microsoft teams notifier

  1. Create a dir (mkdir folder name)
  2. Go into the folder created above (cd folder name)
  3. Download Microsoft teams notifier into the folder created above (pip install --target . al-microsoft-teams)

Lambda permissions needed:

  • secretsmanager:GetSecretValue

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

al-microsoft-teams-1.0.5.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

al_microsoft_teams-1.0.5-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page