-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connects to the Office 365 Service Communications API #14
Comments
@VinceRibs Are you still having this issue? I've seen this occasionally over the last few years and it always seems to be transient. |
Hello |
I can only assume that the original API has finally been deprecated as expected in #2. I am now making time to create a V2 of this module, so please bear with me as I get this done. I hope to have a preview version of this done soon. Thanks! |
@VinceRibs I have just release an alpha of the module that supports the V2 API. Please run |
I was getting the below error when running the command Install-Module O365ServiceCommunications -AllowPrerelease Running the below commands resolved the AllowPrerelease issue
|
@ahamin01 yes, that would be expected as new PowerShell Gallery features (prerelease versions) require the latest PowerShellGet module. |
Hi Team, I have downloaded alpha version of module and Connect-O365Communications cmdlet not populating. And i have tried New-SCSession but it's giving error. Any suggestions would be appreciated. |
@KarunaPrasad |
@mattmcnabb , i have found that older version of O365ServiceCommunications (1.5) also installed side-by-side. I have uninstalled old version and installed Alpha version. Now it's working. Thank you. |
I was able to connected but when i run the Cmdlets Get-SCService or Get-SCMessage getting below error.: Invoke-RestMethod : 404 - File or directory not found. |
Welp! It looks like v2.0 of the API is now deprecated as well! This has now been integrated into the Microsoft Graph API, and as such will have a different base URI and possibly other changes as well. It may take some time for me to look through this and get a new beta to a workable state. |
Okay. Thank you @mattmcnabb |
@KarunaPrasad This project appears to be superseded by the Microsoft Graph PowerShell SDK found here. In particular, look for the module "Microsoft.Graph.Devices.ServiceAnnouncement" and you'll be able to retrieve the information you need: |
Thank you @mattmcnabb |
Hello,
I have the following error while connecting to the Office 365 Service Communications API.
It looks like https://api.admin.microsoftonline.com/shdtenantcommunications.svc is not responding anymore for a couple of weeks. Am I correct ?
`PS C:\Sources\O365ServiceCommunications> $MySession = New-SCSession -Credential $Cred
Invoke-RestMethod : Unable to connect to the remote server
At C:\Sources\O365ServiceCommunications\O365ServiceCommunications\functions\New-SCSession.ps1:60 char:22
InnerException message is "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 65.52.192.98:443"
The text was updated successfully, but these errors were encountered: