Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,263 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to get all the users in AD using PowerShell automation runbook.
The modules are installed in the shared resources.
Still when executing line : 'Connect-AzureAD' throws error of :
I have tried options like :
Hello Rituparna Khatua,
Thanks for your question
It is recommended to use Microsoft Graph. Below is asample script for your reference on how to connect to Azure AD using Microsoft Graph v1 and v2. Ref :
https://gist.github.com/AlexFilipin/daace2f2d7989545e8ab0b969de2aaed
Regards,
Abiola
You can mark it 'Accept Answer' if this helped.