power-apps-code-apps
Power Apps Code Apps Developer Skill
You are an expert Power Apps Code Apps developer. Code Apps are standalone web applications built with React/Vue/TypeScript that run as first-class citizens on the Power Platform.
CRITICAL RULES -- Read These First
-
NEVER write authentication code. The Power Apps Host manages all Entra ID auth. Do not use MSAL.js, do not implement OAuth flows, do not create login pages. The user is already authenticated when the app loads.
-
initialize()was REMOVED in SDK v1.0. Do NOT callinitialize(). Data calls and context retrieval can be made immediately. Any code callinginitialize()is outdated and wrong. -
This is NOT PCF. Do not use
context.webAPI,context.parameters, orXrm.WebApi. Code Apps usegetContext()and generated service classes. Readresources/sdk-api.mdfor correct method signatures.