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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dbc049c060f8bb126fa6f3af13b2619967947ffaf2d370914db5f6732178e82 |
|
MD5 | 6a26b5fe13b85c130b2e01858913dd81 |
|
BLAKE2b-256 | fa83de79af58d48fd3e6e8e60471d0a954eaa924041fa821d3b0a873a3bdd94f |