-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
Describe the bug
Teams connector has ta bug, pac code add-data-source generates invalid TypeScript with syntax errors
Steps to Reproduce
- Run
pac code add-data-source -a shared_teams -c <connectionId>(Teams connector) - Observe TypeScript compilation errors in MicrosoftTeamsModel.ts
Expected behavior
- Generated TypeScript code should compile without errors
Actual behavior
- Generated code has syntax errors (invalid enum keys like
[object Object]: 'value', nested undefined keys)
Screenshots or Error Messages
Network Payload (actual):
Environment information
- Framework, build tool or relevant package used: React 18.3.1, Vite 7.3.0, TypeScript strict mode
- Any connection/components: Microsoft Teams (shared_teams connector)
- SDK: @microsoft/power-apps (latest from npm)