question

AlluriSri-1651 avatar image
0 Votes"
AlluriSri-1651 asked MichaelHan-MSFT commented

Unable to access Sharepoint Calendar RSS Feed using PHP


Hi,

I have O365 SharePoint calendar events that I want to display on a web page. So I enabled RSS Feed for the calendar. I am trying to access the feed using PHP by using the O365 account credentials to authenticate. PHP Code is on a different server.

I am getting HTTP/1.1 401 Unauthorized error. Could any one please help me with this issue?

Thanks,

Sri

office-sharepoint-online
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AlluriSri-1651,

Is there anything update? If my reply helps you, you could accept it as answer.

0 Votes 0 ·

1 Answer

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered

Hi @AlluriSri-1651,

I am not familiar with PHP, you could try to use this API to connect to SharePoint Online: https://github.com/thybag/PHP-SharePoint-Lists-API

Some similar questions for your reference:

https://sharepoint.stackexchange.com/questions/46507/what-is-the-best-way-to-connect-to-sharepoints-api-using-php/204964
https://stackoverflow.com/questions/17545824/how-to-connect-sharepoint-with-php


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.