Add-PowerAppsCustomBrandingAssets

Uploads tenant level custom assets. Note the following:

  • The mobile parameter is required in the request body.
  • The tenantSplashImagePath and tenantWelcomeImagePath parameters should contain the file paths to the image you would like to upload.
  • The tenantSplashImage can't exceed dimensions 384 x 384 and the tenantWelcomeImage can't exceed dimensions 1335 x 1491.
  • The tenantSplashImage file size can't exceed 3 MB and the tenantWelcomeImage can't exceed 5 MB

Syntax

Add-PowerAppsCustomBrandingAssets
   [-RequestBody] <Object>
   [[-ApiVersion] <String>]
   [<CommonParameters>]

Description

The Add-PowerAppsCustomBrandingAssets cmdlet uploads custom assets for a tenant. These assets enable customization of icons and color preferences on opening of the Power Apps mobile app. Use Get-Help Add-PowerAppsCustomBrandingAssets -Examples for more detail.

Examples

EXAMPLE 1

Add-PowerAppsCustomBrandingAssets -AssetInfo @{

"mobile"= "default"; "fillColor"="#CCCCCC"; "actionButtonHighlight"= "#C43E1C"; "hyperlinkColor"= "#FF6709"; "headingTextColor"= "#FFFFFF"; "statusBarContentColorMode"= "Dark"; "tenantSplashImagePath"= "./Resources/image1.png"; "tenantWelcomeImagePath"= "./Resources/image2.png"; "defaultAppIds"= @("2b9a6e99-7722-4cba-bbdd-190748b47a66") }

Parameters

-ApiVersion

The api version to call with. Default 2018-01-01.

Type:String
Position:2
Default value:2021-02-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RequestBody

The JSON object containing the custom asset info parameters. Go to examples for an example of the parameters.

Type:Object
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False