mattmcnabb / O365ServiceCommunications

A Powershell module for monitoringOffice 365 Service Health!
25 stars 6 forks source link

PastDays #10

Closed greenrya closed 5 years ago

greenrya commented 6 years ago

For some reason the -PastDays 1 parameter does not appear to be working for me. I am using your EmailAlert sample works great but the PastDays does not seam to function.

mattmcnabb commented 5 years ago

That's odd! It's possible that there is an issue with the API parameter for this. Just for my sake, what OS and version of PowerShell are you using this with?

greenrya commented 5 years ago

Getting this error now, nothing has changed on my side:

Invoke-RestMethod : The service is unavailable. At C:\Program Files\WindowsPowerShell\Modules\O365ServiceCommunications\1.5.12\functions\New-SCSession.ps1:60 char:22

On Sat, Sep 15, 2018 at 12:57 PM Matt McNabb notifications@github.com<mailto:notifications@github.com> wrote:

That's odd! It's possible that there is an issue with the API parameter for this. Just for my sake, what OS and version of PowerShell are you using this with?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mattmcnabb/O365ServiceCommunications/issues/10#issuecomment-421607860, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQ8r41nsj_5GlilpGRUdWW4M9tV1Hvrvks5ubT94gaJpZM4V4zGa.

mattmcnabb commented 5 years ago

I'm seeing the same thing:

image

It's possible the service is experiencing some issues. I'll see if I can find out what's going on.

greenrya commented 5 years ago

Been that way since yesterday :-) I really hopr it comes back. Let me know what you find.

On Mon, Sep 17, 2018 at 10:41 AM Matt McNabb notifications@github.com<mailto:notifications@github.com> wrote:

I'm seeing the same thing:

[image]https://user-images.githubusercontent.com/6998507/45633489-e28ea180-ba6d-11e8-98fd-252b06dc6390.png

It's possible the service is experiencing some issues. I'll see if I can find out what's going on.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mattmcnabb/O365ServiceCommunications/issues/10#issuecomment-422065248, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQ8r4wH02Dt3xQD9d5UWq82-z8k8aiizks5ub8KfgaJpZM4V4zGa.

mattmcnabb commented 5 years ago

Please see #8 - I believe that the original Service Communications API has finally been deprecated. I'll have to look at the effort required to implement this module with the newer API. This was documented in issue #2, but I haven't followed up on it yet. I'm going to merge all these issue together in favor of that one.