Get-AzureADApplicationLogo

Retrieve the logo of an application

Syntax

Get-AzureADApplicationLogo
   -ObjectId <String>
   [-FilePath <String>]
   [-FileName <String>]
   [-View <Boolean>]
   [<CommonParameters>]

Description

This cmdlet retrieves the logo that is set for an application.

Examples

Example 1

PS C:\WINDOWS\system32> Get-AzureADApplicationLogo -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb


Tag                  :
PhysicalDimension    : {Width=279, Height=390}
Size                 : {Width=279, Height=390}
Width                : 279
Height               : 390
HorizontalResolution : 96
VerticalResolution   : 96
Flags                : 77840
RawFormat            : [ImageFormat: b96b3cae-0728-11d3-9d7b-0000f81ef32e]
PixelFormat          : Format24bppRgb
Palette              : System.Drawing.Imaging.ColorPalette
FrameDimensionsList  : {7462dc86-6180-4c7e-8e3f-ee7333a7a483}
PropertyIdList       : {274, 305, 306, 36867...}
PropertyItems        : {274, 305, 306, 36867...}

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

Parameters

-FileName

If provided, the application logo is copied to the file who's name is provided in this parameter

Type: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:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ObjectId

The ObjectID of the application for which the logo is to be retrieved

Type:String
Position:Named
Default value:None
Required:True
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:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

System.Boolean

Outputs

Object

Notes

See the migration guide for Get-AzureADApplicationLogo to the Microsoft Graph PowerShell.