Skip to content

"Add to Teams" for a code app produces an invalid Teams app package (manifest missing icons.outline) #409

Description

@SunnyWWT

Describe the bug

Adding a deployed code app to Microsoft Teams fails while Teams processes the generated app package:

Failed to process application package: Required property 'outline' not found in JSON. Path 'icons'.

The Teams manifest schema requires both icons.color and icons.outline, so the package generated for code apps appears to omit the outline icon entirely.

To reproduce

  1. Scaffold a code app from the vite template, pac code init with a custom 192x192 PNG logo (logoPath set in power.config.json), add Dataverse data sources, pac code push.
  2. Confirm the app runs and shows its custom icon in make.powerapps.com.
  3. Use the "Add to Teams" flow for the app.
  4. Teams rejects the package with the error above.

Expected behavior

The generated Teams package contains a valid manifest with both icons.color and icons.outline, and the app installs as a tab.

Notes

  • Happens even though the app has a custom logo configured and deployed (so it is not just a missing-logo edge case, though the default logoPath: "Default" path may hit it too).
  • Workaround that works: hand-author a Teams app package (manifest 1.16, color+outline icons, personal staticTab whose contentUrl is the app's play URL with &source=teamstab) and upload it as a custom app.

Environment

  • pac CLI 2.9.3; @microsoft/power-apps 1.2.5; vite template
  • Commercial cloud, prod region; app backed by Dataverse
  • Observed 2026-07-24

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