Reading secured RSS feed from site using WebRequest

My company has an office 365 team site. Within it is a secured SharePoint blog. I want to access the RSS feed for the blog from our ASP.NET (3.5) intranet web site to show it as a news feed on our internal home page. The code below works for unsecured RSS feeds but I'm unable to get it to work with our office 365 Sharepoint blog and I'm using a username and password that has full control of the blog site.  I get the following error: "The remote server returned an error: (403) Forbidden".  I've tried both basic digest for authtype. Any suggestions would be greatly appreciatated. Here is the code:

Dim strURL As String = "url"  
Dim MyRssRequest As WebRequest = WebRequest.Create(strURL)  

Dim mycache As New CredentialCache  
mycache.Add(New Uri(strURL), "Basic", New NetworkCredential("username", "pwd"))  
MyRssRequest.Credentials = mycache  

Dim MyRssResponse As WebResponse = MyRssRequest.GetResponse()
Dim MyRssStream As Stream = MyRssResponse.GetResponseStream()
Dim MyRssDocument As XmlDocument = New XmlDocument()

Dim MyRssList As XmlNodeList = MyRssDocument.SelectNodes("rss/channel/item")
'process the xml etc.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
Can you share the URL for the secure site, please, so that I could try some experiments?
Rainer JeschorCommented:
you would probably need the SharePointOnline credentials class from the SharePoint Online Client SDH to authenticate (and not basic / form based auth). SDK download:

Then create the SPO credential and pass this to your web request.
robwteeAuthor Commented:
We have moved away from trying to solve this problem for now. So I have not investigated using the Sharepoint Online SDK.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
robwteeAuthor Commented:
My organization is not working on this issue right now so I wanted to clean house in here.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.