Share via

Using Graph API trying to update/create contacts as guest of the external domain to add them into Distribution lists

Singamsetti, Phanindra 1 Reputation point
2022-10-25T15:19:21.787+00:00

Hi,

How to create a external domain email as a guest user/ adding contacts into the office 365 for our distribution list purpose. Any suggestions using Graph API.

Right now I'm using Powershell automation to do this. After Microsoft updating the Oauth I need to do the changes according to that.

Let me know if anyone has the suggestions for it.

Thank you,
Phani.

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Vasil Michev 126.9K Reputation points MVP Volunteer Moderator
    2022-10-25T15:27:44.713+00:00

    Distribution groups cannot be managed via Graph, keep using Exchange Online PowerShell instead. You can automate it by using certificate-based auth, as detailed here: https://learn.microsoft.com/en-us/powershell/exchange/app-only-auth-powershell-v2?view=exchange-ps

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.