outlookoffice365office365apioutlook-restapimailing-list

Create a mailing distribution group by outlook office365 API REST


I have been struggling myself last two weeks trying to create a mailing distribution group implementing Office365 API REST, the thing is that I am developing an integration to a interactive agent and I am working over the platform of a company, I am not allowed to make some coding. So, basically I need to figure it out with my account of Office 365 and potential APIs REST requests (endpoints, parameters, etc).
 
 
 I have found interesting endpoints  (just required to be logged on) as:
 
 account personal info:

https://outlook.office365.com/api/v1.0/me

account received messages: https://outlook.office365.com/api/v1.0/me/messages

account contacts: https://outlook.office365.com/api/v1.0/me/contacts
 
 And I have already created an application at: apps.dev.microsoft.com trying to obtain azure credentials and tokens for OAuth in case I need them to access outlook info
 
 I don't really know if I need to be logged on with tokens besides, my outlook log-in and furthermore no idea on how create a mailing distribution list.
 
 
 Thank's in advance for all the support.


Solution

  • Distribution groups are not recommended any more.

    You could use Office 365 groups. The office 365 Group will works as a conventional Distribution List. Email will received by all the Group members which send to this email address.

    As of today the only way to manage the “ Distribution Lists ” is to use Office 365 Groups.

    Reference from:

    Managing Distribution Groups via REST API