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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file al-microsoft-teams-1.0.5.tar.gz.

File metadata

  • Download URL: al-microsoft-teams-1.0.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for al-microsoft-teams-1.0.5.tar.gz
Algorithm Hash digest
SHA256 574a1d8df095abff7db2b4535945d761027b06db3579d75820fb68340f8737e1
MD5 b02b33d7252402b5eb1b3afca929b64c
BLAKE2b-256 00e3d1fbeac6703e8be91cf72ee40bf6abae8130b5a1a0a920e10a1ac5f8dc6c

See more details on using hashes here.

File details

Details for the file al_microsoft_teams-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for al_microsoft_teams-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f255f210cbdc22fb18ffce1fe43568770d25d4c151bf5fac772f747e56c023e8
MD5 3e4831e0167f715d3a3ea680eee95cb6
BLAKE2b-256 df989f2889739871f5e01ba5341a0dbe3206e07d57865dbc9bf2a667902db6f4

See more details on using hashes here.

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