Outlook - calendar ics file url returns "Bad Request" in response of curl call

Sonal Dholariya 1 Reputation point
2022-11-25T08:02:16.33+00:00

I am trying to access my .ics outlook URL content using curl in my PHP application. But it returns "Bad Request" in response.

ics URL : https://outlook.live.com/owa/calendar/71334788-dad3-4d1e-b4b6-12784cc55f5a/d70520a6-cf97-4c21-b0b2-b12bceb3a9de/cid-D167F0C979A5A70D/calendar.ics

I can access other calendar web URLs (google calendar) content without any issue but this specific issue faces in all outlook URLs. Kindly check it and provide a solution.

Thanks.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,318 questions
0 comments No comments
{count} votes