EXO UnAuthorized

Janakar 1 Reputation point
2023-04-28T11:51:58.9166667+00:00

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.
4,520 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.
544 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 105.7K Reputation points MVP
    2023-04-28T16:11:22.6233333+00:00

    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,856 Reputation points Microsoft Vendor
    2023-05-01T08:51:19.0133333+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.