This function returns a list of all Entra ID applications with their assignment information,
identifying whether they are assigned to all users or have specific assignments.
If no assignments exist, it indicates whether the application is available to “all users”.
Give information about assigned users, groups, or service principals and if the group is protected/static/dynamic.
(Optional) Display name of a single service principal to target (exact match, with fallback on trimmed comparison).
Cannot be combined with -ApplicationId or -ObjectID.
(Optional) If specified, retrieves all service principals regardless of type.
By default, only Enterprise Applications (tagged ‘WindowsAzureActiveDirectoryIntegratedApp’) are returned.
(Optional) If specified, only applications with no specific user/group/service principal assignments will be returned.
Note: these apps may still be accessible to all users if AppRoleAssignmentRequired is $false.
(Optional) Forces sequential processing.
By default, on PowerShell 7+ the function analyzes applications in
parallel (ForEach-Object -Parallel) to speed up processing; on PowerShell 5.1 it always runs sequentially.
(Optional) Maximum number of concurrent runspaces when running in parallel.
Default is 5.
Keep this value moderate to avoid Microsoft Graph throttling (HTTP 429).
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.