question

ARAVINDSV-8755 avatar image
0 Votes"
ARAVINDSV-8755 asked JamesTran-MSFT edited

connecting to Azure AD from PowerShell by using command Connect-MSOlService. But getting a error unable to sigin using personal mail

I am a beginner to Azure cloud. I am learning but taking a free tier of Azure.

While connecting to Azure AD from PowerShell by using command Connect-MSOlService. But getting a error unable to sigin using personal mail

i am using mail id as **@live.com

please help me

azure-active-directorywindows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlanKinane avatar image
0 Votes"
AlanKinane answered AlanKinane commented

This is quite an old module command used to connect to Azure AD (Microsoft tenant) so you would need a work or school account authorised for that tenant. You can't connect using a personal account like @live.com or @outlook.com.

Try using the below command instead:

 Connect-AzureAD

https://docs.microsoft.com/en-us/powershell/module/azuread/connect-azuread?view=azureadps-2.0

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

So i created my azure free tier using my personal mail id like *live.com. So how can i use another mail

0 Votes 0 ·

Try connecting with Connect-AzureAD - see link in my previous comment. This supports personal accounts.

0 Votes 0 ·
StoyanChalakov avatar image
0 Votes"
StoyanChalakov answered StoyanChalakov edited

Hey @ARAVINDSV-8755,

can you please paste the exact error message here, so that we give you a more accurate advice?
You should actually use another cmddlet as "connect-msolservice" opnly allows the usage of work or school accounts.
Can you please also verify what role your account is member of?

Thanks in advance!


(If the reply was helpful please don't forget to upvote and/or **accept as answe**r, thank you)

Regards
Stoyan Chalakov


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.