Loading...
Loading...
Scaffold a complete Power Apps Code App project with PAC CLI setup, SDK integration, and connector configuration
npx skill4agent add github/awesome-copilot power-apps-code-app-scaffoldsrc/
├── components/ # Reusable UI components
├── services/ # Generated connector services (created by PAC CLI)
├── models/ # Generated TypeScript models (created by PAC CLI)
├── hooks/ # Custom React hooks for Power Platform integration
├── utils/ # Utility functions
├── types/ # TypeScript type definitions
├── PowerProvider.tsx # Power Platform initialization component
└── main.tsx # Application entry pointdevbuildpreviewlintpac auth create --environment {environment-id}pac env select --environment {environment-url}pac code init --displayName "App Name"pac connection listpac code add-data-source -a {api-name} -c {connection-id}pac code push// Example: Get current user profile
const profile = await Office365UsersService.MyProfile_V2("id,displayName,jobTitle,userPrincipalName");
// Example: Get user photo
const photoData = await Office365UsersService.UserPhoto_V2(profile.data.id);verbatimModuleSyntax: falsebase: "./"pac code push