Comments (8)
I've moved this to a proper repository. Just tested on 7.0, 5.1, and 6.2.3 and it seems to work fine here.
from pswindocumentation.o365healthservice.
But to be honest I've got a similar report few days ago over the email
Which looks exactly like yours.
from pswindocumentation.o365healthservice.
Maybe this:
If you have gotten the "Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send." error while using PowerShell then add the line below to your script.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
PowerShell calls uses TLS 1.0 for web requests by default. However, Exchange is expecting a higher level of TLS, so you need to tell PowerShell to use 1.2 instead of the default of TLS 1.0.
Below are links for additional information:
- An Update on Office 365 Requiring TLS 1.2
https://blogs.technet.microsoft.com/exchange/2018/02/09/an-update-on-office-365-requiring-tls-1-2/ - Preparing to use TLS 1.2 in Office 365
https://support.microsoft.com/en-us/help/4057306/preparing-for-tls-1-2-in-office-365
from pswindocumentation.o365healthservice.
Have you enforced TLS 1.2 recently? Can you verify this?
from pswindocumentation.o365healthservice.
Perfect !!!
I Add
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
and now it's ok !
from pswindocumentation.o365healthservice.
Ok, I'll add it to the code and publish a new version. Sorry for the inconvenience.
from pswindocumentation.o365healthservice.
There was no inconvenience ;). I appreciate your excellent work in making this module.
from pswindocumentation.o365healthservice.
Please test the new version. Update-Module ... and then restart PS and let me know. Thank you!
from pswindocumentation.o365healthservice.
Related Issues (13)
- 4o1 unauthorized HOT 1
- Get-CimInstance : The specified service does not exist as an installed service. HOT 5
- StartTime & EndTime are missing HOT 5
- WARNING: ConvertFrom-UTCTime HOT 1
- ConvertFrom-UTCTime - couldn't convert time. [...] Thursday, January 26, 2023 by 1:30 AM UTC. HOT 3
- Parse exception: String '10/23/2023 07:00:00' was not recognized as a valid DateTime (v1.0.4) HOT 1
- DateTime issue HOT 15
- Error: The remote server returned an error: (400) Bad Request HOT 13
- "Extended" misspelled HOT 2
- Line 301 still has an "Exteneded" variable HOT 2
- DataTable warning: table id=DT-FelhGYkd HOT 1
- WARNING: Get-Office365ServiceHealthMessages - Error: The remote server returned an error: (403) Forbidden. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pswindocumentation.o365healthservice.