PowerShell Commands For Azure AD
- Connect-AzureAD (PowerShell cmdlet) which helps you connects Azure Active Directory with an authenticated account.
- Disconnect-AzureAD (PowerShell cmdlet) which lets you disconnect the current logged-in session from an Azure Active Directory.
- Get-AzureADDirectoryRole (PowerShell cmdlet) allows fetching the details of Azure Active Directory roles.
- Get-AzureADUser (PowerShell cmdlet) helps you to fetch the information of users in Azure Active Directory tenant
- Get-AzureADGroup (PowerShell cmdlet) helps you to fetch the information of Azure AD Group in the tenant.
To fetch the information or details of any Azure AD services, you require the Azure AD Administrator role or a custom AD role with the Service Read permission.
How to Install and Connect to Azure AD with PowerShell?
Azure Active Directory (Azure AD) is a service for managing identities and access in the cloud. This solution facilitates access to thousands of additional SaaS applications, the Azure portal, and external resources like Microsoft 365 for your staff members.