Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
895 views
in Technique[技术] by (71.8m points)

powershell - Connect-MsolService blank screen

I want to setup SSO between GSuite (as Identitiy provider "IdP") and Microsoft 365. When I want to connect to Microsoft 365 through powershell, I use the following command:

Install-Module MSOnline
Import-Module MSOnline
$msolCred = get-credential
Connect-MsolService -credential $msolCred

When I run the last command, I'll receive the following empty Microsoft login screen:

enter image description here

I thought maybe it's because of onedrive and other windows 10 services, I have logged out everywhere but still doesn't work. If someone can guide me, it would be great.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I have solved the problem by decreasing security of internet options (from control panel) from high to medium.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...