Get-EntraApplicationLogo

Retrieve the logo of an application.

Syntax

Get-EntraApplicationLogo
   -ApplicationId <String>
   [-FileName <String>]
   [-View <Boolean>]
   [-FilePath <String>]
   [<CommonParameters>]

Description

The Get-EntraApplicationLogo cmdlet retrieves the logo that is set for an application. Specify the ApplicationId parameter to get a specific application logo for an application.

Examples

Example 1: Get an application logo for an application by ID

Connect-Entra -Scopes 'Application.Read.All'
$application = Get-EntraApplication -Filter "DisplayName eq 'Helpdesk Application'"
Get-EntraApplicationLogo -ApplicationId $application.Id -FilePath 'D:\outfile1.jpg'

This example shows how to retrieve the application logo for an application that is specified through the Object ID parameter.

Parameters

-ApplicationId

The ApplicationId of the application for which the logo is to be retrieved.

Type:System.String
Aliases:ObjectId
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-FileName

If provided, the application logo is saved to the file using the specified file name.

Type:System.String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-FilePath

If provided, the application logo is copied with a random filename to the file path that is specified in this parameter.

Type:System.String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-View

If set to $true, the application's logo is displayed in a new window on the screen.

Type:System.Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String

System.Boolean

Outputs

System.Object