Hello @Paweł Witecki
Thanks for reaching out on this forum!
The account key in linked services created by Azure Synapse Link is something different and is able to bypass firewall rules. This integration is designed to abstract away the complexity of direct key management, focusing on ease of use and security!!!
Did you try adjusting the firewall rules to allow access from Synapse to CosmosDB?