How to use Get-AzureADGroupAppRoleAssignment in Azure Active Directory

Application roles in Azure Active Directory (Azure AD) allows administrators to club permissions of an application into a single collective and assign it to resources. This allows them to decide who has control over certain data and functions of the application. Application roles can be assigned to Azure AD groups for granting permissions over an application to multiple members conveniently. The cmdlet Get-AzureADGroupAppRoleAssignment allows us to retrieve a list of the application roles assigned to an Azure AD group.

Azure PowerShell syntax

 Copied
Get-AzureADGroupAppRoleAssignment
-ObjectId <String>
[-All <Boolean>]
[-Top <Int32>]
[<CommonParameters>]
Click to copy entire script

Example:

The following is an example script for retrieving a list of the application roles assigned to an Azure AD group.

 Copied
Get-AzureADGroupAppRoleAssignment -ObjectId "<GroupID>"
Click to copy entire script

where <GroupID> denotes the ObjectID of the group for which the application roles are to be retrieved.

About ManageEngine ADManager Plus

ManageEngine ADManager Plus is a unified Active Directory (AD), Microsoft 365, Exchange, and Google Workspace management and reporting solution. With ADManager Plus, you can use the following features to improve your organizational workflow:

  • 360 degree user provisioning for Azure AD and other directory services like Active Directory and Google Workspace.
  • Pre-packaged reports with built-in management actions for increased productivity of administrators.
  • Automate routine tasks like stale group cleanup, bulk user provisioning, and more.
  • Reset passwords, unlock user accounts, and create custom reports in bulk swiftly without PowerShell scripts.
  • Approval-based workflow for Azure AD management.

Simplify Azure AD management and reporting with ADManager Plus

  Get 30-day free trial.
  • Embark on your script-free AD management, reporting, and automation journey with ADManager Plus.
  •  
  • By clicking 'Start your free trial now', you agree to processing of personal data according to the Privacy Policy.
  • Thanks
  • Your download should begin automatically in 15 seconds. If not, click here to download manually.

Related Powershell How-to Guides:

The one-stop solution toActive Directory Management and Reporting

Email Download Link