Based on Microsoft Graph REST API ( for more info see : https://docs.microsoft.com/en-us/graph/api/resources/message?view=graph-rest-1.0).

Microsoft Graph Application Registration#


It requires Microsoft Graph Application registration. Start at the Microsoft Azure portal:
https://azure.microsoft.com/en-us/features/azure-portal/

Application registration: Go to the App registrations and click on New registration:

attachments

Name it. Select the Multitenant and personal Microsoft accounts type. The redirect URL must end with "register_microsoft_graph_api/". Then click on register.

attachments

Under the redirect URL configuration enable the Access Token to be issued by the authorization endpoint:

attachments

attachments

API permissions :

MicrosoftMails task support OAuth 2.0 client credential grant. It requests permissions from a directory admin. Go to the API permission. Click on Add permission, and select Microsoft Graph. Choose "Application permissions".

attachments
attachments
attachments
attachments

To grant permission for CrushFTP click on the "Get Admin consent" button. Make sure your Webinterface host and port match with the host and port specified in the App registration's redirect URL.

attachments
attachments


You need to log in with an admin account and grant permissions for your CrushFTP. Any changes on Azure App Registration -> API permissions require new admin consent.

Settings
#


attachments

Client ID, Client Secret, Tenant: Authentication-related setting. Azure App registration -> Overview.
Folder: Supports subfolders too like Folder/Subbolder/SubSubFolder
Search query: Search settings for messages. See https://docs.microsoft.com/en-us/graph/query-parameters#search-parameter.
After processing copy message to this mailbox: Supports subfolders too.

Variable patterns:

Message-related variables:

{mail_id}, {mail_createdDateTime}, {mail_lastModifiedDateTime}, {mail_hangeKey}, {mail_sentDateTime}, {mail_receivedDateTime}, {mail_hasAttachments}, {mail_internetMessageId}, {mail_subject}, {mail_body_content}, {mail_body_type}, {mail_importance}, {mail_parentFolderId}, {mail_conversationId}, {mail_isRead}, {mail_isDraft}, {mail_sender}, {mail_from} , {mail_to}, {mail_cc}, {mail_bcc}, {mail_reply_to}


Attachment-related variables:
{id}, {contentType}, {size}, {name}, {lastModifiedDateTime}

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
admin_consent.png 84.1 kB 1 02-Jun-2021 14:25 krivacsz
png
client_id.png 93.3 kB 1 02-Jun-2021 14:28 krivacsz
png
mail_task.png 186.3 kB 1 02-Jun-2021 14:38 krivacsz
png
new_registration.png 86.9 kB 1 02-Jun-2021 12:26 krivacsz
png
permission_app_permissions.png 59.4 kB 3 02-Jun-2021 13:07 krivacsz
png
permission_microsoft_graph.png 182.9 kB 1 02-Jun-2021 12:58 krivacsz
png
permission_user.png 83.1 kB 1 02-Jun-2021 13:12 krivacsz
png
permissions_mail.png 83.2 kB 1 02-Jun-2021 13:12 krivacsz
png
register_app.png 230.6 kB 1 02-Jun-2021 12:27 krivacsz
« This page (revision-45) was last changed on 12-Feb-2024 13:25 by krivacsz
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki v2.8.2