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
-
- 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
- Create a dir (mkdir folder name)
- Go into the folder created above (cd folder name)
- Download Microsoft teams notifier into the folder created above (pip install --target . al-microsoft-teams)
Lambda permissions needed:
- secretsmanager:GetSecretValue
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 574a1d8df095abff7db2b4535945d761027b06db3579d75820fb68340f8737e1 |
|
MD5 | b02b33d7252402b5eb1b3afca929b64c |
|
BLAKE2b-256 | 00e3d1fbeac6703e8be91cf72ee40bf6abae8130b5a1a0a920e10a1ac5f8dc6c |
File details
Details for the file al_microsoft_teams-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: al_microsoft_teams-1.0.5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f255f210cbdc22fb18ffce1fe43568770d25d4c151bf5fac772f747e56c023e8 |
|
MD5 | 3e4831e0167f715d3a3ea680eee95cb6 |
|
BLAKE2b-256 | df989f2889739871f5e01ba5341a0dbe3206e07d57865dbc9bf2a667902db6f4 |