Office 365 Notification (via Email) Support #229
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Related issue (if applicable): #225
Syntax:
o365://{tenant}:{account_email}/{client_id}/{client_secret}/
o365://{tenant}:{account_email}/{client_id}/{client_secret}/{targets}
Notes:
targets
are specified, then the notification is just sent to the address identified by{account_email}
client_secret
contains a lot of characters that can drastically conflict with standard URL rules (and thus Apprise might have difficulty detecting your client secret). The?
and@
characters can get generated by Microsoft and will almost definitely cause you issues.client secret
before putting it into your Apprise URL. Encoding the URL can be as simple as just pasting it into the form on this website.?
with%3F
@
with%40
Tenant ID, Client ID, and Secret ID Acquisition
You will need to have a valid Microsoft Personal Account AND you will require Administrative access unfortunately (to access the Mail.Send Application Permission). More details can be found here about registering your app with Azure.
But basically it amounts to:
tenant
) ID and the Application (`client_id') you will need.client_secret
, go to Active Directory -> Certificate & Tokens -> New client secretclient_secret
is an auto-generated string which may have@
and/or?
character(s) in it. You will need to encode these characters to when pasting this into your Apprise URL. See the note section above for more details on how to do this.https://login.microsoftonline.com/common/oauth2/nativeclient
https://login.microsoftonline.com/common/oauth2/nativeclient
New Service Completion Status
keywords
section of thesetup()
declaration%global common_description
Checklist
flake8
)