Documentation Index
Fetch the complete documentation index at: https://ps365.clidsys.com/llms.txt
Use this file to discover all available pages before exploring further.
SYNOPSIS
Get registered application in Microsoft Graph
SYNTAX
All (Default)
Get-MgRegisteredApp [-ProgressAction <ActionPreference>] [<CommonParameters>]
ByAppId
Get-MgRegisteredApp [[-ApplicationID] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
ByObjectId
Get-MgRegisteredApp [-ObjectID <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
ByDisplayName
Get-MgRegisteredApp [-DisplayName <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Retrieves registered applications from Microsoft Graph.
If no ApplicationID, ObjectID, or DisplayName is provided, returns all applications with selected properties.
EXAMPLES
EXAMPLE 1
Get-MgRegisteredApp -ApplicationID "your-application-id"
This command retrieves the registered application with the specified Application ID (AppId).
EXAMPLE 2
Get-MgRegisteredApp -ObjectID "xxx-xxx-xxx"
This command retrieves the registered application with the specified ObjectID.
EXAMPLE 3
Get-MgRegisteredApp -DisplayName "My Application"
This command retrieves the registered application with the specified DisplayName.
EXAMPLE 4
Get-MgRegisteredApp -DisplayName "Azure*"
This command retrieves all registered applications whose DisplayName starts with “Azure”.
EXAMPLE 5
Get-MgRegisteredApp -DisplayName "*Portal*"
This command retrieves all registered applications whose DisplayName contains “Portal”.
EXAMPLE 6
This command retrieves all registered applications.
PARAMETERS
-ApplicationID
The unique identifier (AppId) of the registered application to retrieve.
If not provided, all applications are returned.
Type: String
Parameter Sets: ByAppId
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ObjectID
(Optional) Retrieves the application for a specific application by its ObjectID.
Type: String
Parameter Sets: ByObjectId
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisplayName
(Optional) Retrieves the application for a specific application by its DisplayName.
Supports wildcards (* and ?) for partial name matching (e.g.
“Azure*”, “Portal”).
Type: String
Parameter Sets: ByDisplayName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
OUTPUTS
NOTES
Same as the Microsoft Graph built-in function Get-MgApplication but with a simplified output.
https://ps365.clidsys.com/docs/commands/Get-MgRegisteredApp