Oct 16 2018 03:31 AM
Dear All,
I am facing one of a weird issue while connecting Azure AD using Connect-MSolservice. Attaching the PowerShell log for your reference.
Please let me know if anyone else has faced a similar issue.
Thank you,
Rahul
Oct 16 2018 11:06 AM
You seem to have issues reaching the relevant endpoint (https://provisioningapi.microsoftonline.com/provisioningwebservice.svc ), so make sure your proxy/firewall is not blocking the connection.
Oct 17 2018 10:47 PM
Thank you, Vasil!
Well! To check if anything blocking the HTTP traffic, I tried to log in using office 365 services using IE and it's working fine.
I will try to remove and reinstall MSOnline module and try again.
-- Rahul
Oct 18 2018 12:28 AM
Thank you!
I finally figured out the issue. I checked the log again and find below error message --
System.Net.WebException - The remote server returned an error: (407) Proxy Authentication Required.
Proxy was rejecting the PowerShell Web request. The issue got fixed after setting the proxy using below commands
1. netsh winhttp show proxy
Check the current proxy setting
netsh winhttp import proxy source=ie
Set the IE as a source for proxy
-- Rahul
Feb 26 2019 09:39 PM
This fixed mine
Really stupid issue, having to force TLS 1.2
Feb 27 2019 09:01 AM
Thanks for sharing this tip.
Feb 27 2019 07:49 PM
It worries me putting in a reg key like that, as what happens oneday when something else changes and this 'custom fix' breaks something new. As built doco reflects this for us now to reference, but this seems unworkable from microsoft on a large scale.
Feb 28 2019 03:39 AM - edited Feb 28 2019 03:52 AM
I understand your concern; hence, the importance of documenting changes.
A system as large and complex as Windows will never be perfect.
So, hand-jammed tweaks to settings may be required to get a system / component to work ...again... until a permanent solution is incorporated.
Still a pain nonetheless.
Jan 08 2024 12:32 AM