python-o365 icon indicating copy to clipboard operation
python-o365 copied to clipboard

Graph resource not found

Open axornam opened this issue 2 years ago • 1 comments

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.

axornam avatar Apr 15 '23 07:04 axornam

See https://github.com/O365/python-o365#authentication

alejcas avatar Apr 28 '23 11:04 alejcas