...
By now, you should have collected the following IDs and secrets:
Placeholder | Description / source |
---|---|
| See above |
| See above |
| See above |
| See above |
| The name (= primary email address) of the mailbox in question. |
Windows PowerShell
Now, open Windows PowerShell and install the necessary modules:
...
Edit your cmsbs-conf/cmsbs.properties
(or cmsbs-conf/conf.d/*.properties
) and add the following settings. Remember to substitute all contained placeholders.
Codeblock |
---|
cmsbs.startbounce = true
cmsbs.mail.imap.server = outlook.office365.com
cmsbs.mail.imap.port = 993
cmsbs.mail.imap.ssl = true
cmsbs.mail.imap.user = <mailbox_name>
cmsbs.mail.imap.authenticationMethod = oauth2
cmsbs.mail.imap.oauth2.accessTokenUri = https://login.microsoftonline.com/<tenant_id>/oauth2/v2.0/token
cmsbs.mail.imap.oauth2.clientId = <client_id>
cmsbs.mail.imap.oauth2.clientSecret = <client_secret>
cmsbs.mail.imap.oauth2.scope = https://outlook.office.com/.default
cmsbs.mail.imap.oauth2.grantType = client_credentials
cmsbs.mail.imap.oauth2.debug = true |
Hinweis |
---|
Please keep in mind that the Client secret you created earlier has an expiration date. Your will have to create a new one and change your UM configuration accordingly at some point in the feature. |
...