I am trying to use a user assigned identity (from a Azure container instance) to connect to an Azure sql database.
following this guide: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-sql
it works for System assigned identities, but not for user assigned ones. when trying to create the contained user, using the user assigned identity i get this error
Msg 33134, Level 16, State 1, Line 1
Principal 'user-assigned-identity-name' could not be resolved. Error message: 'AADSTS7000219: 'client_assertion' or 'client_secret' is required for the 'urn:ietf:params:oauth:grant-type:jwt-bearer' grant type
Am i missing something here or have i misunderstood user assigned identities? Can they be used to login in to and query sql server?