Set-EntraApplicationLogo
Sets the logo for an Application
Syntax
File (Default)
Set-EntraApplicationLogo
-ApplicationId <String>
-FilePath <String>
[<CommonParameters>]
Stream
Set-EntraApplicationLogo
-ApplicationId <String>
[<CommonParameters>]
ByteArray
Set-EntraApplicationLogo
-ApplicationId <String>
[<CommonParameters>]
Description
The Set-EntraApplicationLogo
cmdlet is used to set the logo for an application.
Examples
Example 1: Sets the application logo for the application specified by the ApplicationId parameter
Connect-Entra -Scopes 'Application.ReadWrite.All'
$application = Get-EntraApplication -Filter "DisplayName eq 'Contoso Helpdesk Application'"
Set-EntraApplicationLogo -ApplicationId $application.Id -FilePath 'D:\applogo.jpg'
This cmdlet sets the application logo for the application specified by the -ApplicationId
parameter to the image specified with the -FilePath
parameter.
Parameters
-ApplicationId
The ApplicationId of the Application for which the logo is set.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | ObjectId |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-FilePath
The file path of the file that is to be uploaded as the application logo.
Type: System.String
Parameter Sets: File
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-ApplicationId
The ApplicationId of the Application for which the logo is set.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
File
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
System.String
System.IO.Stream System.Byte[]
Outputs
System.Object
Notes
File uploads must be smaller than 500KB.