mattmcnabb / O365ServiceCommunications

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

The service is unavailable #9

Closed vandreytrindade closed 4 years ago

vandreytrindade commented 6 years ago

PS C:> New-SCSession -Credential $Cred Invoke-RestMethod : The service is unavailable. No C:\Program Files\WindowsPowerShell\Modules\O365ServiceCommunications\1.5.12\functions\New-SCSession.ps1:60 caractere:22

mattmcnabb commented 5 years ago

Found the same to be true today:

image

reaching out to see if I can find out more.

vandreytrindade commented 5 years ago

It's working again!

mattmcnabb commented 5 years ago

@vandreytrindade can you confirm it's still working? I'm unable to reach the endpoints.

vandreytrindade commented 5 years ago

@mattmcnabb Hi! Yes, it is still working:

$Session = New-SCSession -Credential $Cred $Session UserName Cookie
vandrey@domain IFYftmE55qBafZGkJlN2wvwm2P6eKTs8AT2Q9....

mattmcnabb commented 5 years ago

Weird, I'm able to use it again today! Thanks for letting me know!

vandreytrindade commented 5 years ago

np! =]

mattmcnabb commented 4 years ago

@vandreytrindade Have you checked on this again? It appears to be working for me.

Here's a really strange notion - this same thing has happened every fall since I published this module! I'm guessing it has something to do with certificate expiration or DNS. Back in 2017 when it happened the first time someone from MS clued me in to a different hostname that worked temporarily for the API, and then it was fixed shortly thereafter.

vandreytrindade commented 4 years ago

@mattmcnabb Hi! I've just checked and it's really working again. Thanks for the heads-up.