Azure automation runbook is failing to locate microsoft.identitymodel.clients.activedirectory in activities under Az.Accounts and AzureRM.Profile

Abhilash 20 Reputation points
2023-09-14T10:21:03.1866667+00:00

My Azure automation runbooks were functioning correctly but are now experiencing errors when performing steps that use activities under Az.Accounts and AzureRM.Profile. The issue is that it cannot locate microsoft.identitymodel.clients.activedirectory. I need help troubleshooting this issue.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,237 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,448 questions
{count} votes

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.