SOLVED

Add team member without email via graph api

Copper Contributor

Hi,
I´m adding member to a team using the graph API but I don't want the email to be sent to the member.
Is there anyway to do this?


HTTP:

 

POST https://graph.microsoft.com/v1.0/groups/{group-id}/members/$ref
Content-type: application/json
Content-length: 30

{
  "@odata.id": "https://graph.microsoft.com/v1.0/directoryObjects/{id}"
}

 

1 Reply
best response confirmed by ThereseSolimeno (Microsoft)
Solution

That's a group-wide setting, I'm not sure whether you can control it per user. Best turn it off for the group (UnifiedGroupWelcomeMessageEnabled parameter).

1 best response

Accepted Solutions
best response confirmed by ThereseSolimeno (Microsoft)
Solution

That's a group-wide setting, I'm not sure whether you can control it per user. Best turn it off for the group (UnifiedGroupWelcomeMessageEnabled parameter).

View solution in original post