You can query your Application Insights workspace using Azure Synapse Data Explorer, which is part of Azure Synapse Analytics. https://learn.microsoft.com/en-us/azure/data-explorer/query-monitor-data
Select Add Cluster then provide the Application Insights URL in this format: https://ade.applicationinsights.io/subscriptions/<subscription-id>/resourcegroups/<resource-group-name>/providers/microsoft.insights/components/<ai-app-name>