Share via

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.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Exchange | Exchange Server | Development
0 comments No comments

2 answers

Sort by: Most helpful
  1. Aholic Liang-MSFT 13,926 Reputation points Microsoft External Staff
    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.

    Was this answer helpful?

    0 comments No comments

  2. Vasil Michev 127K Reputation points MVP Volunteer Moderator
    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?

    Was this answer helpful?

    0 comments No comments

Your answer

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