[Microsoft graph] Add safe sender

[Microsoft graph] Add safe sender



 Feb 27 2022

I have users reporting that some email replies are sent to their junk folder incorrectly and they have missed important communication. It would be nice to have a way to add safe senders/acceptedSender from the Microsoft graph client automatically. We have a contact list that we expect replies from. Unfortunately not all can be added manually as we run email campaigns. However, when we know one email is successfully delivered, if its possible to add that to a users safe sender list from microsoft graph that would be great to avoid incorrect JUNK filters. I have looked at acceptedSender on https://docs.microsoft.com/en-us/graph/api/group-post-acceptedsenders?view=graph-rest-1.0&tabs=csharp. But the documention guide is incomplete. not possible to get group id of a user. If there is a workaround to this, happy to try that. Otherwise, would like this feature available on microsoft graph. Right now, I have implemented a solution to add those delivered email as a contact in the users account using the graph. However, this seems like patch work and may fail in the future.