Graph API query for Distribution List Group creation

%3CLINGO-SUB%20id%3D%22lingo-sub-150774%22%20slang%3D%22en-US%22%3EGraph%20API%20query%20for%20Distribution%20List%20Group%20creation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150774%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Team%2C%3C%2FP%3E%0A%3CP%3EWe%20could%20not%20find%20a%20suitable%20Graph%20API%2FRest%20API%20to%20create%20DL%20creation.%20Could%20you%20please%20help%20us%20on%20this%3F%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EKamalakar%20K%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-150774%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20Apps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-297098%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%20query%20for%20Distribution%20List%20Group%20creation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-297098%22%20slang%3D%22en-US%22%3E%3CP%3EStill%20you%20can%20automate%20Powershell%20with%20.Net%20as%20well.%20Say%2C%20if%20i%20want%20to%20do%20with%20Exchange%20Powershell%20%2B%20.Net%2C%20then%20i%20would%20start%20it%20from%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fexchange%2F2009%2F11%2F02%2Fprogrammatic-access-via-remote-powershell-in-exchange-server-2010%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-189316%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%20query%20for%20Distribution%20List%20Group%20creation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-189316%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20it%20clearly%20gets%20the%20job%20done%2C%20why%20not%3F%20If%20anything%2C%20ExO%20PowerShell%20is%20way%20more%20mature%20compared%20to%20the%20Graph%20API.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-189276%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%20query%20for%20Distribution%20List%20Group%20creation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-189276%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3EWhat's%20wrong%20with%20using%20Exchange%20Online%20PowerShell%3F%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CBR%20%2F%3EIf%20you're%20in%20an%20%22API%22%20kind%20of%20environment%20and%20mindset%2C%20do%20you%20really%20want%20to%20be%20calling%20out%20to%20Powershell%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-151334%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%20query%20for%20Distribution%20List%20Group%20creation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-151334%22%20slang%3D%22en-US%22%3E%3CP%3EWhat's%20wrong%20with%20using%20Exchange%20Online%20PowerShell%3F%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-151189%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%20query%20for%20Distribution%20List%20Group%20creation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-151189%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Vasil%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20quick%20response.%26nbsp%3BIs%20there%20any%20other%20way%20we%20can%20automate%20this%20without%20using%20exchange%20tools%20as%20we%20are%20not%20using%20any%20exchange%20server%20and%20our%20environment%20is%20cloud%20only.%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EKamalakar%20K%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150881%22%20slang%3D%22en-US%22%3ERe%3A%20Graph%20API%20query%20for%20Distribution%20List%20Group%20creation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150881%22%20slang%3D%22en-US%22%3E%3CP%3EDistribution%20groups%20are%20governed%20via%20the%20Exchange%20tools%2C%20they%20are%20not%20currently%20supported%20via%20the%20Graph%20API.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello Team,

We could not find a suitable Graph API/Rest API to create DL creation. Could you please help us on this?

Regards,

Kamalakar K

6 Replies
Highlighted

Distribution groups are governed via the Exchange tools, they are not currently supported via the Graph API.

Highlighted

Hey Vasil,

 

Thank you for quick response. Is there any other way we can automate this without using exchange tools as we are not using any exchange server and our environment is cloud only.

Regards,

Kamalakar K

Highlighted

What's wrong with using Exchange Online PowerShell? :)

Highlighted

 


@Vasil Michev wrote:

What's wrong with using Exchange Online PowerShell? :)



If you're in an "API" kind of environment and mindset, do you really want to be calling out to Powershell?  

Highlighted

When it clearly gets the job done, why not? If anything, ExO PowerShell is way more mature compared to the Graph API.

Highlighted

Still you can automate Powershell with .Net as well. Say, if i want to do with Exchange Powershell + .Net, then i would start it from here