Hi ,
Thanks for reaching out to Microsoft Q&A.
In synapse serverless SQL, Azure RBAC roles (like synapse administrator/owner) do not automatically grant db level access to the built in SQL pool. Access must be explicitly granted inside the SQL pool itself using AAD authentication.
To fix this, try the below:
- Log in to the builtin SQL pool using an account that already has access (for ex, the workspace creator).
- Run these commands in the built-in pool:
CREATE LOGIN [@domain.com] FROM EXTERNAL PROVIDER; CREATE USER [@domain.com] FROM LOGIN [@domain.com]; EXEC sp_addrolemember 'db_owner', [@domain.com];
- If the user still gets the
<token-identified principal>error, ensure they connect via AAD (Integrated) authentication from synapse studio/azure data studio SQL auth is not supported for serverless.
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.