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
- 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.
- Confirm the app runs and shows its custom icon in make.powerapps.com.
- Use the "Add to Teams" flow for the app.
- 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
Describe the bug
Adding a deployed code app to Microsoft Teams fails while Teams processes the generated app package:
The Teams manifest schema requires both
icons.colorandicons.outline, so the package generated for code apps appears to omit the outline icon entirely.To reproduce
pac code initwith a custom 192x192 PNG logo (logoPathset in power.config.json), add Dataverse data sources,pac code push.Expected behavior
The generated Teams package contains a valid manifest with both
icons.colorandicons.outline, and the app installs as a tab.Notes
logoPath: "Default"path may hit it too).&source=teamstab) and upload it as a custom app.Environment