Skip to content

Set-AzureADApplicationLogo not working #20

@gabbsmo

Description

@gabbsmo

I am using the following command to set the logo of a app registration: Set-AzureADApplicationLogo -ObjectId $app.ObjectId -FilePath ".\logo.png"

The output is the following error:

Set-AzureADApplicationLogo : Invalid image file
At line:1 char:1
+ Set-AzureADApplicationLogo -ObjectId $app.ObjectId -FilePath ".\metas ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-AzureADApplicationLogo], IOException
    + FullyQualifiedErrorId : System.IO.IOException,Microsoft.Open.AzureAD16.Graph.PowerShell.Custom.Cmdlet.SetApplica
   tionMainLogoCustom

At first I thought the image was too large so I changed it to a 215x215 png as per the guidelines but that did not help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions