1

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:enter image description here

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 PowerShelllink. 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?

2
  • Did you install the MSOL Sign-in Assistant when you installed the Azure AD PowerShell module? Commented Sep 21, 2015 at 19:17
  • @BenV Yes, Azure AD PoweShell Module installation required this apps. Commented Sep 21, 2015 at 19:46

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.