简体   繁体   中英

Different with Microsoft Azure AD Module PowerShell and Microsoft Azure Powershell

I try run command Set-MsolDomainAuthentication with Microsoft Azure Active Directory Module for Windows PowerShell. But i get exception, when try connect to my azure account( connect-msolservice ). I type email and password, then i get: 在此处输入图片说明

I try find solution in Google, Azure Support but everything what i find is useless.

On my system, I have an application which is called Microsoft Azure PowerShell link . In this app, i can connect with my azure account, through command Add-AzureAccount . But this time, i don't find analogue to Set-MsolDomainAuthentication .

This command exists in Azure PowerShell? I can change Azure AD other way, like command Set-MsolDomainAuthentication ? Maybe Azure Admin Panel? Or GraphApi ?

I had a similar issue with Powershell. This exception i getting when I try logging credential from account MicrosoftLive. Powershell required account in your domain.

So: Create a new user in a azure domain in role GlobalAdmin, change password this user, by logging in Office365, enter the PowerShell Credential this user.

Good luck.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM