ExchangeOnlineManagement authentication broken in Azure Automation Runbook

Steve Johnson 11 Reputation points
2023-02-11T12:03:47.8666667+00:00

Since the morning of Thursday 9 Feb 2023, I've not been able to successfully authenticate with ExchangeOnlineManagement via an Azure Automation runbook using either a credential flow or Managed Identity. I can replicate this issue across three different tenants on three different subscriptions. It was working fine up until Thursday, now I get the following error:

PowerShell v5.1 / ExchangeOnlineManagement v3.1.0 using Managed Identitypwsh_exo_v5_error

PowerShell v7.1 / ExchangeOnlineManagement v3.1.0 using Managed Identitypwsh_exo_v7_error

PowerShell v7.1 / ExchangeOnlineManagement v3.1.0 using Credential flow

pwsh_exo_v7_error_cf

Microsoft Exchange Online
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,255 questions
{count} vote

6 answers

Sort by: Most helpful
  1. Magnus Jakobsen 6 Reputation points
    2024-07-04T13:59:47.12+00:00

    I'm experiencing the same issues as @Alexandros Kanakaris posted above here. That was almost a year ago.

    @AnuragSingh-MSFT Is anything being done to fix this?

    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.