Email connection using MS Graph API
4 min
overview servicely supports both inbound/outbound email connectivity with microsoft hosted email inboxes, using microsoft's graph api configuration entra on entra's side, an app registration is to be created for this with the following api application type permissions also set a new client secret for the app registration and keep a temporary copy for the servicely configuration below it is recommended to setup application access policy to scope the api permission above, only to the inbox(es) servicely needs to read from/send as you may refer to microsoft's documentation such as https //learn microsoft com/en us/graph/auth limit mailbox access https //learn microsoft com/en us/graph/auth limit mailbox access servicely once the app registration on entra is set up, you can configure a new messaging account record field name description example value name meaningful name for the configuration \[prod] email via graph provider channel type email type communication mean, set to "microsoft graph api (inbound/outbound email) microsoft graph api (inbound/outbound email) active set to yes to activate yes username email address servicely is to use someemailaddress\@somecompanyname com tenant id tenant id of your entra zz8933c6 cfb2 4zz9 afc9 021abc1dea0z app secret client secret from the entra app registration setup client id application (client) id of the entra app registration zyxa9be7 5501 4ff6 82c5 aa09d9a23a14 once the messaging account is configured, you can clicked on "test" button to test the connection if the mailbox you are connecting to is newly created, you may need to wait several hours to ensure propagation in the microsoft infrastructure