Secure a Fabric app with Fabric SSO and data permissions
Intermediate
Developer
Microsoft Fabric
Secure a Fabric app by choosing a sign-in path, implementing Fabric single sign-on, and writing server-enforced data permissions. Verify that restricted data stays restricted when callers bypass your UI.
Learning objectives
After completing this module, you will be able to:
- Choose a sign-in path for a Fabric app: Fabric SSO popup, embedded mode, direct Entra token exchange, or an external parent portal.
- Implement Fabric SSO sign-in and sign-out in a React app and scope allowed redirect origins.
- Write role-based permissions with row-level policies, field-level include and exclude rules, and action-specific rules.
- Determine when anonymous access is appropriate and identify the controls that govern it.
- Verify that denied operations stay denied when a caller bypasses the app UI.
Prerequisites
- Understanding of authentication versus authorization.
- Familiarity with token claims such as subject and email.
- Ability to define data entities with TypeScript decorators in a Fabric Apps project.
- Familiarity with React.
- Access to a Microsoft Fabric tenant where a Fabric administrator enabled Fabric Apps, and a workspace where you have Contributor or Admin permissions on a trial or paid capacity.
- A Fabric Apps project with the data service enabled that runs locally and deploys.
- Node.js 24 installed locally.