Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Comments on Convert Synapse SQL Server hex `sid` to Azure Entra group object ID.
Post
Convert Synapse SQL Server hex `sid` to Azure Entra group object ID.
Suppose I have an Azure Synapse Serverless SQL database.
I can run the following to get the sid
of added groups:
select name, type_desc, authentication_type_desc, sid
from sys.database_principals
where type_desc = 'EXTERNAL_GROUP'
However, the sid
is a long hex string, something like 0xABC123456789ABCDEF
.
Is it possible to convert the hex sid
to an Azure Entra group object ID?
I'm trying to confirm that the permission record in Synapse SQL Server is referring to the correct Azure Entra group, to rule out the possibility that it's referring to a group with the correct name, but the wrong ID.
1 comment thread