EXO UnAuthorized

Janakar 1 Reputation point

Tenant: with only Azure Free subscription.

Cmdlet: Connect-ExchangeOnline

User Account Priviledge: Global Administrator

Error: UnAuthorized

Kindly assist.

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
3,895 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
470 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 85,646 Reputation points MVP

    Does your tenant have Exchange Online subscription? This is a requirement for using Exchange Online PowerShell.

    Can you connect to the Exchange Admin center with the same user?

    0 comments No comments

  2. Aholic Liang-MSFT 13,641 Reputation points Microsoft Vendor

    Hi @ Janakar,

    As Michev says, you need to have Exchange Online subscription.

    If you can successfully access the Exchange admin center, can you share the complete error when running the connect-exchangeOnline command with us after hiding your personal information? So that we can better research.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments