python-o365
python-o365 copied to clipboard
Graph resource not found
Hi,
I am trying to send am email using o365, I have been able to authenticate with the credentials of a registered application on azure, but when I try to send an email I am met with "https://graph.microsoft.com/v1.0/sendMail: resource not found." When I have "/me", before sendMail it works but tell me the authentication flow required needs to be a delegated authentication. But a delegated authentication flow will require poping up a window to login and that's not what I'm trying to implement. Is there something I am missing or this generally not supported.
See https://github.com/O365/python-o365#authentication