Events
31 Mar, 11 pm - 2 Apr, 11 pm
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: ✅ SQL analytics endpoint and Warehouse in Microsoft Fabric
When the default permissions provided by assignment to workspace roles or granted through item permissions are insufficient, standard SQL constructs are available for more granular control.
For SQL analytics endpoint and Warehouse:
CREATE USER
cannot be explicitly executed currently. When GRANT
or DENY
is executed, the user is created automatically. The user will not be able to connect until sufficient workspace level rights are given.When a user connects to the SQL connection string, they can view the permissions available to them using the sys.fn_my_permissions function.
User's database scoped permissions:
SELECT *
FROM sys.fn_my_permissions(NULL, 'Database');
User's schema scoped permissions:
SELECT *
FROM sys.fn_my_permissions('<schema-name>', 'Schema');
User's object-scoped permissions:
SELECT *
FROM sys.fn_my_permissions('<schema-name>.<object-name>', 'Object');
When connected via the SQL connection string, a user with elevated permissions can query granted permissions by using system views. This doesn't show the users or user permissions that are given to users by being assigned to workspace roles or assigned item permissions.
SELECT DISTINCT pr.principal_id, pr.name, pr.type_desc,
pr.authentication_type_desc, pe.state_desc, pe.permission_name
FROM sys.database_principals AS pr
INNER JOIN sys.database_permissions AS pe
ON pe.grantee_principal_id = pr.principal_id;
You can secure column filters and predicate-based row filters on tables in Warehouse or SQL analytics endpoint to roles and users in Microsoft Fabric. You can also mask sensitive data from non-admins using dynamic data masking.
Events
31 Mar, 11 pm - 2 Apr, 11 pm
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Module
Secure data access in Microsoft Fabric - Training
Learn the key concepts and strategies for securing data access in Microsoft Fabric.
Certification
Microsoft Certified: Fabric Data Engineer Associate - Certifications
As a Fabric Data Engineer, you should have subject matter expertise with data loading patterns, data architectures, and orchestration processes.