junecastillote/Ms365UsageReport

Error sending email

rdufre opened this issue · 0 comments

There may be an issue with the URI. Not sure. But when I try to email the report, I get the following error:

05/22/2024 10:41:21 : System.Net.WebException: The remote server returned an error: (404) Not Found.
at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()

The App has
Reports.Read.All
Directory.Read.All
Mail.Send

So, I'm not sure why it's erroring out.