ApplicationInsights-JS icon indicating copy to clipboard operation
ApplicationInsights-JS copied to clipboard

[BUG] Authorization header is not supported by AI service

Open cloudsere opened this issue 1 year ago • 1 comments

Description/Screenshot

Request rejected by AI service when I tried to send track request in browser using fetch with Authorization header set. image

Additional context AI service actually accepts Authorization token now: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/api/app-insights-azure-ad-api I think the AI service should add Authorization in Access-Control-Allowed-Headers for be able to send these requests in browser environment.

cloudsere avatar May 19 '23 08:05 cloudsere

Authorization is not supported from a browser. I'll forward the request onto the internal team that manages the service.

MSNev avatar May 19 '23 16:05 MSNev