Edit

Share via


Set-AzureADApplicationLogo

Sets the logo for an Application

Syntax

File (Default)

Set-AzureADApplicationLogo
    -FilePath <String>
    [-ObjectId <String>]
    [<CommonParameters>]

Stream

Set-AzureADApplicationLogo
    -FileStream <Stream>
    [-ObjectId <String>]
    [<CommonParameters>]

ByteArray

Set-AzureADApplicationLogo
    -ImageByteArray <Byte[]>
    [-ObjectId <String>]
    [<CommonParameters>]

Description

This cmdlet is used to set the logo for an application

Examples

Example 1

PS C:\WINDOWS\system32> Set-AzureADApplicationLogo -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -FilePath D:\applogo.jpg

This cmdlet sets the application logo for the application specified by the the ObjectID parameter to the image specified with the FIlepath parameter

Parameters

-FilePath

The file path of the file that is to be uploaded as the application logo

Parameter properties

Type: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

-FileStream

A fileStream that is to be used as the application logo

Parameter properties

Type:Stream
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Stream
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-ImageByteArray

And ImageByteArray that is to be used as the application logo

Parameter properties

Type:

Byte[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByteArray
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-ObjectId

The ObjectID of the Application for which the logo is set

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
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

String

System.IO.Stream System.Byte[]

Outputs

Object