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
Close
Hashes for al_microsoft_teams-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f255f210cbdc22fb18ffce1fe43568770d25d4c151bf5fac772f747e56c023e8 |
|
MD5 | 3e4831e0167f715d3a3ea680eee95cb6 |
|
BLAKE2b-256 | df989f2889739871f5e01ba5341a0dbe3206e07d57865dbc9bf2a667902db6f4 |